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/links_env.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/links_env.c')
-rw-r--r-- | test/links_env.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/links_env.c b/test/links_env.c index b3fec38..b9ecafa 100644 --- a/test/links_env.c +++ b/test/links_env.c @@ -173,11 +173,11 @@ main(void) /* Results */ if(nerrors) { - printf("***** %d External Link (HDF5_EXT_PREFIX) test%s FAILED! *****\n", + HDprintf("***** %d External Link (HDF5_EXT_PREFIX) test%s FAILED! *****\n", nerrors, 1 == nerrors ? "" : "s"); - exit(1); + HDexit(1); } - printf("All external Link (HDF5_EXT_PREFIX) tests passed.\n"); + HDprintf("All external Link (HDF5_EXT_PREFIX) tests passed.\n"); /* clean up tmp directory created by external link tests */ HDrmdir(TMPDIR); @@ -185,6 +185,6 @@ main(void) return 0; error: - puts("*** TESTS FAILED ***"); + HDputs("*** TESTS FAILED ***"); return 1; } |