diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-29 15:18:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 15:18:01 (GMT) |
commit | 9f430d15b004495d17826840ef1a4f281215c7f9 (patch) | |
tree | eddd0bd281a80adb336403582bd236c6a24b0dc6 /test/API | |
parent | a5f1fb01b9ef867cf94158cdb42ffb1d46bae916 (diff) | |
download | hdf5-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/API')
-rw-r--r-- | test/API/H5_api_test.c | 2 | ||||
-rw-r--r-- | test/API/testhdf5.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/API/H5_api_test.c b/test/API/H5_api_test.c index 92237f5..6c91721 100644 --- a/test/API/H5_api_test.c +++ b/test/API/H5_api_test.c @@ -309,5 +309,5 @@ done: MPI_Finalize(); #endif - HDexit(((err_occurred || n_tests_failed_g > 0) ? EXIT_FAILURE : EXIT_SUCCESS)); + exit(((err_occurred || n_tests_failed_g > 0) ? EXIT_FAILURE : EXIT_SUCCESS)); } diff --git a/test/API/testhdf5.c b/test/API/testhdf5.c index e863e38..fcbf642 100644 --- a/test/API/testhdf5.c +++ b/test/API/testhdf5.c @@ -722,10 +722,10 @@ main(int argc, char *argv[]) /* No need to print anything since PerformTests() already does. */ if (nerrors /* GetTestNumErrs() */ > 0) { printf("** HDF5 tests failed with %d errors **\n", nerrors); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } else { printf("** HDF5 tests ran successfully **\n"); - HDexit(EXIT_SUCCESS); + exit(EXIT_SUCCESS); } } /* end main() */ |