add return value to tests, allow GUI to start without display

This commit is contained in:
Jan Käberich 2024-04-22 12:26:13 +02:00
parent f897d98ab0
commit 70c44d006d
2 changed files with 4 additions and 1 deletions

View file

@ -55,5 +55,6 @@ jobs:
- name: Run HIL tests
run: |
cd Software/Integrationtests
export DISPLAY=:0
python3 Integrationtest.py

View file

@ -21,4 +21,6 @@ for t in testmodules:
# else, just load all the test cases from the module.
suite.addTest(unittest.defaultTestLoader.loadTestsFromName(t))
unittest.TextTestRunner().run(suite)
result = unittest.TextTestRunner(verbosity=2).run(suite)
exit(int(not result.wasSuccessful()))