summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* I had to add the INDEXSTYLES environment variable to the codeRobert Managan2010-08-231-0/+191
| | | | | | | | | so the user can define a path to look for makeindex style files. When the latex files are generated by another builder the user may have to define env['TEXINPUTS'] or some of the other environment variables so latex can find files that are not sideeffects. This woul dinclude style files and the like.
* Clean up a test file that had some bad PostScript in it. Seems to workRobert Managan2010-08-231-1/+1
| | | | most of the time but it needed fixing.
* This time make it really platform agnostic.Robert Managan2010-08-231-1/+1
| | | | Sorry about the multiple commits!!
* Clean up this test so it is platform agnostic. Added a builder to do theRobert Managan2010-08-231-27/+10
| | | | file copy and rename so it is same for Windows, Linux and Mac
* 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 a test of switching back and forth between Decider() valuesSteven Knight2010-08-201-0/+93
| | | | | (specifically 'MD5' and 'timestamp-match'), copied from back when this functionality was configured with the SourceSignatures() function.
* WHen checking the .tex file for which side effects it generates alwaysRobert Managan2010-08-191-0/+196
| | | | | | | add them if the .tex file is generated by another builder and is not yet created. If the file exists then only add the side effects if they will be created.
* Fix two badly formed epsfiles used in these tests.Robert Managan2010-08-192-2/+2
|
* Fix Windows test failures due to previous commit: skip pkg-config test on ↵Gary Oberbrunner2010-08-162-6/+12
| | | | Windows, and always use -D for CPPDEFPREFIX for simplicity.
* Fix CPPDEFINES problems with dicts (both Append and MergeFlags). From ↵Gary Oberbrunner2010-08-153-2/+325
| | | | Jean-Baptiste Lab. Fixes issue #2671.
* Fix issue with implicit-cache when files are removed on disk. Fixes issue ↵Gary Oberbrunner2010-08-121-0/+74
| | | | #1938.
* Added generation of solution and projects for MSVS 2008 (Evgeny Podjachev)Gary Oberbrunner2010-08-125-8/+319
|
* Support for Fortran 03, from Luca Falavigna.Gary Oberbrunner2010-07-307-0/+839
|
* Fix tests that examine version output to expect new "engine path:" line.Steven Knight2010-07-292-0/+4
|
* Issue 2549: Add support for DMD version 2. (Russel Winder)Steven Knight2010-07-231-0/+3
|
* Missed these new test files in last commit (r5105).Gary Oberbrunner2010-07-226-0/+649
|
* Integrated patch for issue 2571, various fixes for MSVS project generation. ↵Gary Oberbrunner2010-07-225-14/+15
| | | | From Jean-Franois Colson.
* Add .sx assembly files to preprocessed-assembly source scanner list. Closes ↵Gary Oberbrunner2010-07-041-1/+14
| | | | issue 2573.
* Set module metadata for site_scons/site_init.py files. From Arve Knudsen; ↵Gary Oberbrunner2010-07-041-4/+50
| | | | closes issue 2520.
* Add all the per-system and per-user site_scons dirs, per discussion in SEP 002.Gary Oberbrunner2010-07-041-0/+71
|
* Fix #2574: case sensitivity issue with Fortran module scanner.Gary Oberbrunner2010-06-171-0/+66
|
* Solaris portability fix to avoid substitutions during Tool module intialization.Steven Knight2010-06-161-1/+5
|
* Remove unnecessary left-over "import sys" statements.Steven Knight2010-06-1513-26/+0
|
* Issue 2647: In Executor.Null.get_all_children(), really return all ofSteven Knight2010-06-153-18/+84
| | | | the children, including the explicit dependencies, not just the sources.
* Merged revisions 4727-4729,4731-4938,4940-5028 via svnmerge fromSteven Knight2010-06-154-8/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ........
* Move update-release-info.py from src/ to tests/update_release-info/Greg Noel2010-06-111-0/+256
|
* Windows portability.Steven Knight2010-06-101-1/+5
|
* More Solaris test fixes.Steven Knight2010-06-102-4/+2
|
* Increase the default timeout of TestSCons.wait_for() to 20.0 seconds.Steven Knight2010-06-105-9/+9
| | | | | | | | | | | | (--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.
* Move test/update-release-info.py to src/test_update-release-info.py.Steven Knight2010-06-101-244/+0
|
* More Solaris test fixes:Steven Knight2010-06-087-34/+64
| | | | | | | | | * 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-082-2/+2
|
* Test fixes for Solaris, notably making test/Actions/function.py printSteven Knight2010-06-085-29/+44
| | | | intermediate messages to avoid buildbot hangs.
* Fixed a bug in the regression test to use the right filenames for eachGreg Noel2010-06-071-10/+9
| | | | | | | | | | | platform; it was causing the test to fail on Windows. Added some documentation to bin/update-release-info.py. In my last log message, I forgot to mention that QMTest/TestRuntest.py was tweaked to make it less specialized for testing runtest.py. It can now be used to test other programs; in this case, bin/update-release-info.py. The defaults are unchanged so that it will normally test runtest.py.
* Windows portability: \ separators in the expected output.Steven Knight2010-06-071-6/+6
|
* Don't skip runtest.py tests on systems that don't have QMTest installed.Steven Knight2010-06-071-4/+5
|
* Initial drop of bin/update-release-info.py.Greg Noel2010-06-071-0/+245
| | | | | | | | | | | | 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.
* Explicitly initialize the construction environment with tools = ['mssdk',Steven Knight2010-06-061-1/+2
| | | | | 'msvc', 'mslink', 'midl'], so the test can actually find and compile against things like the atlbase.h file.
* Windows portability fixes in various tests. Fix runtest.py detectionSteven Knight2010-06-065-19/+31
| | | | of non-zero exit status on systems that don't have os.WEXITSTATUS().
* Fix a ripple effect from the change to TestSCons.re_escape().Steven Knight2010-06-051-5/+2
|
* Re-enable tests on non win32 platforms.William Deegan2010-06-0513-62/+38
| | | | This should alter the HOST_ARCH for these tests on non-x86 platforms to x86 and therefore run.
* Fix failing tests on macosxWilliam Deegan2010-06-0413-0/+78
|
* Prepare for checkpoint release. Everything should be set up and readyGreg Noel2010-05-303-3/+3
| | | | | | | | | | | | | | 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-282-5/+4
| | | | | Thanks to Steven Knight, the SCCS and Perforce tests have been debugged. Only the BitKeeper test remains to be debugged.
* http://scons.tigris.org/issues/show_bug.cgi?id=2365Greg Noel2010-05-2829-257/+557
| | | | | | 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-271-2/+2
| | | | | | | * 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.
* Move tests for SourceCode() into test/Deprecated as a preliminary to beginningGreg Noel2010-05-2624-0/+0
| | | | the deprecation cycle.
* Start the deprecation cycle for the BuildDir() method and the build_dirGreg Noel2010-05-2621-79/+95
| | | | | | | | | | | | | | | | | | | | | | 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.
* Update deprecated features to the next life-cycle stageGreg Noel2010-05-2111-84/+82
|
* Convert old-style classes in test scripts to new-style classes.Steven Knight2010-05-206-9/+10
|