Skip to content

Commit

Permalink
ctime_tests: improve output when CHECKMEM_RUNNING is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasnick committed Jan 18, 2023
1 parent a01a7d8 commit 8f51229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ctime_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ int main(void) {
int ret, i;

if (!SECP256K1_CHECKMEM_RUNNING()) {
fprintf(stderr, "Unless compiled under msan, this test can only usefully be run inside valgrind.\n");
fprintf(stderr, "This test can only usefully be run inside valgrind because it was not compiled under msan.\n");
fprintf(stderr, "Usage: libtool --mode=execute valgrind ./ctime_tests\n");
return 1;
}
Expand Down

0 comments on commit 8f51229

Please sign in to comment.