-
Notifications
You must be signed in to change notification settings - Fork 3k
mem_trace tests refactoring #5673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@jamesbeyond please review |
check_malloc_op(pmem ++, p_calloc, nmemb * size); | ||
check_calloc_op(pmem ++, p_calloc, nmemb, size); | ||
check_free_op(pmem ++, p_realloc); | ||
check_sanity(num_op); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the last version, the argument to check_sanity() was 6, now changed to 5, is this something expected?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was 6 because calloc
was traced twice as calloc + malloc
I was even worse when heap stats was enabled but this is fixed by #5614
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
/morph build |
Build : SUCCESSBuild number : 730 Triggering tests/morph test |
Exporter Build : FAILUREBuild number : 382 |
Test : FAILUREBuild number : 558 |
Failing on:
@0xc0170 this test require #5614 to be merged first |
38c428e
to
cc580d7
Compare
/morph build |
@bulislaw are you happy with these changes? If so , please approve |
Build : SUCCESSBuild number : 768 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 423 |
Test : SUCCESSBuild number : 608 |
Description
Status
HOLD
Migrations
NO
Related PRs
Requires following PR :
#5614