summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/EnvironmentTests.py
Commit message (Collapse)AuthorAgeFilesLines
* Futurize stage 2 2to3 fixes only.William Blevins2016-09-201-1/+1
|
* Run futurize --stage1.Russel Winder2016-01-011-1/+2
|
* Post merge commit for safety. Building Fortran code works, but tests fail.Russel Winder2015-12-241-73/+54
|\
| * removed several pre-2.7 methods and imports, including some basic refactoringsDirk Baechle2015-12-101-25/+0
| |
| * - switching Node class and NodeInfo/Binfo to using slotsDirk Baechle2015-02-261-46/+46
| | | | | | | | - memoizer subsystem now uses decorators instead of the metaclass approach
| * Support -isystem in ParseFlagsJames McCoy2014-09-151-2/+8
| | | | | | | | | | | | The -isystem flag specifies an include directory that is afforded the same special treatment (e.g., suppression of warnings) as the typical system include directories.
* | Merged default branch into python3-port to keep it up to date.Gary Oberbrunner2014-08-231-0/+5
|\ \ | |/ | | | | | | Hand-updated a few things to keep them python3-safe, and handled several merge conflicts.
| * Adding a unit-test for pull-request #150Manuel Francisco Naranjo2014-07-211-0/+5
| | | | | | | | | | | | | | A unit-test for pull-request #150 has been create to make sure no regressions are introduced as part of the bugfix. It is kind of salvage it just removes BUILDERS from the dict and check everything can keep going
* | Merged with [default]Stefan Zimmermann2014-03-311-3/+4
|\ \ | |/
| * Switch unit tests to configurable runneranatoly techtonik2014-03-211-3/+4
| |
* | Merged with [default]Stefan Zimmermann2014-03-311-5/+34
|\ \ | |/
| * Fix names in several places and refer to the .PHONY commandTom Tanner2013-10-071-1/+1
| | | | | | | | in the documentation.
| * Merged scons/scons into defaultTom Tanner2013-09-301-1/+7
| |\
| | * Added tests for Literal object comparison, and updated CHANGES.txt.Gary Oberbrunner2013-09-291-1/+7
| | |
| * | Added Pseudo command to environment and tests. If a target is declared asTom Tanner2013-09-301-4/+27
| |/ | | | | | | Pseudo, it must NOT exist after the build rule is executed.
* | More __cmp__ to __eq__ (and __lt__). Resolved some UnboundLocalErrors after ↵Stefan Zimmermann2014-03-311-4/+4
| | | | | | | | except.
* | Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes).Stefan Zimmermann2014-03-311-11/+6
| |
* | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion.Gary Oberbrunner2013-09-221-22/+22
|/
* Fix nested LIBPATH expansion by flattening sequences in subst_path.Gary Oberbrunner2012-10-061-0/+15
| | | | Patch from Alexey Klimkin; fixes issue #2660.
* Applied patch from #2732: support -std=c++0x in ParseFlagsGary Oberbrunner2011-03-031-0/+3
|
* Applied patch from #2433: support -dylib_file in ParseFlagsGary Oberbrunner2011-03-031-3/+6
|
* Added -fopenmp and -openmp to ParseFlags (add to LINKFLAGS and CCFLAGS)Gary Oberbrunner2011-01-121-2/+3
|
* Issue 2390: Support appending to $*FLAGS values (CLVar instances) in aSteven Knight2010-06-151-0/+14
| | | | | copied construction environment without also affecting the value in the original construction environment. (Matt Hughes)
* Test fixes for Solaris, notably making test/Actions/function.py printSteven Knight2010-06-081-2/+2
| | | | intermediate messages to avoid buildbot hangs.
* Convert old-style utility classes in unit test files (*Tests.py)Steven Knight2010-05-121-21/+21
| | | | to new-style classes.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-241-51/+17
| | | | | | | Comb out all code that supported earlier versions of Python. Most such code is in snippets of only a few lines and can be identified by having a Python version string in it. Such snippets add up; this combing pass probably got rid of over 500 lines of code.
* http://scons.tigris.org/issues/show_bug.cgi?id=2317Greg Noel2010-04-231-3/+3
| | | | | | Apply the refactorings from the 'dict' fixer, less occurrences that were manually audited to be safe. Also pick up changes in bin/sfsum, a Python file that was not being scanned before.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-151-15/+5
| | | | | | | | | Fixes due to running the regression tests with the '-3' option to Python2.6, which causes the run-time to look for potential compatibility problems with Python 3.x. In some cases, all we can do is quiet the warning since we still support Python versions that can't use the newer idiom. In other cases, we fix the problem. This patch contains a mix of quieting and fixing, plus a little lint.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-151-1/+1
| | | | | | Apply the first part of the 'raise' fixer (the three-argument cases are not converted and will need to wait until native support of with_traceback() is available).
* Issue 2334: Use compatibility versions of collections.User{Dict,List,String}Steven Knight2010-04-071-9/+9
| | | | | instead of the deprecated User{Dict,List,String} modules. The two test scripts that use User{List,String} fall back on ImportError by hand.
* Issue 2332: Convert from using StringIO.StringIO class to using theSteven Knight2010-04-071-5/+5
| | | | | forward-compatible io.StringIO class, with the addition of an "io" compatibility module for Python versions before 2.6.
* http://scons.tigris.org/issues/show_bug.cgi?id=2329Greg Noel2010-03-271-3/+4
| | | | | | | | | | | | | | | Applied a number of idiomatic changes. Uses of the 'sort()' method were converted into calls of 'sorted()' when possible and the sorted() expression was inserted into a subsequent statement whenever that made sense. The statement 'while 1:' was changed to 'while True:'. Names from the 'types' module (e.g., 'types.FooType') were converted to the equivalent build-in type (e.g., 'foo'). Comparisons between types were changed to use 'isinstance()'.
* Issue 2327: provide a compat sorted() function for pre-2.4 Python versions.Steven Knight2010-03-251-12/+7
|
* Move 2.0 changes collected in branches/pending back to trunk for furtherGreg Noel2010-03-251-132/+131
| | | | | development. Note that this set of changes is NOT backward-compatible; the trunk no longer works with Python 1.5.2, 2.0, or 2.1.
* Generate an error message if a BUILDERS entry is set to something that isn'tSteven Knight2010-02-171-11/+17
| | | | a Builder object, or known to generate a Builder object, or a callable.
* Issue 2401: Fix usage of comparison with None, patch from Jared GrubbGreg Noel2009-05-031-33/+33
|
* Fix case-sensitive handling when a scanner returns None as a suffix.Steven Knight2009-02-191-0/+7
|
* Issue 1193: Make suffix-matching for scanersSteven Knight2009-02-181-0/+17
| | | | case-insensitive on Windows. (Stanislav Baranov)
* Add emacs and vim editing settings to the bottom of *.py files.Steven Knight2009-02-091-0/+6
|
* Issue 1086: add support for generic batch build actions, andSteven Knight2009-01-091-18/+60
| | | | | | | | | | | | | | | | | | | | | | 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. ........
* Fix bug 2193: http://scons.tigris.org/issues/show_bug.cgi?id=2193Gary Oberbrunner2009-01-011-11/+13
| | | | | | | | | | Ap/PrependENVPath now accept paths starting with # and Dirs. Added optional _canonicalize arg to SCons.Util.Ap/PrependPath, and pass an implementation of that into them from Environment.Ap/PrependENVPath. Can't just always do the canonicalization in SCons.Util because there is no env there to get the fs to convert a #-prefixed path to the proper path.
* Make ${,UN}CHANGED_{SOURCES,TARGETS} into future reserved constructionSteven Knight2008-12-071-5/+39
| | | | variable names, with an appropriate warning.
* Fix issue #3: make Append/PrependUnique uniquify the appended/prepended list ↵Gary Oberbrunner2008-12-051-4/+8
| | | | first.
* Issue 2238: Add a __contains__() method to support the "val in env"Steven Knight2008-11-091-0/+36
| | | | statement for construction environments.
* Python 2.6 portability: add __{add,radd}__() methods to the CLVarSteven Knight2008-10-121-0/+4
| | | | class used for testing.
* implement delete_existing for AppendUnique and PrependUnique. Finishes #2091.Gary Oberbrunner2008-10-021-4/+21
|
* Windows portability: use os.sep instead of hard-coded /.Steven Knight2008-09-201-14/+18
|
* Fix issue #2091 by adding new delete_existing flags to Util.{Ap,Pre}pendPath ↵Gary Oberbrunner2008-09-181-0/+28
| | | | and env.{Ap,Pre}pendENVPath.
* Issue 1693: make the subdirectory in which the .sconsign file willSteven Knight2008-09-141-0/+1
| | | | appear (if it doesn't already exist. (Damyan Pepper, Jim Randall)
* Issue 2176: BuilderWrapper __getattr__ should not raise KeyErrorLudwig Hähne2008-09-051-0/+21
|