mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
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:
@@ -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}"
|
||||
}
|
||||
|
||||
@@ -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}"
|
||||
}
|
||||
|
||||
@@ -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}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user