diff options
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() */ |