hasufell-repository/packages/dev-util/bam/files/bam-0.4.0-fix-tests.patch
Julian Ospald e8ff20f208 dev-util/bam: initial import of version 0.4.0
Change-Id: I47700ffab5ccbf16948ddf9a96092b95755325d5
Reviewed-on: https://galileo.mailstation.de/gerrit/6100
Reviewed-by: Jenkins <wk@mailstation.de>
Reviewed-by: Julian Ospald <hasufell@posteo.de>
2016-05-20 21:59:23 +02:00

24 lines
592 B
Diff

From 4b186524ba0b9956147e040a006c9805aec20678 Mon Sep 17 00:00:00 2001
From: Magnus Auvinen <magnus.auvinen@gmail.com>
Date: Mon, 2 May 2011 19:18:53 +0200
Subject: [PATCH] fixed so that test.py exits with errors codes (thanks to
debfx)
---
scripts/test.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/test.py b/scripts/test.py
index 078e633..90b9b26 100755
--- a/scripts/test.py
+++ b/scripts/test.py
@@ -246,6 +246,8 @@ def __init__(self):
print "FAILED TESTS:"
for t in failed_tests:
print "\t"+t
+ sys.exit(1)
else:
print "ALL TESTS PASSED!"
+ sys.exit(0)