commit: 03e5ee5e332a94066172dd4df5322cb3f3a5b35e Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Sep 18 11:01:51 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Sep 18 11:02:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03e5ee5e
dev-util/scons: Fix/skip test failures Closes: https://bugs.gentoo.org/712696 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-util/scons/scons-4.0.1.ebuild | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dev-util/scons/scons-4.0.1.ebuild b/dev-util/scons/scons-4.0.1.ebuild index 3257b86adaa..11498c389cf 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