The commit repairs the JDK installation paths to make
scons test scripts to know where the include directory is.
This fix the failure (couldn't find jni.h) of the following tests:
1. test/Java/multi-step.py
2. test/SWIG/SWIGOUTDIR.py
if java jdk is installed.
Signed-off-by: Sergey Torokhov <torokhov_s_a@mail.ru>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Unset the AR AS ASFLAGS, CC, CXX, CFLAGS, CXXFLAGS, CPPFLAGS, LDFLAGS flags within python_test() phase
to ignore the "*-respect-cc-etc-r1.patch" within test env.
It repairs the failures of the tests that are associated with this flags.
Failures were caused by parsing error of passed values.
Signed-off-by: Sergey Torokhov <torokhov_s_a@mail.ru>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
The env-passthrough patch make possible to pass $PATH env
to scons build env while build of packages that use scons
as build system by call of escons() function from scons-util.eclass.
The escons() func. setup GENTOO_SCONS_ENV_PASSTHROUGH=1 variable
that make the patch mentioned above to be working.
The scons package doesn't call escons() so it get to setup
GENTOO_ENV_PASSTHROUTH=1 variable directly within python_test() phase.
This fix repairs Clang tests that failed because the clang and clang++
couldn't be found within scons test env.
Signed-off-by: Sergey Torokhov <torokhov_s_a@mail.ru>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Now after the unpacking of scons github package (scons*.gh.tar.gz for test env)
no files are removed from "/src" directory to store files that
are necessary for some Docbook tests (*.xsl, *.xml, *.ent etc)
and for additional Scons env tests (some *.py files within 'engine' directory).
Signed-off-by: Sergey Torokhov <torokhov_s_a@mail.ru>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
1. The RESTRICT="test" is replaced with RESTRICT="!test? ( test )"
2. DEPEND "test" condition is added for dev-libs/libxml2[${PYTHON_USEDEP}]
and dev-python/lxml[${PYTHON_USEDEP}] to provide similar test results
for all python bindings for all tests there it is possible.
3. Test exit status processing of runtest.py results within python_test()
is fixed to avoid failure if there are no FAILED tests.
The Scons runtest.py script returns 0 if all tests are passed
and returns 2 if there are any "no result" tests.
If failed tests exist then 1 returns.
Signed-off-by: Sergey Torokhov <torokhov_s_a@mail.ru>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is just a copy of dev-util/scons-3..0.5.ebuild
with setup of all archs in KEYWORDS to unstable state
to initialize ebuild before other changes
Signed-off-by: Sergey Torokhov <torokhov_s_a@mail.ru>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
While at it:
- updated to EAPI=7
- made USE=doc code unconditional to always install docs
- made USE=xinetd unconditional to always install xinetd snippet
Reported-by: Oleg Gawriloff
Closes: https://bugs.gentoo.org/345677
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This is to force an upgrade to 0.0.3, which portage evaluates
as older than the currently existing snapshots.
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Drop patch that was added in 0.6-r1.
Closes: https://bugs.gentoo.org/687974
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>