diff options
author | Kalin KOZHUHAROV <me.kalin@gmail.com> | 2019-01-10 11:49:38 +0100 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2019-01-10 20:28:03 -0500 |
commit | 077738eb8a9905827e615ddb1ac2e788337b1291 (patch) | |
tree | 2ab14d8359be13113aeeb2bc96c70b5537c07e97 /media-libs/vidstab/files | |
parent | app-office/scribus: 1.5.5_pre20181227 snapshot bump (no keywords) (diff) | |
download | gentoo-077738eb8a9905827e615ddb1ac2e788337b1291.tar.gz gentoo-077738eb8a9905827e615ddb1ac2e788337b1291.tar.bz2 gentoo-077738eb8a9905827e615ddb1ac2e788337b1291.zip |
media-libs/vidstab: Video stabilization library
Closes: https://bugs.gentoo.org/517892
Signed-off-by: Kalin KOZHUHAROV <kalin@thinrope.net>
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-libs/vidstab/files')
-rw-r--r-- | media-libs/vidstab/files/vidstab-1.1.0-tests-should-exit-with-code-0-on-success.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/media-libs/vidstab/files/vidstab-1.1.0-tests-should-exit-with-code-0-on-success.patch b/media-libs/vidstab/files/vidstab-1.1.0-tests-should-exit-with-code-0-on-success.patch new file mode 100644 index 000000000000..1f73c50a49ed --- /dev/null +++ b/media-libs/vidstab/files/vidstab-1.1.0-tests-should-exit-with-code-0-on-success.patch @@ -0,0 +1,25 @@ +https://github.com/georgmartius/vid.stab/pull/69 + +From dff58ee5a26569a7eeb881d204b428ee5da40746 Mon Sep 17 00:00:00 2001 +From: Craig Andrews <candrews@integralblue.com> +Date: Thu, 10 Jan 2019 13:47:10 -0500 +Subject: [PATCH] tests should exit with code 0 on success + +Exit code 0 indicates success, anything else indicates failure. Therefore, unittest_summary() should return 0 if no tests failed. +--- + tests/testframework.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/testframework.c b/tests/testframework.c +index a38851c..a889560 100644 +--- a/tests/testframework.c ++++ b/tests/testframework.c +@@ -36,7 +36,7 @@ int unittest_summary(){ + fprintf(stderr, "UNIT TESTs succeeded:\t %s%i/%i\033[0m\n", + units_failed>0 ? "\033[1;31m" : "\033[1;32m", + units_success, units_success + units_failed); +- return units_failed==0; ++ return units_failed!=0; + + } + |