diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2024-03-10 19:42:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-10 19:42:16 (GMT) |
commit | f0ba8baa0d21197df828f3054840755a45105ac0 (patch) | |
tree | 2e9e98644e95f2be61208a3fb72171a10ad7dabf /test/hyperslab.c | |
parent | ef401a5f5edf2fc689334a485a6c2ec3f53ecb85 (diff) | |
download | hdf5-f0ba8baa0d21197df828f3054840755a45105ac0.zip hdf5-f0ba8baa0d21197df828f3054840755a45105ac0.tar.gz hdf5-f0ba8baa0d21197df828f3054840755a45105ac0.tar.bz2 |
Minimize use of abort() (#4110)
The abort() call is used at several places where it probably shouldn't.
Diffstat (limited to 'test/hyperslab.c')
-rw-r--r-- | test/hyperslab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hyperslab.c b/test/hyperslab.c index 2777e04..03b0e9a 100644 --- a/test/hyperslab.c +++ b/test/hyperslab.c @@ -343,7 +343,7 @@ test_copy(int mode, size_t nx, size_t ny, size_t nz, size_t di, size_t dj, size_ break; default: - HDabort(); + FAIL_PUTS_ERROR("Unhandled case"); } /* end switch */ snprintf(s, sizeof(s), "Testing hyperslab copy %-11s %s", dim, sub); @@ -406,7 +406,7 @@ test_copy(int mode, size_t nx, size_t ny, size_t nz, size_t di, size_t dj, size_ break; default: - HDabort(); + FAIL_PUTS_ERROR("Unhandled case"); } /* end switch */ /* |