summaryrefslogtreecommitdiffstats
path: root/test/SConsignFile
Commit message (Collapse)AuthorAgeFilesLines
* [ci skip] typo in error message in testWilliam Deegan2020-01-021-2/+2
|
* Fix use-dbm test to work with sconsign files using dbm but where the ↵William Deegan2020-01-011-7/+10
| | | | underlying dbm implementation still writes the file without applying a suffix (like .db). This is due to Travis-ci's py3.8's dbm not applying suffix. Which seems unusual, but still valid
* set tools=[] for test/SConsignFile/use-dbm.pyWilliam Deegan2019-12-281-1/+3
|
* Tweak a few testsMats Wichmann2019-05-301-4/+9
| | | | | | | | | | | | | "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-256-24/+12
| | | | | | | 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>
* py2/3 set python path to be raw string literal py3 was trying to interpret ↵William Deegan2017-05-161-1/+1
| | | | path as unicode
* py2/3 use dbm.ndbm on py3 and plain dbm doesn't create .sconsign.db, but ↵William Deegan2017-04-241-3/+9
| | | | rather .sconsign and causes test to fail. Continue to use dbm on py2 as dbm.ndbm doesn't exist there
* Fix dumbdbm/dbm.dumb for py2/3William Deegan2017-04-011-4/+9
|
* check for correct gdbm module to decide to skip or not py2/3William Deegan2017-03-201-1/+1
|
* Commit resolved conflicted merge.Russel Winder2016-04-104-4/+4
|\
| * Fix for backslash being treated as an escape characterThomas Tanner2016-01-304-4/+4
| | | | | | | | | | On my windows system, my python is in c:\apps\32\python. Theres a lot of places where that \32 gets turned into an ascii character and the unit tests don't run.
* | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion.Gary Oberbrunner2013-09-224-4/+4
|/
* Add tests of using SConsignFile() with Python dbm modules.Steven Knight2010-08-214-0/+395
| | | | | Related fixes: explicitly close the db when we close it, and add a .close() method to dblite.py.
* Add emacs and vim editing settings to the bottom of *.py files.Steven Knight2009-02-093-0/+18
|
* Windows portability (path names in expected output).Steven Knight2008-09-221-2/+7
|
* Issue 1693: make the subdirectory in which the .sconsign file willSteven Knight2008-09-143-0/+226
| | | | appear (if it doesn't already exist. (Damyan Pepper, Jim Randall)
* Revert the previous change, I overlooked some regression test failures.Steven Knight2008-09-133-226/+0
|
* Issue 1693: Make the directory in which the .sconsign file will live,Steven Knight2008-09-133-0/+226
if the directory doesn't already exist. (Damyan Pepper, Jim Randall)