Skip to content

Commit

Permalink
Fix some test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sergisiso committed Jan 24, 2025
1 parent ef2345d commit 953d115
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nemo_v5_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ jobs:
# Run test
cd $NEMO_DIR/tests/${TEST_DIR}/EXP00
cp $PSYCLONE_NEMO_DIR/KGOs/namelist_cfg_bench_small_10 namelist_cfg
OMP_NUM_THREADS=4 mpirun -np 1 ./nemo
OMP_NUM_THREADS=4 ./nemo
tail run.stat
diff $PSYCLONE_NEMO_DIR/KGOs/run.stat.bench.gfortran.small.10steps run.stat
export TIME_sec=$(grep "local proces" timing.output | head -n 1 | awk '{print $4}' | tr -d s)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def test_omplooptrans_properties():
omplooptrans.omp_directive = "invalid"
assert ("The OMPLoopTrans.omp_directive property must be a str with "
"the value of ['do', 'paralleldo', 'teamsdistributeparalleldo', "
"'loop'] but found a 'str' with value 'invalid'."
"'teamsloop', 'loop'] but found a 'str' with value 'invalid'."
in str(err.value))

with pytest.raises(TypeError) as err:
Expand Down

0 comments on commit 953d115

Please sign in to comment.