File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
tests/adaptiveFvMeshTests/Make Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,27 @@ jobs:
3838 with :
3939 detached : true
4040
41- - name : Compile and Test
41+ - name : Compile
4242 run : |
4343 source /usr/lib/openfoam/openfoam2506/etc/bashrc
4444 mkdir -p $FOAM_USER_LIBBIN
4545 ./Allwmake
46+
47+ - name : Test in serial
48+ run : |
49+ source /usr/lib/openfoam/openfoam2506/etc/bashrc
4650 git clone https://github.com/FoamScience/foamUT $FOAM_FOAMUT
47- sed -i 's/mpirun/mpirun --oversubscribe/g' $FOAM_FOAMUT/Alltest
4851 ln -s "$PWD"/tests/adaptiveFvMeshTests "$FOAM_FOAMUT/tests/adaptiveFvMeshTests"
4952 rm -rf "$FOAM_FOAMUT/cases"
5053 cp -r tests/testCases "$FOAM_FOAMUT/cases"
5154 cd $FOAM_FOAMUT || exit 1
5255 rm -rf tests/exampleTests
53- ./Alltest "$@"
56+ ./foamut
5457 if [ -f $FOAM_FOAMUT/tests/adaptiveFvMeshTests/log.wmake ]; then cat $FOAM_FOAMUT/tests/adaptiveFvMeshTests/log.wmake; fi
58+
59+ - name : Test in parallel
60+ run : |
61+ source /usr/lib/openfoam/openfoam2506/etc/bashrc
62+ cd $FOAM_FOAMUT || exit 1
63+ sed -i 's/mpirun/mpirun --oversubscribe --use-hwthread-cpus/g' ./foamut
64+ ./foamut --parallel
Original file line number Diff line number Diff line change 1- /home/fadeli/repos/foamUT /tests/testDriver.C
1+ $(FOAM_FOAMUT) /tests/testDriver.C
22
33abortHandle.C
44adaptiveFvMeshTest.C
You can’t perform that action at this time.
0 commit comments