diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-09-18 13:01:51 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-09-18 13:02:23 +0200 |
commit | 03e5ee5e332a94066172dd4df5322cb3f3a5b35e (patch) | |
tree | 50d53a45502359b56631b02e76ac620e0ea44055 /dev-util/scons | |
parent | app-emulation/docker-compose: Drop old (diff) | |
download | gentoo-03e5ee5e332a94066172dd4df5322cb3f3a5b35e.tar.gz gentoo-03e5ee5e332a94066172dd4df5322cb3f3a5b35e.tar.bz2 gentoo-03e5ee5e332a94066172dd4df5322cb3f3a5b35e.zip |
dev-util/scons: Fix/skip test failures
Closes: https://bugs.gentoo.org/712696
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util/scons')
-rw-r--r-- | dev-util/scons/scons-4.0.1.ebuild | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-util/scons/scons-4.0.1.ebuild b/dev-util/scons/scons-4.0.1.ebuild index 3257b86adaa3..11498c389cf1 100644 --- a/dev-util/scons/scons-4.0.1.ebuild +++ b/dev-util/scons/scons-4.0.1.ebuild @@ -62,9 +62,20 @@ src_prepare() { # and fix manpage install location sed -i -e '/cmdclass/,/},$/d' \ -e '/data_files/s:man/:share/man/:' "${S}"/setup.py || die + + local remove_tests=( + # TODO: does not respect PATH? + test/Clang + # broken + test/DVIPDF/DVIPDFFLAGS.py + test/Java/swig-dependencies.py + test/Java/multi-step.py + ) + rm -r "${remove_tests[@]}" || die } python_test() { + local -x COLUMNS=80 # set variable from escons() of scons-util.eclass to make env-passthrough patch work within test env local -x GENTOO_SCONS_ENV_PASSTHROUGH=1 # unset some env variables to pass appropriate tests |