diff options
author | Louis Sautier <sautier.louis@gmail.com> | 2016-03-10 12:01:57 +0100 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2016-03-15 21:32:05 +0800 |
commit | fe2742014af5a4a1f306cc3f1ee5d3e5be7ed64c (patch) | |
tree | 4e10d44877f6d34f6ecc79b5092a293e6e854033 /media-libs/libopenshot/files | |
parent | media-libs/libopenshot-audio: new ebuild, version 0.0.6 (diff) | |
download | gentoo-fe2742014af5a4a1f306cc3f1ee5d3e5be7ed64c.tar.gz gentoo-fe2742014af5a4a1f306cc3f1ee5d3e5be7ed64c.tar.bz2 gentoo-fe2742014af5a4a1f306cc3f1ee5d3e5be7ed64c.zip |
media-libs/libopenshot: new ebuild, version 0.1.0
Needed for media-video/openshot-2.0.6
Package-Manager: portage-2.2.27
Closes: https://github.com/gentoo/gentoo/pull/1023
Diffstat (limited to 'media-libs/libopenshot/files')
-rw-r--r-- | media-libs/libopenshot/files/libopenshot-0.1.0-fix-tests-exit-code.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/media-libs/libopenshot/files/libopenshot-0.1.0-fix-tests-exit-code.patch b/media-libs/libopenshot/files/libopenshot-0.1.0-fix-tests-exit-code.patch new file mode 100644 index 000000000000..ba6cb8ed5a82 --- /dev/null +++ b/media-libs/libopenshot/files/libopenshot-0.1.0-fix-tests-exit-code.patch @@ -0,0 +1,31 @@ +From c7dcc18b23e6bfeff8c37f542b37b081bc422f9b Mon Sep 17 00:00:00 2001 +From: Louis Sautier <sautier.louis@gmail.com> +Date: Tue, 15 Mar 2016 00:35:16 +0100 +Subject: [PATCH] Exit tests with the return value from RunAllTests() + +--- + tests/tests.cpp | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/tests/tests.cpp b/tests/tests.cpp +index 5265959..2321513 100644 +--- a/tests/tests.cpp ++++ b/tests/tests.cpp +@@ -33,14 +33,15 @@ using namespace UnitTest; + + int main() + { ++ int exit_code = 0; + cout << "----------------------------" << endl; + cout << " RUNNING ALL TESTS" << endl; + cout << "----------------------------" << endl; + + // Run all unit tests +- RunAllTests(); ++ exit_code = RunAllTests(); + + cout << "----------------------------" << endl; + +- return 0; ++ return exit_code; + } |