dev-util/meson: disable a test case instead of sandbox

Bug: https://bugs.gentoo.org/673016
Package-Manager: Portage-2.3.52_p8, Repoman-2.3.12_p20
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2018-12-12 17:22:30 -05:00
parent 0cb17e0011
commit f7cf47bf0d
3 changed files with 24 additions and 15 deletions

View File

@@ -24,6 +24,14 @@ IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
python_prepare_all() {
# ASAN and sandbox both want control over LD_PRELOAD
# https://bugs.gentoo.org/673016
sed -i -e 's/test_generate_gir_with_address_sanitizer/_&/' run_unittests.py || die
distutils-r1_python_prepare_all
}
python_test() {
(
# test_meson_installed
@@ -32,11 +40,6 @@ python_test() {
# test_cross_file_system_paths
unset XDG_DATA_HOME
# ASAN and sandbox both want to control LDPRELOAD
# https://bugs.gentoo.org/673016
export SANDBOX_ON=0
unset LD_PRELOAD
${EPYTHON} -u run_tests.py
) || die "Testing failed with ${EPYTHON}"
}

View File

@@ -24,6 +24,14 @@ IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
python_prepare_all() {
# ASAN and sandbox both want control over LD_PRELOAD
# https://bugs.gentoo.org/673016
sed -i -e 's/test_generate_gir_with_address_sanitizer/_&/' run_unittests.py || die
distutils-r1_python_prepare_all
}
python_test() {
(
# test_meson_installed
@@ -32,11 +40,6 @@ python_test() {
# test_cross_file_system_paths
unset XDG_DATA_HOME
# ASAN and sandbox both want to control LDPRELOAD
# https://bugs.gentoo.org/673016
export SANDBOX_ON=0
unset LD_PRELOAD
${EPYTHON} -u run_tests.py
) || die "Testing failed with ${EPYTHON}"
}

View File

@@ -24,6 +24,14 @@ IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
python_prepare_all() {
# ASAN and sandbox both want control over LD_PRELOAD
# https://bugs.gentoo.org/673016
sed -i -e 's/test_generate_gir_with_address_sanitizer/_&/' run_unittests.py || die
distutils-r1_python_prepare_all
}
python_test() {
(
# test_meson_installed
@@ -32,11 +40,6 @@ python_test() {
# test_cross_file_system_paths
unset XDG_DATA_HOME
# ASAN and sandbox both want to control LDPRELOAD
# https://bugs.gentoo.org/673016
export SANDBOX_ON=0
unset LD_PRELOAD
${EPYTHON} -u run_tests.py
) || die "Testing failed with ${EPYTHON}"
}