Skip to content

Commit

Permalink
turned on test_async_manyproc
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed May 4, 2019
1 parent f7cafe7 commit 29ff099
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion tests/cunit/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ do
fi
done

PIO_TESTS_8='test_async_multi2'
PIO_TESTS_8='test_async_multi2 test_async_manyproc'

for TEST in $PIO_TESTS_8
do
Expand Down
28 changes: 14 additions & 14 deletions tests/cunit/test_async_manyproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,20 +78,20 @@ int main(int argc, char **argv)
{
for (int i = 0; i < num_iotypes; i++)
{
/* char filename[NC_MAX_NAME + 1]; /\* Test filename. *\/ */
/* /\* Ranks 0, 1, 2 are IO. 3, 4 are the first */
/* * computation component. 5, 6 are the second. *\/ */
/* int my_comp_idx = my_rank < NUM_IO_PROCS + NUM_COMP_PROCS ? 0 : 1; /\* Index in iosysid array. *\/ */

/* /\* Create sample file. *\/ */
/* if ((ret = create_nc_sample_3(iosysid[my_comp_idx], iotype[i], my_rank, my_comp_idx, */
/* filename, TEST_NAME, 0, 0, 0))) */
/* ERR(ret); */

/* /\* Check the file for correctness. *\/ */
/* if ((ret = check_nc_sample_3(iosysid[my_comp_idx], iotype[i], my_rank, my_comp_idx, */
/* filename, 0, 0, 0))) */
/* ERR(ret); */
char filename[NC_MAX_NAME + 1]; /* Test filename. */
/* Ranks 0, 1, 2 are IO. 3, 4 are the first
* computation component. 5, 6 are the second. */
int my_comp_idx = my_rank < NUM_IO_PROCS + NUM_COMP_PROCS ? 0 : 1; /* Index in iosysid array. */

/* Create sample file. */
if ((ret = create_nc_sample_3(iosysid[my_comp_idx], iotype[i], my_rank, my_comp_idx,
filename, TEST_NAME, 0, 0, 0)))
ERR(ret);

/* Check the file for correctness. */
if ((ret = check_nc_sample_3(iosysid[my_comp_idx], iotype[i], my_rank, my_comp_idx,
filename, 0, 0, 0)))
ERR(ret);
} /* next netcdf iotype */

/* Finalize the IO system. Only call this from the computation tasks. */
Expand Down

0 comments on commit 29ff099

Please sign in to comment.