Skip to content

Commit

Permalink
fix conditionals in test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rem1776 authored and rem1776 committed May 1, 2024
1 parent b2e622f commit 2459854
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test_fms/field_manager/test_field_manager2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ cat <<_EOF > input.nml
/
_EOF

if [ ! -z $parser_skip ]; then
if [ ! $parser_skip ]; then
test_expect_failure "field table read with use_field_table.yaml = .true. but not compiling with yaml" 'mpirun -n 1 ./test_field_table_read'
else
test_expect_success "field table read with use_field_table.yaml = .true." 'mpirun -n 1 ./test_field_table_read'
Expand Down
2 changes: 1 addition & 1 deletion test_fms/tracer_manager/test_tracer_manager2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ _EOF
test_expect_success "tracer_manager r4 with the legacy field table" 'mpirun -n 2 ./test_tracer_manager_r4'
test_expect_success "tracer_manager r8 with the legacy field table" 'mpirun -n 2 ./test_tracer_manager_r8'

if [ -z $parser_skip ]; then
if [ $parser_skip ]; then
rm -rf field_table
cat <<_EOF > input.nml
&field_manager_nml
Expand Down

0 comments on commit 2459854

Please sign in to comment.