| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
On a linux host (missing some things that may be on the Travis CI
setup), Py3.8a3 now shows 19 fails, 1048 pass, with 84 Warning: messages.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
| |
Apply changes to quiet open-file warnings. Add docstring to a few.
Switch os.system usage to subprocess.call. Add if-main logic.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ |
|
| |\
| | |
| | | |
[WIP] Run all CI builds with -j 2
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since the build with everything-CI-j2 triggered a couple of test
fails, include the patches for open-file warnings in those test
areas in the hopes it will help.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
overriding python's native EnvironmentError
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Sider in the CI system doesn't like the change which added a try/except
block for a version without a dot. This was copied from a different
file, so to fix the complaint, four instances are actually updated to
"except ValueError" - I am assuming that this is the only thing that
could go wrong, a version string cannot be converted with int(foo),
which would throw ValueError.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The java tool common routine finds a jdk by doing a filesystem glob.
This had a problem on windows in the case a specific version is requested,
because the format of name of the jdk directory has changed with JDK 9 -
there is a dash between jdk and the version string. The glob which does
not attempt to match a version was general enough not to trip on this,
but with a version to match it would never match jdk-9 or higher.
The test harness then asks the found javac what version it is, and the
parsing of that did not work as expected once version numbers became
double-digit, as the regex was for a single digit followed by a dot.
The outcome is for 11.0.2 we get back '11' instead of '11.0'. Change the
regex to match any number of digits followed by dot.
The Repository/RMIC.py change is to align with an earlier change to
Java/RMIC.py, but the may not be needed after the change to regex
just described.
Clean up some of the Java tool routines for consistency (there was
no functional change outside of JavaCommon.py)
Docstrings added or updated in several places.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ /
| |
| |
| |
| |
| |
| | |
Remove now unneeded code to save/restore the path, since
the routine now does not modify the path.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With runtest now honoring the -j 2 option given to it in
CI setup on Windows, there were some problems where scons-time
tests could try to remove a test directory while some files
in it were still open (these locations were complained about
by Python 3.8 also).
Switch test framework to using mkdtemp also, and to not use
tempfile.template (usage of that and mktemp are long
deprecated)
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
| |
runtest change to run requested number of jobs exposed a concurrency
problem on Appveyor CI (Windows) builds - which seems to be due to
scons-time using mktemp to create a temporary directory name, and then
later creating the directory. In scons-time the timing window for
this is a bit longer than usual. Try using mkdtemp instead.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|\
| |
| | |
rpcgen test accomodate distros using tirpc
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fedora since 28 has removed SunRPC support from glibc
and switched to using tirpc. Adjust a test to accomodate
the new usage - adds an include path and if configure
check passes, add libtirpc to link.
This is a test-only change.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
LDMODULECOMSTR
|
|\ \
| | |
| | | |
[PYPY] adjust two expect strings for PyPy msgs
|
| |/
| |
| |
| |
| |
| |
| |
| | |
To help support pypy, two test expect-strings are adjusted to accept
either the error message from CPython ("Syntax error: invalid syntax")
and from PyPy ("Syntax error: Unknown character").
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
messaging
|
| | |
|
|/
|
|
| |
dependencies only on windows when one generated souce implicitly depends on another generated source.
|
|
|
|
| |
named win_bison
|
|\
| |
| | |
Add windows default paths to lex tool
|
| |
| |
| |
| | |
nounistd on windows. also more testing
|
| | |
|
| | |
|
|\ \
| | |
| | | |
[PYPY] [PY 3.8] more context manager use in tests
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previous change created a with: block but accidentally indented
two literal strings used as the expected stderr, causing them
to no longer match; these are restored to original state.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Similar to #3319, add additional use of context managers
inside written tests. Fixes som PyPy3 fails and quiets
matching warnings from Python 3.8.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Python 3.8 complains about unclosed files on nearly all of the
CacheDir tests. PyPy3 fails 8 of the 20 tests for the same reason,
though since it's based on an earlier version of Python (3.5 at the
moment) it does not display the resourcewarning messages.
Update sequences of open().write() which are the primary problem
area to use context managers for automatic closing, and for
consistency, the rest of the open/read/write stuff as well.
With this change, all these tests pass in PyPy3. Python 3.8 does
not, as it is spewing other warning messages which also end up in
the stderr, which is fatal to this set of tests, but it has
quieted the warnings from the CacheDir tests themselves.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| | |
| | | |
for #3304: drop use of -tt if py3
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As noted in issue #3304, the Python flag to error on inconsistent
tabs/spaces has been dropped for Python 3 interpreters; while
CPython still accepts it, silently ignoring it, PyPy3 errors out.
This change adds the flag throughout the testsuite run only if
using a Python2 interpreter.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| |/
|/|
| |
| | |
bdbaddog/fix_gh_3303_force_config_alters_env_decider
Fix issue #3303 - --config=force overwriting environment passed to Configure()
|
| | |
|
|\ \
| | |
| | | |
Mingw link issue
|
| |\ \ |
|
| | | | |
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Plenty of complaints coming from Python 3.8alpha on unclosed files.
Targeted those areas which intersect with PyPy failures - this changeset
reduces the PyPy fails by 17 on the local test environment.
So this affects both Issue #3299 and the PyPy support project.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In a few places, "is" and "is not" are used to compare with
a string or integer literal. Python 3.8 flags these with
a SyntaxWarning. Changed to == and !=
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
PR #3242 added the Textfile and Substfile builders to the default builder
list (for issue #3147), but didn't finish the job: the textfile tool
needs to be added to the default list of tools as well. This time
with a testcase that fails if the tool is not added. Minor doc tweak.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| | |
| | | |
make M4 test cross platform
|
| | | |
|
| | | |
|
|/ / |
|
| |
| |
| |
| | |
plain part of a line
|
|/
|
|
| |
DeciderNeedsNode exception which can be thrown by MD5-Timestamp decider logic
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|