stevenknight [Thu, 17 Dec 2009 05:51:33 +0000 (05:51 +0000)]
Add a separate test of the runtest.py --qmtest option.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4556
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 17 Dec 2009 02:09:50 +0000 (02:09 +0000)]
Fix the time-scons.py --logfiles option.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4555
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 16 Dec 2009 07:07:13 +0000 (07:07 +0000)]
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.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4554
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Wed, 16 Dec 2009 02:29:54 +0000 (02:29 +0000)]
Better fix for #2530: dont exit at all on unimplemented options, just print a warning and keep going.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4553
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 15 Dec 2009 23:46:55 +0000 (23:46 +0000)]
...and call the correct method.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4552
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 15 Dec 2009 23:44:04 +0000 (23:44 +0000)]
Typo fix.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4551
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 15 Dec 2009 22:40:17 +0000 (22:40 +0000)]
Disable QMTest by default, leave it available when --qmtest is used.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4550
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 15 Dec 2009 21:44:56 +0000 (21:44 +0000)]
Add a bin/time-scons.py script to manage invocation of runtest.py to
collect SCons timings.
The script will build SCons and time the pre-compiled *.pyc files,
and also provides options for timing a range of revisions directly
from SVN.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4548
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 15 Dec 2009 06:35:05 +0000 (06:35 +0000)]
Add a TestSCons.option_not_yet_implemented() method and use it so
the tests of those options expect an exit status of 1.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4547
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Tue, 15 Dec 2009 02:43:01 +0000 (02:43 +0000)]
Integrated patch for bug 2530: SCons should not exit with 0 (success) on unimplemented option error.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4546
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 10 Dec 2009 16:27:03 +0000 (16:27 +0000)]
Provide an environment variable that can be used to override
setting --warn=no-visual-c-missing when trying to run the new
timing-script infrastructure against older versions of SCons that
don't have that warning.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4545
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 10 Dec 2009 16:00:17 +0000 (16:00 +0000)]
Add separate memory graphs for the stats in the full and null runs.
Refactor stats-gathering so we collect them from the output in one step
and can then trace them in multiple different ways.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4544
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 10 Dec 2009 13:36:10 +0000 (13:36 +0000)]
Record memory in kbytest, not bytes.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4543
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 10 Dec 2009 06:19:43 +0000 (06:19 +0000)]
Add a script for calibrating settings for timing configurations.
Update the timings scripts with calibrated settings that run
a full build between 9.5 and 10.0 seconds on the buildbot slave.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4542
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 10 Dec 2009 03:42:30 +0000 (03:42 +0000)]
Infrastructure to support calibration runs of TimeSCons tests, which
only run a full build and report back the values of any variables
affecting the configuration, and the elapsed time of the full build.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4541
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 9 Dec 2009 19:28:41 +0000 (19:28 +0000)]
Update the TimeSCons class for use of the sort= keyword instead of
important=. Fix an old-version Python problem (use of True in
keyword arg initialization).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4539
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 9 Dec 2009 18:23:57 +0000 (18:23 +0000)]
Have the TimeSCons class examine the run output for the reported memory
use and timings, and translate these into TRACE: lines with keyword=value
pairs that will be processed by the now more generic buildbot-side log
processor to populate the timings graph data.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4538
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 8 Dec 2009 22:02:30 +0000 (22:02 +0000)]
Update the TimeSCons "elapsed time" message to match the log processor.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4534
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Sun, 6 Dec 2009 14:17:33 +0000 (14:17 +0000)]
Fix typo in man page, per patch in issue #2529.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4513
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Sat, 5 Dec 2009 02:39:27 +0000 (02:39 +0000)]
Integrate patch from issue #2436: fix regression from r3691 which stopped printing "Entering Directory" with -C/-u.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4512
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Mon, 30 Nov 2009 13:47:11 +0000 (13:47 +0000)]
Explicitly initialize the environment tools=['mssdk', 'msvc', 'mslink']
to get the path to the SDK include directory (so our test program can
#include <windows.h>).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4498
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 29 Nov 2009 05:11:31 +0000 (05:11 +0000)]
Fix c++ compiler detection: correct the order of values returned,
return the dirname of the executables found, not the full path.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4495
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 29 Nov 2009 04:25:57 +0000 (04:25 +0000)]
Add missing "import string" to test that uses string.replace().
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4494
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 28 Nov 2009 06:17:41 +0000 (06:17 +0000)]
Fix get_host_target()'s use of platform.machine() on Python versions
before 2.6, when it always returns a null string.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4493
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 28 Nov 2009 04:52:19 +0000 (04:52 +0000)]
Don't hard-code the swig location in the expected output.
Use test.wrap_stdout() instead of hard-coding the SCons messages.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4492
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 28 Nov 2009 00:41:44 +0000 (00:41 +0000)]
Remove the obsolete msvs_exists() unit test.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4491
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 28 Nov 2009 00:41:26 +0000 (00:41 +0000)]
Fix test infrastructure querying for installed Visual Studio versions.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4490
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 27 Nov 2009 16:41:56 +0000 (16:41 +0000)]
Add a compat module for the (Python 2.3) platform.py module so that tests
using early Python versions work correctly, and without relying on the
QMTest infrastructure adding the installed Python version's directories
to sys.path.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4489
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Fri, 27 Nov 2009 15:30:53 +0000 (15:30 +0000)]
Add __COPYRIGHT__ strings.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4488
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Thu, 26 Nov 2009 22:09:23 +0000 (22:09 +0000)]
Fix wrong var name in r4486, thanks Greg!
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4487
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Thu, 26 Nov 2009 21:13:37 +0000 (21:13 +0000)]
Use VisualCMissingWarning instead of making a stack trace for unsupported MSVC version.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4486
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 26 Nov 2009 19:20:47 +0000 (19:20 +0000)]
Python 1.5 fix: no +=
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4485
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
managan [Wed, 25 Nov 2009 21:47:43 +0000 (21:47 +0000)]
Add a test for the case where a latex file uses \input{} to include the
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..
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4483
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Wed, 25 Nov 2009 03:51:06 +0000 (03:51 +0000)]
Another test fix for the MSVS tests.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4482
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Wed, 25 Nov 2009 03:27:20 +0000 (03:27 +0000)]
A couple more test fixes, to make test/import.py work on Linux.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4481
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Wed, 25 Nov 2009 02:17:20 +0000 (02:17 +0000)]
Fix tests to ignore missing MSVC warnings.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4480
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Tue, 24 Nov 2009 03:13:13 +0000 (03:13 +0000)]
Doc tweaks for MSVC_VERSION and TARGET_ARCH.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4477
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 24 Nov 2009 02:12:50 +0000 (02:12 +0000)]
Rename the TimeSCons.run_build() method to just TimeSCons.run() so
the parent class TestSCons.up_to_date() method will use it to print
the --debug=memory and --debug=times stats during up-to-date runs.
Fix the TestSCons.up_to_date() regular expression so the memory
and timing output won't cause the check to fail.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4476
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Tue, 24 Nov 2009 02:05:34 +0000 (02:05 +0000)]
Fix check for too-old Visual Studio with non-x86 arch; thanks to Roberto De Vecchi.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4475
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Tue, 24 Nov 2009 01:58:03 +0000 (01:58 +0000)]
Fix incorrectly inverted condition in test for non-TimeSCons entries.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4474
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Mon, 23 Nov 2009 07:44:43 +0000 (07:44 +0000)]
ENH: explicit check for supported arch per version when using batch file.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4471
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Mon, 23 Nov 2009 07:43:58 +0000 (07:43 +0000)]
REF: query host/target arch only when using bat file.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4470
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Mon, 23 Nov 2009 01:59:17 +0000 (01:59 +0000)]
Python 1.5 compat: if 'text' in kw.keys()
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4467
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 22 Nov 2009 18:26:25 +0000 (18:26 +0000)]
Python 1.5 fixes in the TimeSCons class.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4465
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Fri, 20 Nov 2009 01:44:49 +0000 (01:44 +0000)]
Faster backward-compatible code
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4464
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 19 Nov 2009 08:03:26 +0000 (08:03 +0000)]
Capture initial infrastructure for working performance tests.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4463
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:38:09 +0000 (05:38 +0000)]
ENH: add a cache for get_installed_vcs, as it used for every MS tool exists function and is expensive.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4462
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:22:18 +0000 (05:22 +0000)]
BUG: fix caching bug for msvc_setup_once.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4461
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:09:27 +0000 (05:09 +0000)]
DOC: add doc for TARGET_ARCH/HOST_ARCH + obsolete MSVS_VERSION.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4460
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:08:51 +0000 (05:08 +0000)]
REF: remove duplicated function msvc_setup_env_once.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4459
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:08:16 +0000 (05:08 +0000)]
BUG: fix MSVC_USE_SCRIPT=False case.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4458
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:07:41 +0000 (05:07 +0000)]
BUG: return early with warning if no version of vc is found.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4457
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:07:01 +0000 (05:07 +0000)]
BUG: catch any VisualCException when querying available versions through find_vc_pdir.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4456
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:06:20 +0000 (05:06 +0000)]
ENH: add support for Itanium architecture.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4455
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:05:37 +0000 (05:05 +0000)]
ENH: use Gary error checking, but using exception instead of returning error message (thanks Gary).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4454
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:04:55 +0000 (05:04 +0000)]
ENH: set up MSVS_VERSION and MSVS dict while setting up msvc as well.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4453
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:04:17 +0000 (05:04 +0000)]
BUG: catch error while canonalizing arch for host/target.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4452
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:03:36 +0000 (05:03 +0000)]
ENH: use msvc_exists for all tools in the Visual Studio toolchain.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4451
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:02:55 +0000 (05:02 +0000)]
ENH: handle MSVS_VERSION additionally to MSVC_VERSION, but raise deprecation warnings if used.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4450
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:02:08 +0000 (05:02 +0000)]
REF: move vc2 to vc module.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4449
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:01:22 +0000 (05:01 +0000)]
ENH: use a pre-sorted list for MSVC versions to check.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4448
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 05:00:41 +0000 (05:00 +0000)]
DOC: add a TODO for updated vc support.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4447
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 04:59:58 +0000 (04:59 +0000)]
ENH: raise an exception when we detect an error while executing the batch file.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4446
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 04:59:23 +0000 (04:59 +0000)]
BUG: fix get_installed_vcs such as most recent versions are the first ones.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4445
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 04:58:46 +0000 (04:58 +0000)]
BUG: do not set up the SDK for now - it messes up cross compilation.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4444
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 04:58:09 +0000 (04:58 +0000)]
ENH: start a new, simpler and more robust vc module.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4443
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 04:57:30 +0000 (04:57 +0000)]
BUG: fix cross-compilation from x86 -> x86_64 for VS 2008.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4442
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 04:56:55 +0000 (04:56 +0000)]
BUG: do not call msvs bat file in merge_default_version, only set up version.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4441
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 04:56:16 +0000 (04:56 +0000)]
ENH: use msvc env, not msvs to set up mslib and mslink paths.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4440
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 04:55:31 +0000 (04:55 +0000)]
ENH: add a wrapper around msvc_setup_env to guarantee the function is called only once.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4439
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 04:54:49 +0000 (04:54 +0000)]
BUG: fix arch argument to pass to batfile.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4438
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 04:54:08 +0000 (04:54 +0000)]
ENH: move user info gathering at the top of msvc_setup_env.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4437
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 04:53:31 +0000 (04:53 +0000)]
ENH: factor host/target handling in separate function.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4436
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 04:52:55 +0000 (04:52 +0000)]
ENH: bypass complicated VisualC logic, and use the .bat file to get correct arch settings instead.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4435
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 04:52:17 +0000 (04:52 +0000)]
ENH: script_env now takes an args argument to forward arguments to the executed script.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4434
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 19 Nov 2009 04:51:43 +0000 (04:51 +0000)]
ENH: refactor function to get msvc version.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4433
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 18 Nov 2009 04:55:03 +0000 (04:55 +0000)]
Fix name typo in 1.5.2 patch.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4402
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Wed, 18 Nov 2009 02:00:43 +0000 (02:00 +0000)]
Issue 2481: Fix the msvc_exists() call in Tool/msvc.py.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4401
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 15 Nov 2009 19:32:06 +0000 (19:32 +0000)]
Python 1.5 fix: "mname += ..." => "mname = mname + ..."
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4397
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 15 Nov 2009 18:03:52 +0000 (18:03 +0000)]
1.5 fix: use apply() instead of (*args, **kw).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4396
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 15 Nov 2009 16:18:17 +0000 (16:18 +0000)]
1.5.2 fix in compat/__init__.py: "flags |= ..." => "flags = flags | ..."
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4393
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Sun, 15 Nov 2009 14:32:02 +0000 (14:32 +0000)]
Apply patch submitted in issue #947 to fix race condition in
TempFileMunge by using mkstemp instead of mktemp. Includes
pre-Python-2.3 compat version of mkstemp. Thanks to Jim Randall.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4392
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
bdbaddog [Sat, 14 Nov 2009 05:56:42 +0000 (05:56 +0000)]
Fix issue 2519 - add textfile to list of builders
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4389
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
bdbaddog [Sat, 14 Nov 2009 00:47:32 +0000 (00:47 +0000)]
Fix bug 1944 - handle non-existant .i files when swig emitter is called. Make an educated guess on the generated module name based on the .i file name.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4388
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
bdbaddog [Thu, 12 Nov 2009 07:32:38 +0000 (07:32 +0000)]
Fix bug 2465 - bootstrap.py should now use the python it was invoked with instead of finding the same named executable via the PATH
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4384
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Wed, 11 Nov 2009 02:06:25 +0000 (02:06 +0000)]
Remove old news items.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4381
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
bdbaddog [Tue, 10 Nov 2009 06:49:02 +0000 (06:49 +0000)]
Add check for python 3.0.0 or higher and exit with message.
Resolve bug 2445
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4380
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Sat, 31 Oct 2009 07:20:44 +0000 (07:20 +0000)]
BUG: fix bootstrap on windows 64.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4379
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
garyo [Wed, 14 Oct 2009 21:06:24 +0000 (21:06 +0000)]
MSVC: Add correct x86_64/x66_64 msvc bat file location for VC 9.0 (2008).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4378
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Sat, 26 Sep 2009 12:00:20 +0000 (12:00 +0000)]
Update CHANGES.txt for the small bug fixes I commited recently.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4377
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Wed, 23 Sep 2009 21:13:24 +0000 (21:13 +0000)]
Use Glob() instead of glob.glob()
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4376
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sun, 20 Sep 2009 01:10:42 +0000 (01:10 +0000)]
Update project pages for tigris
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4375
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Sat, 19 Sep 2009 21:58:11 +0000 (21:58 +0000)]
Update CHANGES.txt with David C's last contribution.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4368
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Fri, 18 Sep 2009 07:05:47 +0000 (07:05 +0000)]
BUG: do not add -fPIC on non-posix platform for ifort tool.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4367
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Fri, 18 Sep 2009 06:49:35 +0000 (06:49 +0000)]
Fix test failure in Repository/Java.py on OS X
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4366
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
gregnoel [Fri, 18 Sep 2009 06:49:31 +0000 (06:49 +0000)]
Minor fixes found while debugging
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4365
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 17 Sep 2009 06:44:04 +0000 (06:44 +0000)]
BUG: fix TryRun with variant dir set.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4364
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
cournape [Thu, 17 Sep 2009 06:43:33 +0000 (06:43 +0000)]
Add test case for configure failure.
TryRun fails to find the executable when VariantDir is set up from
SConscript/SConstruct.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4363
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
bdbaddog [Wed, 16 Sep 2009 17:44:46 +0000 (17:44 +0000)]
Fix tex code to handle broken nomenclature package. (Fixes test failure on centos5 slave).
Code by Rob Managan.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4362
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
bdbaddog [Tue, 15 Sep 2009 01:37:39 +0000 (01:37 +0000)]
Steven checked in some changes yesterday which fixed a great number of
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.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4361
fdb21ef1-2011-0410-befe-
b5e4ea1792b1