ctime_tests: improve output when CHECKMEM_RUNNING is not defined

This commit is contained in:
Jonas Nick 2023-01-18 09:02:47 +00:00
parent a01a7d86dc
commit 8f51229e03
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

View File

@ -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;
}