| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
test.verbose_set() enables verbose mode, can be a useful
debugging aid. Shouldn't be left in in production tests,
as it creates noise in the test log.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A couple of minor reformats along the way, most prominently, in tests,
if being edited anyway, make sure the docstring most tests have is
actually the docstring (sometimes the __revision__ line came before,
which makes the string not be the docstring).
Snuck in some minor framework changes that were orphaned when another
draft PR was not needed: this almost all docstring changes, the
functional part is using casefold instead of lower in a match func -
a slightly better approach which is now possible that Py2 compatibility
is not needed.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the remaining batch of SyntaxWarning cleanups in the test/
directory, as flagged by Python 3.8 (now tested with 3.8.0b4). Most of
these are escapes in strings that are not recognized as Python-language
escapes up front, due to the embedded nature of testing - tests write a
string to a file which is actually Python (code or sconscript) which is
later to be executed.
Also changed the timestamp-fallback test to eliminate an imp module
DeprecationWarning: since in all supported Python versions haslib
is stdlib, drop that skip check; the md5 skip check can be a simple
import now.
My test runs with 3.8 show no SyntaxWarnings after this.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
|
|
|
|
| |
In places where only the found/not found status is needed, use
the membership operator (in) for checks instead - makes for easier
reading and is considered faster for shorter strings.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
| |
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>
|
| | |
|
| |
|
|
| |
takes different arguments than the expected msvc
|
| |
|
|
| |
checks in some java tests to skip test if no javac and/or jar found
|
| | |
|
| |
|
|
| |
SecurityManager (RMI.. has been deprecated for some time. JDK 1.8 started to issue deprecation warnings and break test)
|
| |
|
|
| |
declspec in c file which is sole object in DLL to ensure mslink creates the expected .LIB file.
|
| |
|
|
| |
test infrastructure. JavaCommon now has reasonable defaults for windows java sdk installs
|
| |
|
|
| |
env['ENV']['PATH']
|
| | |
|
| |
|
|
| |
TestCommon's options_arguments to keep passed lists and not join them into a string.
|
| |
|
|
| |
a space in it), to appending the path to javac to env['ENV']['PATH']. (Which is basically what msvc/msvs do)
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
| |
speed up test on windows a bit
|
| |
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
| |
os.path to detect files or dirs
|
| |
|
|
| |
any targets if no Java files are in the directory
|
| |
|
|
| |
and varient dir.
|
| | |
|
| | |
|
| |
|
|
| |
compiled and are in the resulting jar file. Also updated the swig dependency test to throw no result from what seems to be a non java related bug.
|
| |
|
|
| |
directly as a source to the Jar builder. The only other test that did this was multi-setp.py which was reliant on swig being installed.
|
| | |
|
| | |
|
| |
|
|
| |
missed that java tests wrapper was different. Also mode rb/wb changes, and switch to must_match with mode='r'
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | |
| |
| |
| | |
we're skipping some tests for gcj
|
| | |
| |
| |
| | |
when no latex is available
|
| |\ \
| |/ |
|
| | |
| |
| |
| | |
over no_result()
|
| |\ \
| |/
| |
| |
| | |
Hand-updated a few things to keep them python3-safe, and handled
several merge conflicts.
|
| | | |
|
| | | |
|
| | |\ |
|
| | | |
| | |
| | |
| | | |
conditions.
|
| | | |
| | |
| | |
| | | |
This was a best guess for the output.
|
| | | |
| | |
| | |
| | | |
Other updates per code review.
|
| | |/
| |
| |
| |
| | |
Shows that Java emitter for derived-sources is broken regardless
of the source generation method.
|
| | | |
|
| |/ |
|
| |
|
|
|
|
| |
- temporarily disabling the detect routine for the Tools 'jar' and 'rmic'
- added a simple testcase for each
- changes to Announce.txt (typos) and CHANGES.txt
|