summaryrefslogtreecommitdiffstats
path: root/test/dt_arith.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-29 15:18:01 (GMT)
committerGitHub <noreply@github.com>2023-06-29 15:18:01 (GMT)
commit9f430d15b004495d17826840ef1a4f281215c7f9 (patch)
treeeddd0bd281a80adb336403582bd236c6a24b0dc6 /test/dt_arith.c
parenta5f1fb01b9ef867cf94158cdb42ffb1d46bae916 (diff)
downloadhdf5-9f430d15b004495d17826840ef1a4f281215c7f9.zip
hdf5-9f430d15b004495d17826840ef1a4f281215c7f9.tar.gz
hdf5-9f430d15b004495d17826840ef1a4f281215c7f9.tar.bz2
Rename HDexit() and related to exit(), etc. (#3202)
* HDatexit * HDexit * HD_exit
Diffstat (limited to 'test/dt_arith.c')
-rw-r--r--test/dt_arith.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c
index 4061fee..9da4118 100644
--- a/test/dt_arith.c
+++ b/test/dt_arith.c
@@ -414,7 +414,7 @@ fpe_handler(int H5_ATTR_UNUSED signo)
HDputs(" Remaining tests could not be run.");
HDputs(" Please turn off SIGFPE on overflows and try again.");
#endif
- HDexit(255);
+ exit(255);
}
/*-------------------------------------------------------------------------
@@ -3305,9 +3305,9 @@ done:
HDfflush(stdout);
#ifdef HANDLE_SIGFPE
if (run_test == TEST_NOOP || run_test == TEST_NORMAL)
- HDexit(MIN((int)fails_all_tests, 254));
+ exit(MIN((int)fails_all_tests, 254));
else if (run_test == TEST_DENORM || run_test == TEST_SPECIAL)
- HDexit(EXIT_SUCCESS);
+ exit(EXIT_SUCCESS);
assert(0 && "Should not reach this point!");
return 1;
#else
@@ -3334,9 +3334,9 @@ error:
HDfflush(stdout);
#ifdef HANDLE_SIGFPE
if (run_test == TEST_NOOP || run_test == TEST_NORMAL)
- HDexit(MIN(MAX((int)fails_all_tests, 1), 254));
+ exit(MIN(MAX((int)fails_all_tests, 1), 254));
else if (run_test == TEST_DENORM || run_test == TEST_SPECIAL)
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
assert(0 && "Should not reach this point!");
return 1;
#else
@@ -5230,7 +5230,7 @@ main(void)
if (nerrors) {
printf("***** %lu FAILURE%s! *****\n", nerrors, 1 == nerrors ? "" : "S");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
}
printf("All data type tests passed.\n");
return 0;