Source

SCons / runtest.py

Author Commit Message Labels Comments Date
dirkbaechle
- several smaller fixes to get all tests running under Buildbot again
dirkbaechle
- removed Aegis support
dirkbaechle
- fixed directory/file fixtures for "general" mode - added documentation for the testing framework - converted two old tests from the "packaging" section to using fixtures as reference examples
dirkbaechle
- renamed the '-j' option to '-k', such that we can use the former for parallel processing later on - changed list(map()) to list comprehensions - removed try/except block around os.environ.get() for SCONS_EXTERNAL_TEST - fixed a potential deadlock for subprocess.Popen by using temporary files - added the '--nopipefiles' option to switch off this temp file fix (not recommended though)
dirkbaechle
- fixed usage of subprocess module in runtest.py - fixed tests in test/runtest (needed -j option for suppressing the count/percent messages)
dirkbaechle
- basic merge with source from the external scons-test-framework
Gary Oberbrunner
runtest.py: added doc for useful env vars.
William Deegan
allow runtest.py -f file to have list of files with whitespace before or after filenames
anatoly techtonik
remove Python 1.5.2 compatibility code from runtest.py
Steven Knight
Windows portability fixes in various tests. Fix runtest.py detection of non-zero exit status on systems that don't have os.WEXITSTATUS().
Steven Knight
Convert old-style classes in miscellaneous files to new-stylre classes: src/test_strings.py, runtest.py and doc/man/scons.1.
Greg Noel
http://scons.tigris.org/issues/show_bug.cgi?id=2345 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.
Greg Noel
http://scons.tigris.org/issues/show_bug.cgi?id=2345 Pass the python executable from the -P option to runtest to TestCmd.py. Create the escaped executable name in TestCmd.py as well. Pass those two values into derived test modules. Fix cascade problems in test scripts due to incorrect assumptions about the name of the executable.
Greg Noel
http://scons.tigris.org/issues/show_bug.cgi?id=2345 One-line changes: Wrap pickle.dump with staticmethod(). Keep softspace in Unbuffered wrapper class for backward compatibility with 3.x. Use ModuleType as a factory function rather than a base class. Derive exception class from something derived from BaseException (required for 3.x).
Greg Noel
Index: test/Variables/help.py =================================================================== --- test/Variables/help.py (revision 4792) +++ test/Variables/help.py (working copy) @@ -28,23 +28,15 @@ Test the Variables help messages. """ -import os.path +import os -try: - True, False -except NameError: - exec('True = (0 == 0)') - exec('False = (0 != 0)') +import TestSCons str_True = str(True) str_False = str(False) -import TestSCons - test = TestSCons.TestSCons() - - workpath = test.workpath() qtpath = os.path.join(workpath, 'qt') libpath = os.path.join(qtpath, 'lib') Index: test/Variables/PackageVariable.py ==…
Steven Knight
Add a -3 option to print Python 3.x incompatibility warnings during tests.
Steven Knight
Replace remaining os.path.walk() calls with os.walk().
Greg Noel
http://scons.tigris.org/issues/show_bug.cgi?id=2329 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'). Compariso…
Greg Noel
Move 2.0 changes collected in branches/pending back to trunk for further 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.
Steven Knight
Only escape the executable python string itself on the display line.
Steven Knight
Fix the tests of runtest.py now that QMTest is no longer being used by default. Fix use of subprocess in Python 2.4+ and exit statuses of popen'ed scripts in earlier versions of Python. Support the ability to execute a directory's tests by naming the directory as a command- line argument.
Steven Knight
Disable QMTest by default, leave it available when --qmtest is used.
Lukas Erlinghagen
- Merged r4228 (Bugfix for runtest.py) from branches/installer
Greg Noel
Issue 2306: Exclude non-test files from regression tests. While runtest.py was opened, changed two unnecessary absolute paths to relative.
Steven Knight
Add emacs and vim editing settings to the bottom of *.py files.
Steven Knight
Fix execution on systems where qmtest is in a path that contains spaces (C:\Program Files\Python24\Scripts) by just using the found qmtest name.
Steven Knight
Update the runtest.py test for the error message change. Clarify the error message a bit.
Gary Oberbrunner
runtest.py: find qmtest as qmtest.py on Windows.
Steven Knight
Rudimentary Python 2.6 portability in the test infrastructure, fixing "import popen2" warnings that interfere with some of the tests executing cleanly. This converts to using subprocess by default, falling back to popen2 if it's not available.
Steven Knight
Merged revisions 2647-2719 via svnmerge from http://scons.tigris.org/svn/scons/branches/core ........ r2649 | stevenknight | 2008-02-08 06:43:30 -0800 (Fri, 08 Feb 2008) | 3 lines Make the "bootstrap" copy directory relative to the script location regardless of where the user is when executing. ........ r2650 | stevenknight | 2008-02-09 09:26:40 -0800 (Sat, 09 Feb 2008) | 3 lines Chdir back to the original directory before removing our temporary directory, to avoid "Permissi…
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next