Review at  https://gerrit.osmocom.org/2723

Exit with failure if not enough resources are found

Change-Id: I9e38435ff71416585a259c823053bd07c670d495
---
M src/osmo-gsm-tester.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/23/2723/1

diff --git a/src/osmo-gsm-tester.py b/src/osmo-gsm-tester.py
index 766f356..9b7ae25 100755
--- a/src/osmo-gsm-tester.py
+++ b/src/osmo-gsm-tester.py
@@ -198,6 +198,7 @@
                 trials_run.append(current_trial)
         except Exception:
             # Do not catch here subclasses of BaseException such as 
SystemExit, let them finish the program
+            any_failed = True
             current_trial.log_exn()
 
     sys.stderr.flush()

-- 
To view, visit https://gerrit.osmocom.org/2723
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9e38435ff71416585a259c823053bd07c670d495
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <[email protected]>

Reply via email to