summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Node/FSTests.py
Commit message (Collapse)AuthorAgeFilesLines
* Change test for str(node1) is str(node2) to use ==. Expecting that the ↵William Deegan2018-11-121-1/+4
| | | | strings would have the same id() is not reasonable. Expecting their values are equal is.
* Fix typosWilliam Deegan2018-11-121-1/+1
|
* fix whitespace issuesWilliam Deegan2018-11-121-3/+0
|
* Create test to verify fix for issue #2980William Deegan2018-11-121-0/+137
| | | | | | There are still possible errors due to timestamp-MD5 + cachedir + changed implicit or regular dependencies (but the same # of such as the previous build). These are not yet handled as the fix being used for changed number of such breaks a number of tests. This fix doe reduce the number of possible issues.
* remove unittest.TestSuite() no longer needed as unittest.main() is available ↵William Deegan2018-11-121-32/+1
| | | | now. (And seems actually a little faster)
* Switched test to use assertFalse because of deprication warning in 3.7Daniel Moody2018-08-101-1/+1
|
* Updated FS to handle removal of splitunc function from python 3.7Daniel Moody2018-08-101-1/+6
|
* Updates to get_text_content() logic and testsWilliam Deegan2017-08-241-2/+2
|
* Fix issue for PY3 where file content has not BOM and isn't ascii by ↵William Deegan2017-08-231-0/+8
| | | | decodeing to utf-8
* PY2/3 disable symlink and links for win32 in FSTests.pyWilliam Deegan2017-05-171-0/+8
|
* more removal of sccs and rcs builder logicWilliam Deegan2017-04-181-33/+0
|
* py2/3 os.symlink is now defined for win32, but unless user has privs it will ↵William Deegan2017-04-041-6/+4
| | | | always fail. For not skipping symlink tests
* Fix test for py3 & py2 compatWilliam Deegan2017-02-261-9/+9
|
* Post merge commit for safety. Building Fortran code works, but tests fail.Russel Winder2015-12-241-134/+174
|\
| * removed several pre-2.7 methods and imports, including some basic refactoringsDirk Baechle2015-12-101-10/+0
| |
| * - switching Node class and NodeInfo/Binfo to using slotsDirk Baechle2015-02-261-124/+148
| | | | | | | | - memoizer subsystem now uses decorators instead of the metaclass approach
| * - added new method rentry_exists_on_disk (check for physical files/dirs)Dirk Baechle2014-11-051-0/+26
| |
* | Merged with [default]Stefan Zimmermann2014-03-311-3/+4
|\ \ | |/
| * Switch unit tests to configurable runneranatoly techtonik2014-03-211-3/+4
| |
* | Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes).Stefan Zimmermann2014-03-311-2/+2
| |
* | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion.Gary Oberbrunner2013-09-221-17/+17
|/
* Misc Windows test cleanupsGary Oberbrunner2011-02-271-1/+1
|
* Fix last commit for python 2.3; no string.rsplit(). Use rindex instead.Gary Oberbrunner2010-11-211-0/+9
|
* Additional UNC path test case for FS.pyGary Oberbrunner2010-11-191-0/+11
|
* Fix for issue #1420, Windows UNC path handling. Applied patch from Benoit ↵Gary Oberbrunner2010-11-181-14/+257
| | | | Belley after updating it to fit into trunk, and added a couple of extra tests from issues 1420, 1857 and 1948.
* Fix issue 2048: when morphing an Entry into a Dir, retain any existing ↵Gary Oberbrunner2010-07-311-2/+2
| | | | executor action list.
* Fix unit test ripple effect from converting SCons.Util.Proxy to a new-style ↵Steven Knight2010-05-191-2/+4
| | | | class.
* Eliminate custom use of old-style Proxy class in Node/FSTests.py.Steven Knight2010-05-171-8/+1
|
* Convert old-style classes to new-style classes.Steven Knight2010-05-121-10/+10
| | | | | | | Leave the Proxy class in Node/FSTests.py, which can't be converted until we convert Node/FS.py itself. Update the AttributeError matches to search for the new "'Foo' object..." error message in addition to the old "'Foo' instance..." message.
* Convert to Python 3.x division rules.Greg Noel2010-04-241-3/+4
|
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-241-12/+6
| | | | | | | 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.
* Rewrite uses of reduce(), which is being deprecated for Python 3.x.Steven Knight2010-04-201-1/+4
|
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-151-1/+1
| | | | | | | | | 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-4/+4
| | | | | | 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-2/+2
| | | | | 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-4/+6
| | | | | 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-11/+6
| | | | | | | | | | | | | | | 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()'.
* Move 2.0 changes collected in branches/pending back to trunk for furtherGreg Noel2010-03-251-63/+55
| | | | | 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.
* Fix issue #2419 by sorting the other return path from glob() in FS.py. ↵Gary Oberbrunner2009-05-291-1/+7
| | | | Thanks to Jin Liu for the original analysis of the problem.
* Issue 2401: Fix usage of comparison with None, patch from Jared GrubbGreg Noel2009-05-031-2/+2
|
* 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-4/+12
| | | | | | | | | | | | | | | | | | | | | | 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. ........
* Allow subclassing of File and Dir nodes by having the must_be_same()Steven Knight2008-12-301-0/+14
| | | | method check for isinstance(), not an exact class match.
* Issue 2255: Handle scanning of UTF-8 and UTF-16 files. (Greg Spencer)Steven Knight2008-12-121-0/+81
|
* Fix a Glob() exception (with stack trace) when an explicit NodeSteven Knight2008-12-021-7/+26
| | | | | exists in a repository directory without a corresponding on-disk file or directory.
* Fix an exception and stack trace when Glob() hits an on-disk file orSteven Knight2008-11-081-5/+17
| | | | directory that begins with '#'.
* Applied Benoit Belley's patch in ticket 1957 improve the robustness ofGary Oberbrunner2008-10-291-1/+1
| | | | | | | | | | | | GetBuildFailures(). New function convert_to_buildError, and use it in several places so all build failures now go through it and are returned as BuildError exceptions. Had a small effect on output formatting in many tests but no significant change to behavior. I reworked the patch a little to keep SCons exit status values the same as before; this patch could make it simpler to change them in some cases, e.g. exit with the errno of the failed action if desired. One nice side effect of this patch is that more scons errors print the node that caused the error now.
* Change FUTURE markers to TODO(1.5) so we are all using the same style.Greg Noel2008-09-251-0/+1
|
* 1.5 compatiblity: string method in Node/FSTests.py.Steven Knight2008-09-231-1/+1
|
* Windows portability: use os.path.join() for expected subdirectory paths.Steven Knight2008-09-201-1/+6
|