summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <sokolov@google.com>2020-05-01 08:00:50 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-05-04 17:10:56 +0300
commit016f8ca4ca4d6079e1b2a480b0d4dc97d738f9af (patch)
treed23c785994ed4b841dd6a8ff58fa724e8ef81c1e /x11-terms/terminator/files
parentsys-kernel/gentoo-kernel-bin: Bump to 5.6.10 (diff)
downloadgentoo-016f8ca4ca4d6079e1b2a480b0d4dc97d738f9af.tar.gz
gentoo-016f8ca4ca4d6079e1b2a480b0d4dc97d738f9af.tar.bz2
gentoo-016f8ca4ca4d6079e1b2a480b0d4dc97d738f9af.zip
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 <sokolov@google.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-terms/terminator/files')
-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 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 <sokolov@google.com>
+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