| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \
| | |
| | | |
Fix MSVC handling of invalid HOST_ARCH or TARGET_ARCH
|
| | | |
|
| | |
| | |
| | |
| | | |
propagate and cause SCons to exit
|
| | | |
|
| | |
| | |
| | |
| | | |
false
|
| | | |
|
| | | |
|
|/ / |
|
|\ \
| |/ |
|
| |\
| | |
| | | |
Don't hide exceptions when command does not exist
|
| | | |
|
|/ / |
|
| | |
|
|\ \
| | |
| | | |
Update Docbook test stylesheets
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Real change to two files, as apparently a system stylesheet has moved
(checked in multiple Ubuntu versions, and in upstream dockbook-xsl)
from html to xhtml path. Or to be more precise, in old docbook-xsl
packages, both subdirectories existed but in newer releases only the
xhtml subdirectory exists.
- <xsl:import href="file:///usr/share/xml/docbook/stylesheet/docbook-xsl/slides/html/plain.xsl"/>
+ <xsl:import href="file:///usr/share/xml/docbook/stylesheet/docbook-xsl/slides/xhtml/plain.xsl"/>
The other changes were to change file to standard line endings (not
Windows) and quiet git complaints about whitespace errors. Unfortunately
the line-endings change makes it look like the files were 100% replaced.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| | |
| | | |
test harness: fix TestCmd tests
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is the companion to PR #3382. The testing/harness/TestCmdTests.py
unit tests do not currently pass. Note they are not run by the CI
system, or in fact by doing runtests -a, since they're in a directory
that is not searched. After these changes, there are no fails. This is
a test-only change.
The method simple_diff, modeled on difflib functions, is converted to
a generator to match difflib, and now has a doctest as well. This
means calls to it which aren't going to iterate needs to convert the
return with list(), but that just makes usage more consistent, since
the calls to difflib.context_diff and difflib.unified_diff already had
to do so.
Also, the methods that used Google-style docbook markup are changed to
REsT-style markup. Our current doc producer, epydoc, does not understand
the Google style, and we shouldn't mix styles; can convert them all in
bulk later if we switch to Sphinx as the production tool.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \ \
| | | |
| | | | |
Fix escaping to quiet py38 warnings about bad escapes
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
Modify CI build to add Python 3.8-dev as a fail-allowed build
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \ \
| |_|/
|/| | |
Use more idiomatic Python
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Minor: replace an instance of "for i in range(len(foo))" with the now
preferred "for i in foo". This change didn't naturally fit with any of
the other instances of this usage, so is submitted by itself.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| | |
| | | |
Tweak a few tests
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
"for i in range(len(foo))" idiom changed to iterate directly over lists
instead of indexing them. zip() generates the iterator in the case with
two lists. reversed() used for the Windows drive-letter test.
gdbm is not gone, just renamed. change test to find under either name.
Use a context manager for closing StringIO objects opened for capturing
standard I/O streams.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| | |
| | | |
Py38 fixes
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Also improve exception handling message in test.subdir()
|
|/ / |
|
|\ \
| | |
| | | |
Update docs for parse_flags keywords
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
The somewhat poorly named parse_flags keyword args actually work like
the MergeFlags method - don't just split like the ParseFlags method,
but do the merging as well. Tweak the docs and add a reference to
env.MergeFlags.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| | |
| | | |
Add cache hit rate to cache debugging
|
|/ / |
|
|\ \
| |/
|/| |
Add __main__.py to MANIFEST.in
|
|/ |
|
|\
| |
| | |
Fix some regexes for Python 3.8 complaints
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
|
|
|
|
|
|
|
| |
Regexes that contained unescaped backslashes and were not listed
in raw string form caused one more test failure when Python 3.8
was experimentally turned on in the Travis CI build.
Also one utility script had the same, not affecting tests - found through
inspection.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Rework the failed-builds test
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| | |
test/Parallel/failed-builds.py has been sporadically failing
on the CI builds. Rework it a bit to see if it improves.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| |/
|/| |
Add -iquote and -idirafter for CCFLAGS
|
| |
| |
| |
| |
| |
| | |
Needed a doc regen to pick up the change.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
|
|
|
|
|
|
|
| |
Recognize two additional GNU compiler header directory search options:
-iquote and -idirafter. Each takes a following arg, which scons now
recognizes and adds together with the option to CCFLAGS. Note that
(similar to -isystem which was added in git commit f8614aa2), this does
not tell scons anything special, it only recognizes the flag + argument
so it can be passed on to the compiler.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
|
|\
| |
| | |
Fix a small error in docbook tool
|
|/
|
|
|
|
|
| |
The routine used in the builder if lxml is being used had
a doubled write command likely to produce unexpected results.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Fix misplaced file closing
|
|/
|
|
|
|
|
|
|
| |
One file close ended up in the wrong method, meaning it was closing
a file which needed to stay open for further reading, while another
method of the same name in a different class was missing one.
(this didn't trigger any test fails, hmmm, just visual inspection)
Signed-off-by: Mats Wichmann <mats@linux.com>
|