summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Move 2.0 changes collected in branches/pending back to trunk for furtherGreg Noel2010-03-25325-982/+630
| | | | | 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.
* Split the "live rpcgen" sub-test into its own test script.Steven Knight2010-02-212-71/+114
|
* Fix the test on all Python versions (failed on versions before 2.5 dueSteven Knight2010-02-181-3/+2
| | | | to some regex problem).
* Generate an error message if a BUILDERS entry is set to something that isn'tSteven Knight2010-02-171-0/+62
| | | | a Builder object, or known to generate a Builder object, or a callable.
* Move two Builder-related tests into the test/Builder/ subdirectory.Steven Knight2010-02-162-0/+0
|
* Merged revisions 4645,4647-4651,4654-4656 via svnmerge fromSteven Knight2010-02-052-67/+91
| | | | | | | | | | | | | | | | | | | | | | | | http://scons.tigris.org/svn/scons/branches/pending ........ r4648 | managan | 2010-01-22 09:40:52 -0800 (Fri, 22 Jan 2010) | 9 lines Added dismbiguate calls on a targets side effects in the make_ready_all and make_ready_current routines of Taskmaster.py. This fixes Stefan Hepp's problem with latex. Directories to hold the side effect files were not created when using variantDir with duplicate=0 Modifying subdir_variantdir_include2.py to run scons with an explicit target to reveal this problem. ........ r4654 | stevenknight | 2010-01-27 07:41:01 -0800 (Wed, 27 Jan 2010) | 5 lines Issue 2534: fix Scanners' default ability to return Dir nodes by making the default node_class the real SCons.Node.FS.Base class, not SCons.Node.FS.Entry (which is now, and has been for some time, a subclass). ........
* Win32 portability in runtest.py tests after disabling QMTest by default.Steven Knight2010-01-2616-110/+83
|
* Back out post-2.0 code changes from trunk: r4643, r4642 r4640, r4637.Steven Knight2010-01-212-78/+66
| | | | | This change should itself be backed out before merge "pending" back into trunk.
* Update tex builder to handle the case where a \input{foo}Robert Managan2010-01-201-0/+76
| | | | | | command tries to work with a directory named foo instead of the file foo.tex. The builder now ignores a directory and continues searching to find the correct file.
* Remove unneeded fluff from this test.Robert Managan2010-01-191-66/+2
| | | | Add commented line that will reveal a failure.
* Fix for 2422William Deegan2010-01-111-2/+1
|
* Issue 2505: fix use of pre-compiled headers when the source .cppSteven Knight2010-01-061-0/+107
| | | | file is listed in both the env.PCH() and env.Program() calls.
* Fix some tests so they can still run on Windows system withoutSteven Knight2010-01-063-54/+58
| | | | .py file associations.
* Change scanner to properly search for included file from theRobert Managan2010-01-042-0/+347
| | | | | | | | directory of the main file instead of the file it is included from. Also update the emitter to add the .aux file associated with \include{filename} commands. This makes sure the required directories if any are created for variantdir cases. Half of the patch from Stefan Hepp.
* Fix time-sensitivity (< 0.002 second execution) in output format.Steven Knight2010-01-021-6/+6
|
* Remove unnecessary imports to avoid javac warnings.Steven Knight2010-01-011-13/+5
| | | | Add a necessary serialVersionUID.
* Define "static final long serialVersionUID" in java classes inSteven Knight2010-01-012-0/+16
| | | | RMIC tests to silence warnings from gcj-4.4.
* Avoid GCC 4.4 warnings from the code generated by our dummy QTSteven Knight2009-12-311-77/+1
| | | | moc and uic utilities by using fputs() instead of printf().
* Add scanning of files included in Latex by means of \lstinputlisting{}Robert Managan2009-12-171-0/+131
| | | | Patch from Stefan Hepp.
* Add a separate test of the runtest.py --qmtest option.Steven Knight2009-12-171-0/+105
|
* Fix the tests of runtest.py now that QMTest is no longer being usedSteven Knight2009-12-1615-402/+218
| | | | | | | 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.
* Add a TestSCons.option_not_yet_implemented() method and use it soSteven Knight2009-12-1512-54/+21
| | | | the tests of those options expect an exit status of 1.
* Integrate patch from issue #2436: fix regression from r3691 which stopped ↵Gary Oberbrunner2009-12-051-8/+12
| | | | printing "Entering Directory" with -C/-u.
* Explicitly initialize the environment tools=['mssdk', 'msvc', 'mslink']Steven Knight2009-11-302-2/+6
| | | | | to get the path to the SDK include directory (so our test program can #include <windows.h>).
* Add missing "import string" to test that uses string.replace().Steven Knight2009-11-291-0/+2
|
* Don't hard-code the swig location in the expected output.Steven Knight2009-11-281-11/+7
| | | | Use test.wrap_stdout() instead of hard-coding the SCons messages.
* Add a test for the case where a latex file uses \input{} to include theRobert Managan2009-11-251-0/+96
| | | | | | | | | | file that contains the documentclass command Add logic to is_LaTeX routine to search through included files until \documentclass is found Also added comments, converted comments at start of 2 routines into doc strings..
* Fix bug 1944 - handle non-existant .i files when swig emitter is called. ↵William Deegan2009-11-141-0/+102
| | | | Make an educated guess on the generated module name based on the .i file name.
* Fix test failure in Repository/Java.py on OS XGreg Noel2009-09-181-9/+4
|
* Add test case for configure failure.David Cournapeau2009-09-171-0/+49
| | | | | TryRun fails to find the executable when VariantDir is set up from SConscript/SConstruct.
* Fix tex code to handle broken nomenclature package. (Fixes test failure on ↵William Deegan2009-09-161-8/+16
| | | | | | centos5 slave). Code by Rob Managan.
* Steven checked in some changes yesterday which fixed a great number ofWilliam Deegan2009-09-152-7/+2
| | | | | | | | | | | | | | failing tests by setting SCONSFLAGS='-warn=no-python-version' in def run() in TestSCons.py yesterday, where previously it was done in def __init__(...). This fixed most of the broken tests, but broke some of the working tests. I readded the logic to def __init__ In addition I've added an extra arg to the __init__ for TestSCons.py ignore_python_version (which defaults to true). For those tests which need to be able to see the deprecation and/or test the functionality of the deprecation.
* Revert r4356, the problem is in TestSCons.py, not the test script itself.Steven Knight2009-09-131-3/+3
|
* Remove last checkin.William Deegan2009-09-132-24/+20
|
* Fix test to pass for deprecated python versions. Not what was expected ↵William Deegan2009-09-132-20/+24
| | | | deprecation errors aren't output when --debug=memoizer is on command line, but are when it's passed via SCONSFLAGS.
* Add python version deprecated check to get this test to pass on python 2.3 ↵William Deegan2009-09-121-3/+3
| | | | (hopefully this doesn't break other versions)
* Add a test that the packages used are installed.Robert Managan2009-08-312-0/+8
| | | | Otherwise skip the test.
* As I set up the test case for the glossary and nomencl packagesRobert Managan2009-08-212-0/+202
| | | | | | | | | | | I found that when only one tool (say pdftex) is initialized that some of the actions for bibtex... are not created. Moved most common actions and environment settings to one routine in tex.py that the other text tools (pdftex, pdflatex, latex) call. Also fixed a typo in the nomenclature action setup. There was a '$' that should not have been there.
* Add test for glossaries package. and patch tex.pyRobert Managan2009-08-211-0/+118
| | | | to support it
* Solaris test portability fixes.Steven Knight2009-08-033-3/+15
|
* Use regular expression matching to allow our "do nothing script"Steven Knight2009-08-011-9/+9
| | | | to execute in up to 0.002 seconds.
* Update the Test{Cmd,Common}.py 0.36, with better diff reportingSteven Knight2009-07-245-7/+9
| | | | | | | (specifically of output matches using regular expressions). Update tests for corresponding inteface changes. Add use of diff_re() to test/sconsign/script/Configure.py so we can get accurate information about its buildbot failure.
* Update tex builder to use the -recorder option.Robert Managan2009-07-2210-15/+203
| | | | | | | | | | | | | | | | | This was prompted because MikTeX, used on Windows, does not put the same information on files opened into the log file. The -recorder option gives a .fls file that is the same on all platforms. We still use the .log file contents to find warnings and errors that mean we need to rerun latex... Also add message about errors so user does not have to scroll up through all the latex output to find if there was an error. Update all tests to handle the new command line option. Add one more test on grpahics conversion.
* In addition to changed merged below, commented out for platform os2 use of ↵William Deegan2009-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msvc, mslib, mslink as they cause test/import.py to fail. I don't have an OS2 system to resolve the issues on. Merged revisions 4065,4067-4068,4071-4072,4074,4076,4085,4111,4163,4222 via svnmerge from http://scons.tigris.org/svn/scons/branches/vs_revamp ................ r4065 | stevenknight | 2009-03-02 16:48:05 -0800 (Mon, 02 Mar 2009) | 42 lines Copy over changes by hand from branches/core (I was working in a directory pointing to the wrong branch): ........ r4059 | stevenknight | 2009-03-02 06:54:13 -0800 (Mon, 02 Mar 2009) | 14 lines Initial prototypes of modules for architecture support (MSCommon/arch.py) and Visual C/C++ configuration distinct from (and in preference to) the Visual Studio configuration, incorporating configuration info and ideas from Jason Kenny's latest parts/tools/MSCommon work. This has a lot of cut-and-paste right now and does NOT actually work. In particular, there are no changes to the rest of the infrastructure to actually call any of this new stuff. I'm checking these in so I can sync on other systems for continued development. The ultimate goal is for much of the current MSCommon/vs.py module's logic to migrate to MSCommon/vc.py, since that's what we're actually interested in configuring. ........ r4058 | stevenknight | 2009-03-02 06:49:35 -0800 (Mon, 02 Mar 2009) | 2 lines Fix doc string. ........ r4056 | stevenknight | 2009-03-01 06:10:31 -0800 (Sun, 01 Mar 2009) | 4 lines Change the sanity_check file for 6.1 per Jason's update. Add an optional version string argument to detect_sdk(). Import directly from common, not SCons.Tool.MSCommon.common. ........ r4055 | stevenknight | 2009-02-28 05:29:03 -0800 (Sat, 28 Feb 2009) | 5 lines Minor common.py enhancements: Refactor is_win64() to cache its return value so we don't have to hit registry every time we want to know if the OS is 64-bit. Accept SCONS_MSCOMMON_DEBUG=- to mean print debug messages to stdout. ........ ................ r4067 | stevenknight | 2009-03-06 04:59:21 -0800 (Fri, 06 Mar 2009) | 4 lines Fix entries in batch_file_map, after a double-check with the original code. Use a host_architecture of None in the map to indicate the "default" entry if there isn't a specific .bat file for our current architecture. ................ r4068 | stevenknight | 2009-03-06 05:15:39 -0800 (Fri, 06 Mar 2009) | 2 lines Add include_subdir and lib_subdir data to the SDK definitions. ................ r4071 | stevenknight | 2009-03-10 07:42:53 -0700 (Tue, 10 Mar 2009) | 4 lines Capture basically working snapshot. src/engine/SCons/Tool/msvsTests.py and test/IDL/midl.py still fail, and code needs clean up. ................ r4072 | stevenknight | 2009-03-11 06:38:37 -0700 (Wed, 11 Mar 2009) | 2 lines Fix path to Common7\Tools. Find vs*.bat files. ................ r4074 | stevenknight | 2009-03-13 17:11:55 -0700 (Fri, 13 Mar 2009) | 3 lines Import SCons.Tool.MSCommon.vc so it works regardless of other sys.path manipulation. ................ r4076 | stevenknight | 2009-03-19 08:08:48 -0700 (Thu, 19 Mar 2009) | 7 lines Refactor SDK support: * New mssdk_exists() and mssdk_setup_env() methods as the primary public entry points. * Call internal sdk.*() utility functions that just return information (like the SDK structure) not handle the actual setting. * Give the VisualStudio definitions explicit settings for the SDK version. ................ r4085 | bdbaddog | 2009-04-05 14:30:46 -0700 (Sun, 05 Apr 2009) | 3 lines Fix "can't find module vc" issue when building on windows. ................ r4111 | stevenknight | 2009-04-19 07:47:47 -0700 (Sun, 19 Apr 2009) | 2 lines Doc updates for how MSVS_VERSION is used. ................ r4163 | bdbaddog | 2009-04-29 17:32:43 -0700 (Wed, 29 Apr 2009) | 4 lines Fix for bug 2405 Also refactored some logic from Defaults._defines() into Defaults.processDefines() which is then used by msvs.py ................ r4222 | bdbaddog | 2009-05-31 17:01:22 -0700 (Sun, 31 May 2009) | 8 lines Added definition of HOST_OS|ARCH TARGET_OS|ARCH (For win32 only right now) Migrated some logic to determine arch from Tools/MSCommon -> Platform/Win32.py Fixed lots of minor issues with string values for directories, architectures, and registry keys Switch to find VS installs by registry (was using VC install location previously) Added but commented out that HOST_{OS|ARCH} and TARGET_{OS|ARCH} will become reserved var names in Environment() Need to resolve issues that SCons is issuing messages when SCons itself sets these variables. ................
* - Changed the option--duplicate test to only test the number of hard links ↵Lukas Erlinghagen2009-06-121-1/+13
| | | | on systems that actually support it
* Issue 2229, fix, tests, docGreg Noel2009-05-171-40/+12
|
* Remove duplicate testGreg Noel2009-05-171-90/+0
|
* Fix textfile.py breakaga on platforms with weird end-of-line conventionsGreg Noel2009-05-121-1/+1
|
* Fix site_scons/site_init.py test failure on Windows by using 'type' instead ↵Gary Oberbrunner2009-05-121-3/+9
| | | | of 'cat' if win32.
* Automatically pick up the list of tools from the tool directory ratherGreg Noel2009-05-101-85/+20
| | | | than having a list in the regression test that has to be updated.