diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-07-27 16:56:42 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-07-27 16:56:42 (GMT) |
commit | faea627254f89a8d2209ddf04870ed4b9def47f8 (patch) | |
tree | 01f3a3f898067c3264b7ba780aa9bc43ccb728d5 /test/lheap.c | |
parent | 4af66b09e03af4e9b0b6a1293dfe746f48106aba (diff) | |
download | hdf5-faea627254f89a8d2209ddf04870ed4b9def47f8.zip hdf5-faea627254f89a8d2209ddf04870ed4b9def47f8.tar.gz hdf5-faea627254f89a8d2209ddf04870ed4b9def47f8.tar.bz2 |
[svn-r30224] Added HDprintf() macro that uses HDfprintf w/ stdout.
Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
Autotools serial
Diffstat (limited to 'test/lheap.c')
-rw-r--r-- | test/lheap.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/lheap.c b/test/lheap.c index 2f3359f..61323a9 100644 --- a/test/lheap.c +++ b/test/lheap.c @@ -158,9 +158,9 @@ main(void) if (strcmp(s, buf)) { H5_FAILED(); - printf(" i=%d, heap offset=%lu\n", i, (unsigned long)(obj[i])); - printf(" got: \"%s\"\n", s); - printf(" ans: \"%s\"\n", buf); + HDprintf(" i=%d, heap offset=%lu\n", i, (unsigned long)(obj[i])); + HDprintf(" got: \"%s\"\n", s); + HDprintf(" ans: \"%s\"\n", buf); goto error; } @@ -191,7 +191,7 @@ main(void) } else { H5_FAILED(); - printf("***cannot open the pre-created non-default sizes test file (%s)\n", + HDprintf("***cannot open the pre-created non-default sizes test file (%s)\n", testfile); goto error; } /* end else */ @@ -201,13 +201,13 @@ main(void) /* Verify symbol table messages are cached */ if(h5_verify_cached_stabs(FILENAME, fapl) < 0) TEST_ERROR - puts("All local heap tests passed."); + HDputs("All local heap tests passed."); h5_cleanup(FILENAME, fapl); return 0; error: - puts("*** TESTS FAILED ***"); + HDputs("*** TESTS FAILED ***"); H5E_BEGIN_TRY { H5Fclose(file); } H5E_END_TRY; |