mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-libs/libpeas: skip gjs tests
it fails with usersandbox Closes: https://bugs.gentoo.org/961580 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1381 Merges: https://codeberg.org/gentoo/gentoo/pulls/1381 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
7851a246b9
commit
f0405fb532
14
dev-libs/libpeas/files/libpeas-2.2.1-skip_test_gjs.patch
Normal file
14
dev-libs/libpeas/files/libpeas-2.2.1-skip_test_gjs.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
https://bugs.gentoo.org/961580
|
||||
skip tests for gjs due to sandbox restrictions (usersandbox)
|
||||
--- a/tests/libpeas/meson.build
|
||||
+++ b/tests/libpeas/meson.build
|
||||
@@ -9,7 +9,8 @@ libpeas_tests_sources = [
|
||||
libpeas_tests_c_args = ['-UG_DISABLE_ASSERT', '-UG_DISABLE_CAST_CHECKS']
|
||||
|
||||
if build_gjs_loader == true
|
||||
- libpeas_tests_sources += [['extension-gjs', [gjs_dep]]]
|
||||
+ warning('gjs tests are currently disabled due to sandbox restrictions #961580')
|
||||
+# libpeas_tests_sources += [['extension-gjs', [gjs_dep]]]
|
||||
endif
|
||||
|
||||
if build_lua51_loader == true
|
||||
@@ -59,6 +59,9 @@ PATCHES=(
|
||||
# Gentoo-specific lua tweak hack
|
||||
"${FILESDIR}"/${PN}-2.2.1-lua_impl.patch
|
||||
"${FILESDIR}"/${PN}-1.38.1-test-extension.patch
|
||||
|
||||
# https://bugs.gentoo.org/961580
|
||||
"${FILESDIR}"/${PN}-2.2.1-skip_test_gjs.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
Reference in New Issue
Block a user