| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Checked in the SCons/__init__.py instead of the changes to the
sconsign manpage. Restoring the former and updating the latter.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The sconsign manpage had some considerably out of date claims,
updated to current usage and defaults.
The SConsignFile manpage/userguide entry was reworded, mainly
to clarify that there's one setting (the presence of env.SConsignFile
*might* suggest there could be per-env settings), but also fiddled
the wording a fair bit. Use the same arg names as the actual
function, since those are usable as kwargs (manpage used to use
"file", function accepts "name").
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Change Trove classification for SCons
|
|/
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ |
|
| | |
|
| |\
|/ /
| |
| | |
mwichmann-wix-win
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The wix tool has a slightly expensive "exists" function,
so its placement in the tool list as generic means non-Windows
platforms also pay this cost. Moved to the win32 section for
other_plat_tools as it's only available on Windows platforms.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| |/ |
|
| |\
| | |
| | | |
Fix Trace function
|
| |/
| |
| |
| |
| |
| |
| | |
The (internal) Trace function had been left in an inconsistent
state by an earlier change, with a variable name mismatch. Fixed.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| |/
|/| |
|
| |\ |
|
| | |
| | |
| | |
| | | |
The filter is a fnmatch pattern matched against output file.
|
| |\ \
|/ / /
| | |
| | | |
git://github.com/bentonj-vmw/scons into bentonj-vmw-compilation_db_use_filter
|
| |/
| |
| |
| |
| |
| | |
The filter is a fnmatch pattern matched against output file.
Also rename target->output in docs to match the output of compilation_db.
|
|\ \
| | |
| | | |
Kill a couple of "for foo in range(len(bar))"
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Usually these aren't needed; the ones in tex.py defintely
weren't. Also one bit of code reformat.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \ \
| |/ /
|/| | |
Drop yet more py2 compatibility stuff
|
| | |
| | |
| | |
| | |
| | |
| | | |
gettext is always present now, so extra steps not needed.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A checker flagged the zip_longest/izip_longest workaround,
that's no longer needed. Similar for the shutil.SameFileError
piece, that's standard since 3.4 and doesn't need checking for.
The checker also complained about
return contents.decode('utf-8', error='backslashreplace')
the correct kward is errors, not error - corrected.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| | |
| | | |
Remove some "star imports"
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Usually, it's unit tests that do this, and it's not really crucial
to kill those off, but checkers do complain, including sider if you
touch anything in one of those files.
In SCons/Environment,py, removed all SCons.Util prefixes, than turned the
import of Util into a star import, running a tool on that then changes
it to import only the used symbols from Util. Since there are lots,
that ought to be a small performance win, since it doesn't have to do
namespace lookups on SCons.Util.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| | |
| | | |
Update templates
|
|/ /
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| | |
| | | |
runtest now writes a log of fails
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
failed_tests.log is created if there are any fails (on by default).
--retry option added to rerun tests from that file, or use -f listfile
to use a file of a different name. --faillog=FILE allows saving the
fails to a non-default name (in case don't want to overwrite the
existing one, perhaps); --no-faillog disables the writing of the log.
Two unneeded tests relating to qmtest were dropped: fallback.py
didn't really test anything, and noqmtest.py was a duplicate of
simple/combined.py after the qmtest specifics had been stripped out.
Added tests for the added three options (git thinks two were renames).
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| | |
| | | |
Convert test runner to use argparse
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
the resolve() method of a Path objects takes a "strict" argument
which was not defined until Py3.6. But the older behavior was
"strict", so just add a version check here.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Formerly used optparse + homegrown, with a comment stating
migration should be done (argprse now has superseded optparse).
Cleaned up a few stray bits that weren't used any longer.
Collects the changes intended for os.environ into a local dict,
which is then used to make a single update.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| |/
|/| |
Fix/update global AddMethod
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |\
| |/
|/| |
|
| |
| |
| |
| | |
output during null build run
|
|\ \
| | |
| | | |
Drop some more Py2 compat things
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Change exception type in a a couple of try block to what could
go wrong, Py3 would not raise UniCodeDecodeError for these cases
One try-import of StringIO module
sconsign does not need a decode that was claimed as compat hack
Remove some sys.version_info checks
Use more modern way to get Python details in test frawmework
AddMethod updated and RenameFunction dropped - it had become a one-liner
and had no clients other than AddMethod (never exposed as public)
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \ \
| | | |
| | | | |
Fix occasional test failures when running multiple jobs
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The way runtest.py passes the list of fixture directories is racy because it
sets it in os.environ['FIXTURE_DIRS'] and then spawns the subprocess, counting
on Python to start the subprocess before that list is overwritten when spawning
the next directory. At least on Windows, the environment is not copied in
subprocess.run so runtest.py may overwrite the list of fixture directories
with the list for test #2 while the subprocess module is still kicking off
test #1. I was able to easily reproduce this by running the command:
`python runtest.py -j 2 test\MSVC\VSWHERE.py test\AS\ASPPFLAGS.py`
a few times in a row. However, with this fix, that command repeatedly succeeds.
To validate ths fix, I also ran that command with "--xml a.xml" and
"--xml a.xml --nopipefiles" to validate that those other executors worked
correctly.
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |/
|/|
| |
| |
| |
| | |
Fixes #3028
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| |/
|/| |
Update manpage on variable substitution
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| |/
|/| |
Fix manpage in packages - Fixes issue #3759
|