diff options
author | David Young <dyoung@hdfgroup.org> | 2020-03-05 17:05:29 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-03-05 17:05:29 (GMT) |
commit | 7350db497be1c67102ffe5ac30e621720919dc38 (patch) | |
tree | af557c7cc2b6100730d41b22755019d99fffa436 /testpar | |
parent | 7413557dd58656dbfdc0661dace708275a58785f (diff) | |
parent | b53eb6fb29e556c482ce20fa7a21485c99beea74 (diff) | |
download | hdf5-7350db497be1c67102ffe5ac30e621720919dc38.zip hdf5-7350db497be1c67102ffe5ac30e621720919dc38.tar.gz hdf5-7350db497be1c67102ffe5ac30e621720919dc38.tar.bz2 |
Merge pull request #2424 in HDFFV/hdf5 from ~DYOUNG/hdf5:passed-do-while to develop
* commit 'b53eb6fb29e556c482ce20fa7a21485c99beea74':
Add semicolons to more PASSED() invocations.
So that I can use PASSED(); anywhere a statement can go, #define PASSED() with a do-while wrapper.
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_init_term.c | 2 | ||||
-rw-r--r-- | testpar/t_pflush2.c | 4 | ||||
-rw-r--r-- | testpar/t_prestart.c | 2 | ||||
-rw-r--r-- | testpar/t_pshutdown.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/testpar/t_init_term.c b/testpar/t_init_term.c index 933fbd2..6176bb5 100644 --- a/testpar/t_init_term.c +++ b/testpar/t_init_term.c @@ -65,7 +65,7 @@ main (int argc, char **argv) if(MAINPROCESS) { if(0 == nerrors) - PASSED() + PASSED(); else H5_FAILED() } diff --git a/testpar/t_pflush2.c b/testpar/t_pflush2.c index f58e5a5..f4589c8 100644 --- a/testpar/t_pflush2.c +++ b/testpar/t_pflush2.c @@ -189,7 +189,7 @@ main(int argc, char *argv[]) goto error; } else if(mpi_rank == 0) { - PASSED() + PASSED(); } /* Check the case where the file was not flushed. This should give an error @@ -203,7 +203,7 @@ main(int argc, char *argv[]) h5_fixname(FILENAME[1], fapl_id2, name, sizeof(name)); if(check_test_file(name, fapl_id2)) { if(mpi_rank == 0) - PASSED() + PASSED(); } else { H5_FAILED() diff --git a/testpar/t_prestart.c b/testpar/t_prestart.c index cf974e8..71a8277 100644 --- a/testpar/t_prestart.c +++ b/testpar/t_prestart.c @@ -128,7 +128,7 @@ main (int argc, char **argv) if(MAINPROCESS) { if(0 == nerrors) - PASSED() + PASSED(); else H5_FAILED() } diff --git a/testpar/t_pshutdown.c b/testpar/t_pshutdown.c index ddbae9e..55073c8 100644 --- a/testpar/t_pshutdown.c +++ b/testpar/t_pshutdown.c @@ -116,7 +116,7 @@ main (int argc, char **argv) if(MAINPROCESS) { if(0 == nerrors) - PASSED() + PASSED(); else H5_FAILED() } |