Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
phannebohm committed Aug 10, 2023
1 parent 35f862f commit bb95b24
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ jobs:

- name: "Look for failing tests"
run: |
'pwd'
'ls -la'
'grep "\(^ - \)\|\(... equation mismatch\)" /home/runner/work/PNlib/PNlib/Testing/openmodelica.log | true'
'grep -i "^== 0 out of [0-9]* tests failed" /home/runner/work/PNlib/PNlib/Testing/openmodelica.log'
2 changes: 2 additions & 0 deletions Testing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
test: openmodelica dymola

openmodelica:
@pwd
@make -C OpenModelica | tee openmodelica.log
@make -C OpenModelica clean
@echo ""
@grep == openmodelica.log
@ls -la

dymola:
@make -C Dymola | tee dymola.log
Expand Down
2 changes: 1 addition & 1 deletion Testing/OpenModelica/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TEST = ./rtest -v

TESTFILES = \
PNlib.Examples.ConTest.Conflict.mos \
PNlib.Examples.ConTest.ConflictLoop.mos \
#PNlib.Examples.ConTest.ConflictLoop.mos \
PNlib.Examples.ConTest.LoopAndArcweight.mos \
PNlib.Examples.ConTest.PCtoTC.mos \
PNlib.Examples.ConTest.PCtoTCfunction.mos \
Expand Down

0 comments on commit bb95b24

Please sign in to comment.