File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 - name : Isothermal Sod test
4040 run : scripts/ci/run-tests $IDEFIX_DIR/test/HD/sod-iso -all $TESTME_OPTIONS
4141 - name : Mach reflection test
42- run : scripts/ci/run-tests $IDEFIX_DIR/test/HD// MachReflection -all $TESTME_OPTIONS
42+ run : scripts/ci/run-tests $IDEFIX_DIR/test/HD/MachReflection -all $TESTME_OPTIONS
4343 - name : Sedov blast wave
4444 run : scripts/ci/run-tests $IDEFIX_DIR/test/HD/SedovBlastWave -all $TESTME_OPTIONS
4545
Original file line number Diff line number Diff line change @@ -13,8 +13,16 @@ if [ -d .venv ]; then
1313 source .venv/bin/activate
1414fi
1515
16- # jump in test directory
17- cd " $1 "
16+ # to get access to idefix ./pytools/ module in python code
17+ if [[ -v PYTHONPATH ]]; then
18+ export PYTHONPATH=" ${PWD} :${PYTHONPATH} "
19+ else
20+ export PYTHONPATH=" ${PWD} "
21+ fi
22+
23+ # run the test the old way (still possible up to now)
24+ # cd "$1"
25+ # ./testme.py "${@:2}"
1826
19- # run the test
20- ./testme .py " ${ @: 2} "
27+ # run the test the new way (via pytest)
28+ ./test .py -subdir " $@ "
You can’t perform that action at this time.
0 commit comments