[MERGED] osmo-gsm-tester[master]: Exit with failure if not enough resources are found

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed May 24 12:01:07 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: Exit with failure if not enough resources are found
......................................................................


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(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: I9e38435ff71416585a259c823053bd07c670d495
Gerrit-PatchSet: 2
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list