Skip to content

Commit

Permalink
add return value to tests, allow GUI to start without display
Browse files Browse the repository at this point in the history
jankae committed Apr 22, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f897d98 commit 70c44d0
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/HIL_Tests.yml
Original file line number Diff line number Diff line change
@@ -55,5 +55,6 @@ jobs:
- name: Run HIL tests
run: |
cd Software/Integrationtests
export DISPLAY=:0
python3 Integrationtest.py
4 changes: 3 additions & 1 deletion Software/Integrationtests/Integrationtest.py
Original file line number Diff line number Diff line change
@@ -21,4 +21,6 @@
# 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()))

0 comments on commit 70c44d0

Please sign in to comment.