summaryrefslogtreecommitdiffstats
path: root/QMTest
Commit message (Collapse)AuthorAgeFilesLines
* - several smaller fixes to get all tests running under Buildbot againdirkbaechle2012-09-271-40/+31
|
* - added two new functions must_exist_one_of/must_not_exist_any_of to TestCmd,dirkbaechle2012-09-063-4/+262
| | | | | | | | supporting wildcards - rewrote several test/packaging tests, using the new matching functions instead of relying on the os.uname() machine value for determining the resulting RPM filename - renamed glob modules in test/scons-time to avoid name clashes - minor fix: added Java 1.7 as supported version to Tool/JavaCommon.py
* - first swoop of changes for getting all Buildbot slaves to run successfully ↵dirkbaechle2012-09-041-6/+6
| | | | again
* - removed Aegis supportdirkbaechle2012-08-121-10/+0
|
* - fixed directory/file fixtures for "general" modedirkbaechle2012-08-123-5/+436
| | | | | - added documentation for the testing framework - converted two old tests from the "packaging" section to using fixtures as reference examples
* - renamed the '-j' option to '-k', such that we can use the former for ↵dirkbaechle2012-08-092-10/+2
| | | | | | | | | 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)
* - fixed where_is for standard modedirkbaechle2012-08-031-2/+2
|
* - basic merge with source from the external scons-test-frameworkdirkbaechle2012-08-032-69/+225
|
* Merged msvc11 branch from stopiccot.Gary Oberbrunner2012-05-071-0/+107
|\
| * copy paste unit tests for VC11stopiccot2012-03-041-0/+107
| |
* | Merged in garyo/scons (pull request #18)Gary Oberbrunner2012-04-071-0/+24
|\ \ | |/ |/|
| * Fix test failures in test/explain/basic.py on Windows due to drive-name case ↵Gary Oberbrunner2012-04-071-0/+24
| | | | | | | | | | | | | | problems (C: vs. c:) Added new test match function, match_caseinsensitive to handle this and probably other similar cases.
* | Fix in Visual Studio project generation. When project contains only one ↵stopiccot2012-02-121-2/+2
| | | | | | | | *.cpp or only one *.h file, incorrect paths are generated.
* | Add 2012 to the copyright year listWilliam Deegan2012-01-161-1/+1
|/
* Fix bug 2772William Deegan2011-06-171-1/+1
|
* Fix test/sconsign/script/dblite.py test on Windows (adjusted expected result ↵Gary Oberbrunner2011-05-151-0/+2
| | | | to match actual). Also made failing match_re more verbose for easier test debugging.
* Fix TEX auxiliary test by normalizing ps output to avoid spurious failures ↵Gary Oberbrunner2011-05-041-0/+12
| | | | (from Rob Managan)
* Fix #2740, using PRESERVE with runtest.py.Gary Oberbrunner2011-03-111-1/+1
|
* Misc Windows test cleanupsGary Oberbrunner2011-02-271-1/+4
|
* Apply patch from issue #2710. Test harness fixes only, no user impact (no ↵Gary Oberbrunner2011-02-132-2/+35
| | | | doc/changelog). Predecessor to fixing #2708.
* Fix test/update-release-info/update-release-info.py to work in the year 2011William Deegan2011-01-261-1/+1
|
* Integrate patch for issue 2691: MSVS 10.0 project file generation.Gary Oberbrunner2010-10-161-0/+105
|
* Updates the timing infrastructure to:Steven Knight2010-08-181-10/+32
| | | | | | | | | | 1) allow the calibration script to only use some of the variables that are settable in the configuration; 2) refactor the way the --debug= options are added to the SCons invocations so that an individual timing configuration can add SCons options without having to account for those by hand; 3) give the timing configuration script easier access to the test directory in which it lives.
* Added generation of solution and projects for MSVS 2008 (Evgeny Podjachev)Gary Oberbrunner2010-08-121-0/+131
|
* Integrated patch for issue 2571, various fixes for MSVS project generation. ↵Gary Oberbrunner2010-07-221-22/+27
| | | | From Jean-Franois Colson.
* Windows fix: use shell=True on subprocess.Popen(), don't use communicate().Steven Knight2010-06-281-2/+3
|
* Generalize searching for the Fortran startup libraries (-lfrtbeginSteven Knight2010-06-271-16/+14
| | | | vs. -lgfortranbegin) for gcc version 4.4 (and later).
* Add __COPYRIGHT__ and __FILE__ template strings.Steven Knight2010-06-161-0/+3
|
* Revert in-directory changes inadvertently swept up in the last checkin.Steven Knight2010-06-151-1/+1
|
* Issue 2390: Support appending to $*FLAGS values (CLVar instances) in aSteven Knight2010-06-151-1/+1
| | | | | copied construction environment without also affecting the value in the original construction environment. (Matt Hughes)
* Merged revisions 4727-4729,4731-4938,4940-5028 via svnmerge fromSteven Knight2010-06-155-101/+5876
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://scons.tigris.org/svn/scons/branches/pending ........ r4942 | stevenknight | 2010-06-03 12:41:20 -0700 (Thu, 03 Jun 2010) | 13 lines Isseu 2641: Latest drop of the TestCmd infrastructure, v. 1.3, including: * Support for test timeouts. * Ability to set separate match_stdout and match_stderr functions. * Ability to set separate diff_stdout and diff_stderr functions. * Static methods for the various underlying match* and diff* functionality. * Ability to get at the various match* and diff* functions by attribute name. * Got rid of checks for difflib now that Python 2.3 is the floor (for this infrastructure, anyway). Ripple effects in two test scripts. Added upstream unit test modules (QMTest/Test{Cmd,Common}Tests.py). Added a README.txt file. ........ r4943 | stevenknight | 2010-06-03 13:00:31 -0700 (Thu, 03 Jun 2010) | 2 lines Grab the correct TestCmd files with the updated version number. ........ r4946 | managan | 2010-06-04 09:39:20 -0700 (Fri, 04 Jun 2010) | 4 lines On Windows add a '/D' to the command line so it recognizes drive letters in the source or target file paths ........ r4947 | managan | 2010-06-04 09:51:48 -0700 (Fri, 04 Jun 2010) | 5 lines The scanner was not parsing the dependencies in \includegraphics commands when there was whitespace (including carriage returns) in the command. While we need a better long term fix this covers this concern. ........ r4948 | managan | 2010-06-04 11:13:12 -0700 (Fri, 04 Jun 2010) | 3 lines Dropped an import line that is needed by the last commit of mine for Windows depenedant option on latex command lines ........ r4949 | managan | 2010-06-04 12:27:48 -0700 (Fri, 04 Jun 2010) | 7 lines Some latex packages break up commands where you normally could not by using a comment character at the end of the first line. Our current scanner broke on this and lost some dependecies. While we need general fix, this patch solves this problem ........ r4950 | managan | 2010-06-04 15:51:36 -0700 (Fri, 04 Jun 2010) | 5 lines Tweak how we handle comments within Latex source files when scanning and looking for dependencies. We were adding a space when a comment broke a line and we should not have. ........ r4984 | managan | 2010-06-07 09:37:40 -0700 (Mon, 07 Jun 2010) | 6 lines The multi-line_include-options test failed to check for the existence of latex. Added that so this test is skipped on systems without latex. ........
* This changeset increments the trunk to the next minor level, 2.1.0, andGreg Noel2010-06-151-1/+1
| | | | | | | | updates the dates and other information in the files to have the right base values. With this changeset, 2.0.0 is history and a new era has begun. It's time to celebrate; anybody want a beer?
* Increase the default timeout of TestSCons.wait_for() to 20.0 seconds.Steven Knight2010-06-101-1/+10
| | | | | | | | | | | | (--interactive mode on our Solaris buildbot slave takes longer than 10 seconds to create the necessary marker files.) Set the stdin attribute on our popen object to None after we close it, so some versions of subprocess.py don't try to write it after it's closed. If we time out waiting for a marker file to be created, then print any stdout or stderr that's already accumulated, since that may give clues about why the test failed.
* More Solaris test fixes:Steven Knight2010-06-081-2/+2
| | | | | | | | | * Different messages and exit codes for errors. * Fix Solaris shared suffixes. * Add a function declaration to some in-line C code to avoid a warning from Sun's compiler. * Make test/Parallel/multiple-parents.py chatty to avoid hangs, and reduce how many times it calls SCons just to make it go a little quicker.
* Remove the rest of the logic for the noqmtest keywordGreg Noel2010-06-081-7/+0
|
* Don't skip runtest.py tests on systems that don't have QMTest installed.Steven Knight2010-06-071-5/+0
|
* Initial drop of bin/update-release-info.py.Greg Noel2010-06-071-9/+11
| | | | | | | | | | | | This program automates the process of inserting the release configuration information that is currently done by hand. The configuration data now all lives in a file, 'ReleaseConfig'. Change the configuration file, run the program, and, hey presto, the files are updated. More work needs to be done; the documentation doesn't quite match with the program and the regression tests only cover the release flows, but it's important to get this stuff out before the next release is published so people can start using it.
* Oops, backslash must be done first, or backslashes from previous substitutionsGreg Noel2010-06-051-1/+1
| | | | will be quoted.
* The re_escape() function escapes too little. Blind fix for a Windows problem.Greg Noel2010-06-051-1/+1
|
* Re-enable tests on non win32 platforms.William Deegan2010-06-051-4/+41
| | | | This should alter the HOST_ARCH for these tests on non-x86 platforms to x86 and therefore run.
* Prepare for checkpoint release. Everything should be set up and readyGreg Noel2010-05-301-3/+6
| | | | | | | | | | | | | | to go. Update various files to have the correct date, time, version, and floor. Rework Script/Main.py and QMTest/TestSCons.py to make automated updating possible in the future. Remove a duplicate MANIFEST-xml.in entry. Fix TeX tests, which ran 'kpsewitch' before determining if the TeX tools were installed.
* http://scons.tigris.org/issues/show_bug.cgi?id=2365Greg Noel2010-05-281-16/+77
| | | | | | Start the deprecation cycle for SourceCode() and its related factory functions. Deprecation messages are added to the functions. Regression tests are modified to deal with the messages being generated. Documentation is updated.
* Update QMTEst/Test{Cmd,Common}.py to version 1.1 from upstream:Steven Knight2010-05-272-212/+166
| | | | | | | * incorporate and update the Python 3.0 fixer work by Greg: * full conversion to using subprocess for execution; * rename exactly_contain_all_lines() to must_contain_exactly_lines(); * other minor fixes and stylistic cleanups.
* Start the deprecation cycle for the BuildDir() method and the build_dirGreg Noel2010-05-263-85/+116
| | | | | | | | | | | | | | | | | | | | | | keyword parameter. Several existing tests were still using BuildDir() or build_dir; they were converted to use VariantDir() and variant_dir. New tests were added to validate that the --warn=deprecated-build-dir option and the SetOption method did the right thing. This led to the discovery that a commonly-used test pattern provided by the infrastructure gobbled up too much, causing tests to succeed when they should have failed. Fixing the pattern led to other tests needing to be fixed. In the process, it was discovered that the SCONSFLAG environment variable was not getting correctly reset to its original value. Fixing this also caused additional tests to misbehave, requiring them to be updated. And test/Sig.py, which tests the deprecated SCons.Sig module, was moved to the test/Deprecated directory. All in all, quite a lot of action for what was supposed to be a simple change.
* Delete references to QMTest/unittest.py, which has been removed.Steven Knight2010-05-251-1/+0
|
* Remove QMTest/unittest.py, which we had captured to support pre-2.1 Pythons.Steven Knight2010-05-211-700/+0
|
* Update deprecated features to the next life-cycle stageGreg Noel2010-05-211-0/+20
|
* Use slice built-in instead of types.SliceTypeGreg Noel2010-05-011-2/+1
|
* Add test routine to exactly match a set of lines no matter the orderGreg Noel2010-05-011-0/+52
|
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-262-18/+16
| | | | Apply all the remaining changes from the fixers.