summaryrefslogtreecommitdiff
path: root/x11-terms/terminator/files/terminator-1.92-make-tests-fail.patch
diff options
context:
space:
mode:
authorSimeon Simeonov2020-06-04 19:21:47 +0200
committerSimeon Simeonov2020-06-04 19:21:47 +0200
commitec00f787cd84d1a6c8063177d6e7207bef437eff (patch)
tree398e5d2552164240f93be98ae5a457b67910a18a /x11-terms/terminator/files/terminator-1.92-make-tests-fail.patch
parent9608dbcd3b9abb051a89570a64702586da58d876 (diff)
Add terminator patches as well
Diffstat (limited to 'x11-terms/terminator/files/terminator-1.92-make-tests-fail.patch')
-rw-r--r--x11-terms/terminator/files/terminator-1.92-make-tests-fail.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/x11-terms/terminator/files/terminator-1.92-make-tests-fail.patch b/x11-terms/terminator/files/terminator-1.92-make-tests-fail.patch
new file mode 100644
index 0000000..ae722cb
--- /dev/null
+++ b/x11-terms/terminator/files/terminator-1.92-make-tests-fail.patch
@@ -0,0 +1,25 @@
1commit 9f855d41f3e6d610bd01df9688467fdbb341917c
2Author: Alexey Sokolov <sokolov@google.com>
3Date: Fri May 1 08:36:09 2020 +0100
4
5 Make failed tests fail the test
6
7diff --git a/run_tests b/run_tests
8index 3bf51e4a..cc7fb56a 100755
9--- a/run_tests
10+++ b/run_tests
11@@ -4,10 +4,10 @@ for t in tests/test*; do
12 echo $t
13 file_type=$(file -b $t)
14 case ${file_type} in
15- *[Pp]ython*) python ${t} ;;
16- *Bourne*) bash ${t} ;;
17- *bash*) bash ${t} ;;
18- *perl*) perl ${t} ;;
19+ *[Pp]ython*) python ${t} || exit 1 ;;
20+ *Bourne*) bash ${t} || exit 1 ;;
21+ *bash*) bash ${t} || exit 1 ;;
22+ *perl*) perl ${t} || exit 1 ;;
23 *) echo "Unknown" ;;
24 esac
25 echo