diff options
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.patch | 25 |
1 files changed, 0 insertions, 25 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 deleted file mode 100644 index ae722cb..0000000 --- a/x11-terms/terminator/files/terminator-1.92-make-tests-fail.patch +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | commit 9f855d41f3e6d610bd01df9688467fdbb341917c | ||
| 2 | Author: Alexey Sokolov <sokolov@google.com> | ||
| 3 | Date: Fri May 1 08:36:09 2020 +0100 | ||
| 4 | |||
| 5 | Make failed tests fail the test | ||
| 6 | |||
| 7 | diff --git a/run_tests b/run_tests | ||
| 8 | index 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 | ||
