| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Speedup tests on Windows platform - Part 1 (more to come)
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
windows
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A few tweaks to scons_dev_master.py which needed to have xz added anyway:
changed mercurial to git in initial setup, install different java,
more pythons. Note about adding ipkg-build.
Docs updated slightly for wording in addition to adding the
new tar packager.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The expected message was not OS-neutral, failing on Windows due
to backslashes. Now that Windows has tar this turned up. Interpolate
os.sep to fix.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ |
|
| |
|
|
|
|
| |
speed up test on windows
|
| |
|
| |
|
|
|
|
| |
with python 2.7.14 and below. The output message changed from / to \ and broke the test.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Both gz and bzip2 now skip the test if tar is not found (previously they
would not test, but mark the test OK).
Since tar is now found on recent Windows 10, but the helper program
bzip2 is not, check for bzip2 as well. This is actually a correct test
for other systems as well, they have just been very unlikely to not have
had bzip2 provisioned so it has not bitten us.
Note: on Windows, with cygwin installed, the test may well find bzip2
but c:\Windows\System32\tar.exe does not find it and the test fails
anyway. Work needed on this "finds too much" issue (not unique to
this test).
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ |
|
| |\
| | |
| | | |
Fix bytes->string decoding issue as subprocess returned stdout is bytes in py3 [ci skip]
|
| | | |
|
| |\ \
| | |/
| | | |
Fix test/AS/nasm.py as it previously would only run with nasm version…
|
| | | |
|
| |\ \
| | |/ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
evolved the get_platform_python_info test method to fail only
if a new flag python_h_required is True. Rolled back the
previous change to have the method return the path to the
Python.h, this was not really needed since the include
path is already returned.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A previous change added a check for Python.h in one SWIG test which did
not have it which turns that test into a skip instead of a fail if the
header is not installed. It was pointed out that having 12 tests check
for the same thing might be optimised by putting the check in the routine
which returns info about the python development environment, so this
change makes that modification.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |/
| |
| |
| |
| |
| |
| |
| | |
The generated code will #include <Python.h>, so skip the test if the
appropriate development support for Python is not installed, the test
will FAIL otherwise. The other SWIG tests do this already.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a new flag, X_RPM_EXTRADEFS, which lets the user supply
any additional flag lines needed in the specfile. If the
tag is not present in the specfile, supply a value which
turns off debug package generation. To retain debug package
generation, supply the flag with a value of None, or with
a list that does not include the disable value.
So like the previous change the default is now not to
generate debug, but that default can be overridden, and it
is documented.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Two issues: (1) ARCHITECTURE, if supplied, actually needs to be set
in the specfile BuildArch: field (or passed on the command line).
(2) rpmbuild on Fedora builds all kind of debug stuff behind the
scenes (it makes packages not requested by the specfile!). This
causes scons rpm tests to fail, so force in a flag to turn off this
generation. That is done unconditionally at the moment by writing
%global debug_package %{nil}\n
to the specfile. If anyone eventually ends up needing to produce
these debug packages through scons, we can add a flag to allow
it by omitting the above setting.
Some doc and comment cleanup done, and one of the tests now builds
a noarch package to test actually supplying an ARCHITECTURE value
that is not the machine default. Also, one of the tools called by
rpm packaging did not supply the right suffix for the Tar builder,
presumably a copy-paste error in a place that is not stressed by
any test.
Fedora packaging now also generates a file containing the build id
and puts it into the package (another behind the scenes bit of magic -
this does not appear in our %files section but is still added to the
package). It is possible to turn this behavior off as well, but for the
tests affected, the choice was made instead to have them now check the
files in the generated package /contain/ the expected filenames rather
than /exactly-match/ the expected filenames.
Testing: on recent Fedora all the rpm-related tests now pass after six
failed previously; on a Centos 7.4 system which did not fail any tests,
the modified code still passes - did not introduce regressions. At
the moment do not believe any of the CI setup will cause rpm tests
to be run.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Msvs test doesnt check for cl
|
| |\ |
|
| |\ \ |
|
| | | | |
|
| |_|/
|/| | |
|
|\ \ \
| | | |
| | | | |
Testing: python 3 fix for must_contain
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of custom conversion as in the previous iteration,
use the to_bytes function.
The two known tests which incorrectly let the text-mode xml file
be opened in binary mode are adjusted to supply mode='r'
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Missed that string matching on the invalid sconscript
path needs to be OS-agnostic - the CI builders don't
include a windows image, so this was not caught.
Call normpath on the path before pushing it into the
expected strings.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \ \ |
|
| |\ \ \
| | |/ / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Resolving two test failures in Python 3 caused by:
http://www.python.org/dev/peps/pep-3127/:
octal literals must now be specified with a leading "0o" or "0O" instead of "0";
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Although the newer versions are marketed as simple versions, scons will
see them as dotted versions: 9.0, 10.0. Add some comments to this in
test code - the RMI test skip ought to work as long as they stay dotted
versions (since 10.0 >= 1.8); that code does run the test for a simple
version like '6'.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Testcases added to confirm the behavior of: first attempt
to call a non-existent script gives a deprecation warning,
additional ones give plain warning; True/False values for
must_warn behave as expected; if scons default is changed
to exception the call fails but if must_warn=False it
still works.
Tweaked the logic to actually get that last bit to work.
Also minor doc update.
Signed-off-by: Mats Wichmann <mats@linux.com>
|