From 016f8ca4ca4d6079e1b2a480b0d4dc97d738f9af Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Fri, 1 May 2020 08:00:50 +0100 Subject: x11-terms/terminator: fix usage of distutils Address post-submit comments on #14826 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alexey Sokolov Signed-off-by: Joonas Niilola --- .../files/terminator-1.92-make-tests-fail.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 x11-terms/terminator/files/terminator-1.92-make-tests-fail.patch (limited to 'x11-terms/terminator/files') 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 000000000000..ae722cb11685 --- /dev/null +++ b/x11-terms/terminator/files/terminator-1.92-make-tests-fail.patch @@ -0,0 +1,25 @@ +commit 9f855d41f3e6d610bd01df9688467fdbb341917c +Author: Alexey Sokolov +Date: Fri May 1 08:36:09 2020 +0100 + + Make failed tests fail the test + +diff --git a/run_tests b/run_tests +index 3bf51e4a..cc7fb56a 100755 +--- a/run_tests ++++ b/run_tests +@@ -4,10 +4,10 @@ for t in tests/test*; do + echo $t + file_type=$(file -b $t) + case ${file_type} in +- *[Pp]ython*) python ${t} ;; +- *Bourne*) bash ${t} ;; +- *bash*) bash ${t} ;; +- *perl*) perl ${t} ;; ++ *[Pp]ython*) python ${t} || exit 1 ;; ++ *Bourne*) bash ${t} || exit 1 ;; ++ *bash*) bash ${t} || exit 1 ;; ++ *perl*) perl ${t} || exit 1 ;; + *) echo "Unknown" ;; + esac + echo -- cgit v1.2.3-18-g5258