diff options
author | Karlson2k (Evgeny Grin) <k2k@narod.ru> | 2021-01-13 11:00:11 +0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-01-14 20:11:34 +0000 |
commit | 9af1c62279dfabf68fabfcbaa69594a3201dd6fa (patch) | |
tree | 62f94b9136b8e9ae49fb725e95016c4d211e8f1d /media-video/libva-utils | |
parent | sys-boot/palo: restore stable keyword for hppa (diff) | |
download | gentoo-9af1c62279dfabf68fabfcbaa69594a3201dd6fa.tar.gz gentoo-9af1c62279dfabf68fabfcbaa69594a3201dd6fa.tar.bz2 gentoo-9af1c62279dfabf68fabfcbaa69594a3201dd6fa.zip |
media-video/libva-utils: fixed test in portage sandbox in 2.10.0
There are only two tests out of >17000 tests that can be run in portage
sandbox. Let's use these two tests as this is better than do not test at
all.
Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/libva-utils')
3 files changed, 18 insertions, 0 deletions
diff --git a/media-video/libva-utils/files/libva-utils-2.10.0_test_in_sandbox.patch b/media-video/libva-utils/files/libva-utils-2.10.0_test_in_sandbox.patch new file mode 100644 index 000000000000..14cf53044029 --- /dev/null +++ b/media-video/libva-utils/files/libva-utils-2.10.0_test_in_sandbox.patch @@ -0,0 +1,14 @@ + + There are only two test compatible with portage sandbox. + All other tests require access to install VA driver and + Intel video on the host machine. + +--- a/test/Makefile.am ++++ b/test/Makefile.am +@@ -91,4 +91,4 @@ test_va_api_CXXFLAGS = \ + $(NULL) + + check-local: test_va_api +- $(builddir)/test_va_api ++ $(builddir)/test_va_api '--gtest_filter=Internal.*:VAAPIInitTerminate.InitTermWithoutDisplay' + diff --git a/media-video/libva-utils/libva-utils-2.10.0.ebuild b/media-video/libva-utils/libva-utils-2.10.0.ebuild index 71421dd2d08d..7803d68b4896 100644 --- a/media-video/libva-utils/libva-utils-2.10.0.ebuild +++ b/media-video/libva-utils/libva-utils-2.10.0.ebuild @@ -39,6 +39,8 @@ DEPEND+=" " RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/${PN}-2.10.0_test_in_sandbox.patch" ) + # CONTRIBUTING.md and README.md are avaialbe only in .tar.gz tarballs and in git DOCS=( NEWS CONTRIBUTING.md README.md ) diff --git a/media-video/libva-utils/libva-utils-9999.ebuild b/media-video/libva-utils/libva-utils-9999.ebuild index 71421dd2d08d..7803d68b4896 100644 --- a/media-video/libva-utils/libva-utils-9999.ebuild +++ b/media-video/libva-utils/libva-utils-9999.ebuild @@ -39,6 +39,8 @@ DEPEND+=" " RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/${PN}-2.10.0_test_in_sandbox.patch" ) + # CONTRIBUTING.md and README.md are avaialbe only in .tar.gz tarballs and in git DOCS=( NEWS CONTRIBUTING.md README.md ) |