Skip to content

Commit

Permalink
turns test on without output files
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Park authored and Mike Park committed Oct 1, 2022
1 parent 2ad9f94 commit f934bf8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/ref_oct_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,17 +266,18 @@ int main(int argc, char *argv[]) {
}

RXS(ref_args_find(argc, argv, "--2-1", &pos), REF_NOT_FOUND, "arg search");
if (REF_EMPTY != pos) { /* spot export ref_grid */
{ /* spot export ref_grid */
REF_GRID ref_grid;
REF_OCT ref_oct;
RSS(ref_grid_create(&ref_grid, ref_mpi), "make grid");
RSS(ref_oct_create(&ref_oct), "make oct");
RSS(ref_oct_split(ref_oct, 0), "split root");
RSS(ref_oct_split(ref_oct, 1), "split first");
ref_oct_tec(ref_oct, "test-oct.tec");
if (REF_EMPTY != pos) ref_oct_tec(ref_oct, "test-oct.tec");
RSS(ref_oct_export(ref_oct, ref_grid), "export");
ref_export_by_extension(ref_grid, "test-mesh.tec");
ref_export_by_extension(ref_grid, "test-mesh.lb8.ugrid");
if (REF_EMPTY != pos) ref_export_by_extension(ref_grid, "test-mesh.tec");
if (REF_EMPTY != pos)
ref_export_by_extension(ref_grid, "test-mesh.lb8.ugrid");
RSS(ref_oct_free(ref_oct), "free oct");
RSS(ref_grid_free(ref_grid), "free grid");
}
Expand Down

0 comments on commit f934bf8

Please sign in to comment.