mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-15 07:00:52 +00:00
39 lines
1.1 KiB
Diff
39 lines
1.1 KiB
Diff
From: =?utf-8?q?S=C3=A9bastien_Delafond?= <seb@debian.org>
|
|
Date: Wed, 24 Sep 2025 07:23:24 +0200
|
|
Subject: Revert "system-tests: abort on failure"
|
|
|
|
We'd rather have the test suite always run completely, and report
|
|
every failed test at the end.
|
|
---
|
|
system/run.py | 8 --------
|
|
1 file changed, 8 deletions(-)
|
|
|
|
diff --git a/system/run.py b/system/run.py
|
|
index 4e73fb2..599afe5 100755
|
|
--- a/system/run.py
|
|
+++ b/system/run.py
|
|
@@ -50,7 +50,6 @@ def run(include_long_tests=False, capture_results=False, tests=None, filters=Non
|
|
if not coverage_dir:
|
|
coverage_dir = mkdtemp(suffix="aptly-coverage")
|
|
|
|
- failed = False
|
|
for test in tests:
|
|
orig_stdout = sys.stdout
|
|
orig_stderr = sys.stderr
|
|
@@ -158,15 +157,8 @@ def run(include_long_tests=False, capture_results=False, tests=None, filters=Non
|
|
|
|
t.shutdown()
|
|
|
|
- if failed:
|
|
- break
|
|
- if failed:
|
|
- break
|
|
-
|
|
sys.stdout = orig_stdout
|
|
sys.stderr = orig_stderr
|
|
- if failed:
|
|
- break
|
|
|
|
if lastBase is not None:
|
|
lastBase.shutdown_class()
|