| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Turns out cannot test for now-unknown build_dir arg because
SConscript() doesn't error on such. Skip test for now, leaving
a note (and and issue).
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
| |
forgot to add these to the initial commit
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
| |
Updates docs and code; moves tests to test/Removed/BuildDir/Old.
New tests verify that these can no longer be used.
Along the way a small cleanup in SConscript.py
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
Method removed. Test moved to test/Removed/Copy-Method/Old, and new
test added to ensure it takes an AttributeError.
Deprecation warning no longer useful for this one, so removed.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Use regex of #.#.# instead
|
|\ |
|
| |\
| | |
| | | |
Fix incorrect testing assumptions for Solaris
|
| | | |
|
| |\ \
| | | |
| | | | |
Align debug action timestamps to existing conventions
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
+ Rename to action-timestamps (from action_timestamps) for
consistency with other compound word options.
+ Put manpage entry in alphabetical order.
+ Describe what option does and shorten it (refers to debug=time
instead of duplicating it)
+ Change prints a bit (and tests to match)
+ Show scons version where added.
+ Slight adjustment to manpage introduction to debug options.
Along the way, fixes a lingering tag mismatch from an earlier
documentation PR.
Updates PR#3456
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | | |
|
| | | | |
|
| |\ \ \
| | |/ /
| |/| | |
Allow Command to take more builder options
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
add to change log
add documentation
update test
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* context managers on file r/w + use shutil.copy where it makes sense.
* lxml wants (demands?) that xml files be processed as bytes
* for the phase where we gen the entity files, read as text anyway
* Need to solve a problem where the generated xml is putting the \n in
literally, not evaluating it.
* Fix some examples broken for py3
* Fix more octal constant instances
* Cleanups suggested by PyCharm: staticmethods, two blanks
before class definition, others.
This addresses issues called out in #3300, but is not a complete
solution because the actual doc build step still fails with the
epydoc failures (which aren't directly because of Py3; epydoc
build doesn't work any better on my system with Py3, even with
the forked version with patches).
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \ \
| |/ /
|/| | |
[3.9] change tests not to expect bare scriptname
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Python 3.9 changes to give an absolute path in sys.argv[0].
Some tests expected to see just a simple path ('myyacc.py');
these now either do a test.must_contain instead of must_match,
or change to do "if 'mypass.py' in sys.argv[0]' instead of
the former "if sys.argv[0] == 'mypass.py'".
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
|
|/
|
|
|
|
|
|
|
| |
framework.
In order to make the test work, it was necessary to handle the
encoding issue also in the test framework.
Otherwise, though the Latex builder can handle the case, the test
framework chokes on it.
|
|
|
|
|
|
|
| |
unused imports in a pair of tests that were moved and
thus "touched".
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
| |
The re.DOTALL match function somehow wasn't matching the SConstruct
error path, so build it up from known information instead.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
| |
These two have been deprecated since 2010 (about SCons 2.0), commit
935e6985. Methods are removed, setoption for setting them removed, doc is
removed, tests are migrated to test/Removed/*/Old with a sconstest.skip
file so they don't run, and two new tests are added to confirm that
using the functions and setoptions generate exceptions.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
enable experimental persistent caching of vcvars on win32
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
there was still a path through without fully converted data,
where env['ENV'] could contain unicode, so convert the cache hit instead.
This is a little slower but only for Py2 which is going away anyway.
added the vs2019 exec test (vs-14.2-exec) which is just a copy
of 14.0, 14.1 with the required version changed - this had
never been added.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
|
| |
| |
| |
| | |
Started from scratch, removing copy of debug-time.py test.
|
|\ \
| | |
| | |
| | |
| | | |
# Conflicts:
# src/CHANGES.txt
|
| |\ \
| | |/ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Pass 1: test case showing the failure.
This is WIP - need to add the fix, but want a CI build to show the fail.
Closes issues #3248
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
"action_timestamps"
As per PR review
|
| | | |
|
| | | |
|
| |/
|/| |
|
|\ \
| | |
| | | |
Remove deprecated debug options
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There were several uses of deprecated debug flags that had
not been moved to to test/Deprecated, and so were missed
when those moved to test/Removed.
Also removed options from manpage.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These options have been deprecated since 2007. They were originally
announced to be disabled in SCons 2.0.0, but that didn't happen.
Left the deprecated-debug-options behavior is in, but the dictionary of
such options is now empty, and there's a new dict of removed options,
and presence in that dict raises an exception.
The four tests that were in test/Deprecated move to a new directory
test/Removed and are simplified just to make sure invocation errors
scons out. (git interprets most of these as remove/add for some reason)
These appear to have been already removed from docs, so no doc impact.
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>
|
|\
| |
| | |
Add VS2019 to appveyor matrix
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| | |
Don't merge this one: it has debug stuff in it,
and eliminates most appveyor builds
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
|
|/
|
|
| |
GH Issue #3303
|
|\ |
|