1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
From: Nilesh Patra <nilesh@debian.org>
Date: Tue, 1 Apr 2025 17:44:11 -0300
Subject: Exit with exit status code of pytest rather than ignoring result
Forwarded: not-needed, these have landed independently already
Last-Update: 2022-11-19
---
run-tests | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/run-tests b/run-tests
index b8d1bc2..1dc45ec 100755
--- a/run-tests
+++ b/run-tests
@@ -38,4 +38,4 @@ if __name__ == "__main__":
if len(sys.argv) == 1:
sys.argv.append('tests')
- pytest.main()
+ sys.exit(pytest.main())
|