mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-01-20 15:40:38 +01:00
add return value to tests, allow GUI to start without display
This commit is contained in:
parent
f897d98ab0
commit
70c44d006d
1
.github/workflows/HIL_Tests.yml
vendored
1
.github/workflows/HIL_Tests.yml
vendored
|
|
@ -55,5 +55,6 @@ jobs:
|
|||
- name: Run HIL tests
|
||||
run: |
|
||||
cd Software/Integrationtests
|
||||
export DISPLAY=:0
|
||||
python3 Integrationtest.py
|
||||
|
||||
|
|
|
|||
|
|
@ -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()))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue