summaryrefslogtreecommitdiffstats
path: root/test/Batch
Commit message (Collapse)AuthorAgeFilesLines
* Tweak a few testsMats Wichmann2019-05-301-6/+4
| | | | | | | | | | | | | "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>
* [PY 3.8] test fixes for file closings, rawstringsMats Wichmann2019-04-257-10/+15
| | | | | | | 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>
* Clean up some tests: use context managersMats Wichmann2019-02-141-4/+6
| | | | | | | | | 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>
* Fix py2/3 byte file issueWilliam Deegan2017-02-281-1/+1
|
* Commit merge from default.Russel Winder2016-02-023-0/+69
|\
| * Minor nit fixes. Typos and better commentsWilliam Deegan2016-01-261-2/+5
| |
| * change test to verify that the source file name is in the output. Though ↵William Deegan2016-01-261-0/+1
| | | | | | | | test will fail if it is not as compile line will miss source file name.
| * add testcase for tigris bug # 2622 - AlwaysBuild / MSVC regressionWilliam Deegan2016-01-163-0/+65
| |
* | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion.Gary Oberbrunner2013-09-221-2/+2
|/
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-03-291-1/+1
| | | | | | | | | | | | | The 'buffer' fixer simply replaces 'buffer( ... )' with 'memoryview( ... )', which is incorrect for our cases, so these changes had to be done by hand and a forward-compatibility class added. The 'xrange' fixer was applied. Manual changes were minimal: a few case in test strings and one use of 'range' as an identifer in the same scope as where 'xrange' was converted to 'range'. The "sets15" compat function, which provided backward compatibility for Python versions prior to 2.2, was removed as no longer needed.
* Add emacs and vim editing settings to the bottom of *.py files.Steven Knight2009-02-098-0/+48
|
* Detect implicit command dependencies even when the command is quoted.Steven Knight2009-01-201-1/+2
|
* Remove a left-over commented-out debug test.run() call.Steven Knight2009-01-191-1/+0
|
* Fix calculation of $UNCHANGED_SOURCES to include correctly sourcesSteven Knight2009-01-191-0/+105
| | | | for which the target doesn't exist.
* Python 1.5 fix.Steven Knight2009-01-101-1/+3
|
* Issue 1086: add support for generic batch build actions, andSteven Knight2009-01-097-0/+667
specific support for batched compilation for Microsoft Visual C/C++. Merged revisions 3819-3851,3854-3869,3871-3877,3880 via svnmerge from http://scons.tigris.org/svn/scons/branches/sgk_batch ........ r3820 | stevenknight | 2008-12-09 23:59:14 -0800 (Tue, 09 Dec 2008) | 6 lines Issue 1086: Batch compilation support: * $MSVC_BATCH to control Visual C/C++ batch compilation. * New $CHANGED_SOURCES, $CHANGED_TARGETS, $UNCHANGED_SOURCES and $UNCHANGED_TARGETS construction variables. * New Action(batch_key=, targets=) keyword arguments. ........ r3880 | stevenknight | 2009-01-07 20:50:41 -0800 (Wed, 07 Jan 2009) | 3 lines Use UniqueList objects to collect the all_children(), all_prerequisites() and all_sources() lists instead of calling uniquer_hashables() by hand. ........