Skip to content

Commit

Permalink
test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Aug 2, 2019
1 parent 1a11dbf commit 8a91d30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions tests/cunit/test_darray.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ int test_darray(int iosysid, int ioid, int num_flavors, int *flavor, int my_rank

/* Use PIO to create the example file in each of the four
* available ways. */
/* for (int fmt = 0; fmt < num_flavors; fmt++) */
for (int fmt = 3; fmt < 4; fmt++)
for (int fmt = 0; fmt < num_flavors; fmt++)
{

/* Add a couple of extra tests for the
Expand Down Expand Up @@ -385,7 +384,7 @@ int main(int argc, char **argv)

/* Initialize test. */
if ((ret = pio_test_init2(argc, argv, &my_rank, &ntasks, MIN_NTASKS,
MIN_NTASKS, 3, &test_comm)))
MIN_NTASKS, -1, &test_comm)))
ERR(ERR_INIT);

if ((ret = PIOc_set_iosystem_error_handling(PIO_DEFAULT, PIO_RETURN_ERROR, NULL)))
Expand Down
2 changes: 1 addition & 1 deletion tests/cunit/test_iosystem2_simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ int main(int argc, char **argv)

/* Initialize test. */
if ((ret = pio_test_init2(argc, argv, &my_rank, &ntasks, TARGET_NTASKS, TARGET_NTASKS,
3, &test_comm)))
-1, &test_comm)))
ERR(ERR_INIT);

/* Test code runs on TARGET_NTASKS tasks. The left over tasks do
Expand Down

0 comments on commit 8a91d30

Please sign in to comment.