scons.git
14 years agoCapture the previous output from "pkg-config x11" in a static
stevenknight [Wed, 13 Jan 2010 02:08:38 +0000 (02:08 +0000)]
Capture the previous output from "pkg-config x11" in a static
screen section.  Ubuntu Karmic changed the X11 package config so
it no longer prints a -I option, and this is just an example anyway.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4613 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoUpdates for changes to SCons error messages.
stevenknight [Tue, 12 Jan 2010 07:15:03 +0000 (07:15 +0000)]
Updates for changes to SCons error messages.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4612 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoUpdate Test{Cmd,Common}.py from upstream, with a new
stevenknight [Tue, 12 Jan 2010 07:14:49 +0000 (07:14 +0000)]
Update Test{Cmd,Common}.py from upstream, with a new
TestCommon.must_not_contain() method, new-style classes (inherit
from object), and a fix for a Windows race by only opening up a
pipe to stdin if we have something to write to it.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4611 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoPropagate doc about site_scons to builders-writing.xml. Typographic edits.
stevenknight [Mon, 11 Jan 2010 16:47:36 +0000 (16:47 +0000)]
Propagate doc about site_scons to builders-writing.xml.  Typographic edits.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4609 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoPropagate typo fix to doc/user/separate.xml.
stevenknight [Mon, 11 Jan 2010 16:47:09 +0000 (16:47 +0000)]
Propagate typo fix to doc/user/separate.xml.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4608 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoSupport missing visual C warnings when generating the documentation
stevenknight [Mon, 11 Jan 2010 14:34:37 +0000 (14:34 +0000)]
Support missing visual C warnings when generating the documentation
examples.  Because we use ToolSurrogates to generate the output (and do
so on Linux), we don't actually need (or have) it installed.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4607 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoFix doc bug #2502 (Ignore example was wrong)
garyo [Mon, 11 Jan 2010 02:53:30 +0000 (02:53 +0000)]
Fix doc bug #2502 (Ignore example was wrong)

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4606 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoImprove documentation of MSVC_VERSION and TARGET_ARCH.
garyo [Mon, 11 Jan 2010 02:30:04 +0000 (02:30 +0000)]
Improve documentation of MSVC_VERSION and TARGET_ARCH.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4605 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoXML file change to go with .in file change
bdbaddog [Mon, 11 Jan 2010 02:13:19 +0000 (02:13 +0000)]
XML file change to go with .in file change

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4604 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoAdded release note re: Visual Studio detection, MSVC_VERSION, TARGET_ARCH.
garyo [Mon, 11 Jan 2010 02:06:08 +0000 (02:06 +0000)]
Added release note re: Visual Studio detection, MSVC_VERSION, TARGET_ARCH.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4603 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoFix for 2422
bdbaddog [Mon, 11 Jan 2010 01:48:50 +0000 (01:48 +0000)]
Fix for 2422

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4602 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoFix #2515: use better way to detect 64-bit OS.
garyo [Mon, 11 Jan 2010 01:38:00 +0000 (01:38 +0000)]
Fix #2515: use better way to detect 64-bit OS.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4601 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoFix bug 2389 - indicate that the install dir will depend on the python being used
bdbaddog [Mon, 11 Jan 2010 01:25:45 +0000 (01:25 +0000)]
Fix bug 2389 - indicate that the install dir will depend on the python being used

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4600 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoAdd the package that contains epstopdf, which is now used in testing.
stevenknight [Sat, 9 Jan 2010 00:27:05 +0000 (00:27 +0000)]
Add the package that contains epstopdf, which is now used in testing.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4599 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoPython 1.5 fix (no continue within a try:-except: block within a loop).
stevenknight [Sat, 9 Jan 2010 00:26:44 +0000 (00:26 +0000)]
Python 1.5 fix (no continue within a try:-except: block within a loop).

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4598 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoI got the order of the arguments wrong in a Clean() call I added to help fix teh
managan [Thu, 7 Jan 2010 17:04:14 +0000 (17:04 +0000)]
I got the order of the arguments wrong in a Clean() call I added to help fix teh
auxiliary file problem.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4597 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoIssue 2505: fix use of pre-compiled headers when the source .cpp
stevenknight [Wed, 6 Jan 2010 21:54:12 +0000 (21:54 +0000)]
Issue 2505:  fix use of pre-compiled headers when the source .cpp
file is listed in both the env.PCH() and env.Program() calls.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4596 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agofix typos in the man page
gregnoel [Wed, 6 Jan 2010 10:04:03 +0000 (10:04 +0000)]
fix typos in the man page

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4595 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoFix some tests so they can still run on Windows system without
stevenknight [Wed, 6 Jan 2010 01:56:48 +0000 (01:56 +0000)]
Fix some tests so they can still run on Windows system without
.py file associations.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4594 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoFix path name checks for case-insensitive file systems.
stevenknight [Wed, 6 Jan 2010 01:56:25 +0000 (01:56 +0000)]
Fix path name checks for case-insensitive file systems.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4593 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoFix handling the -C option by recording the absolute path to
stevenknight [Tue, 5 Jan 2010 21:42:53 +0000 (21:42 +0000)]
Fix handling the -C option by recording the absolute path to
the original script directory.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4592 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoChange scanner to properly search for included file from the
managan [Mon, 4 Jan 2010 17:34:11 +0000 (17:34 +0000)]
Change scanner to properly search for included file from the
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.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4591 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoFix time-sensitivity (< 0.002 second execution) in output format.
stevenknight [Sat, 2 Jan 2010 14:44:28 +0000 (14:44 +0000)]
Fix time-sensitivity (< 0.002 second execution) in output format.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4590 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoRemove unnecessary imports to avoid javac warnings.
stevenknight [Fri, 1 Jan 2010 08:48:06 +0000 (08:48 +0000)]
Remove unnecessary imports to avoid javac warnings.
Add a necessary serialVersionUID.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4589 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoDefine "static final long serialVersionUID" in java classes in
stevenknight [Fri, 1 Jan 2010 02:01:15 +0000 (02:01 +0000)]
Define "static final long serialVersionUID" in java classes in
RMIC tests to silence warnings from gcj-4.4.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4588 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoAvoid GCC 4.4 warnings from the code generated by our dummy QT
stevenknight [Thu, 31 Dec 2009 00:45:19 +0000 (00:45 +0000)]
Avoid GCC 4.4 warnings from the code generated by our dummy QT
moc and uic utilities by using fputs() instead of printf().

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4587 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoAdding 1.2.0.d20091224 release
bdbaddog [Tue, 29 Dec 2009 06:46:07 +0000 (06:46 +0000)]
Adding 1.2.0.d20091224 release

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4586 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoPull up the tigris.org page for SVN revisions, at least for now, in
stevenknight [Sun, 27 Dec 2009 15:36:09 +0000 (15:36 +0000)]
Pull up the tigris.org page for SVN revisions, at least for now, in
response to clicks on the detailed graph.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4582 fdb21ef1-2011-0410-befe-b5e4ea1792b1

14 years agoInterface tweaks:
stevenknight [Sat, 26 Dec 2009 17:40:32 +0000 (17:40 +0000)]
Interface tweaks:
Display 150 revs in the dashboard thumbnails, but full history
in the click-through graphs.  Rewrite the top-of-page title and
have it display which stat is being displayed.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4580 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdd a -p option to support calibrating against build SCons packages.
stevenknight [Tue, 22 Dec 2009 16:43:30 +0000 (16:43 +0000)]
Add a -p option to support calibrating against build SCons packages.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4575 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoFix the view-change detail tab. Minor wording improvement.
stevenknight [Tue, 22 Dec 2009 14:26:37 +0000 (14:26 +0000)]
Fix the view-change detail tab.  Minor wording improvement.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4574 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoDon't look for copyright strings in buildbot timings files.
stevenknight [Tue, 22 Dec 2009 07:57:36 +0000 (07:57 +0000)]
Don't look for copyright strings in buildbot timings files.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4572 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoIssue 2482: Avoid wrapping decider unnecessarily
gregnoel [Sun, 20 Dec 2009 19:14:04 +0000 (19:14 +0000)]
Issue 2482: Avoid wrapping decider unnecessarily

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4571 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdd a message to the UserError raised when trying to do a Dir lookup with create...
garyo [Sun, 20 Dec 2009 16:04:13 +0000 (16:04 +0000)]
Add a message to the UserError raised when trying to do a Dir lookup with create=False.  Should not normally happen, but it did to me, and it is better to have some explanatory message when it happens rather than failing silently.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4570 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoUpdate the number of the "base" revision of bin/time-scons.py to use
stevenknight [Sat, 19 Dec 2009 16:18:25 +0000 (16:18 +0000)]
Update the number of the "base" revision of bin/time-scons.py to use
for historical statistics.  Close the triple-quote in the doc string
I added right before the last checkin.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4569 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoSpeed up the time-scons.py "build" of SCons with compiled *.pyc files,
stevenknight [Sat, 19 Dec 2009 16:11:40 +0000 (16:11 +0000)]
Speed up the time-scons.py "build" of SCons with compiled *.pyc files,
by just invoking setup.py directly instead of packing and unpacking the
distributable .tar.gz file.

Refactor to be able to capture historical statistics (of previous
revisions) by preparing the "built" revision once and then running all
of the requested timing scripts, with output going to a separate log
file for each revision + script.

Fix TestSCons.py so that it interprets the scons script name to be tested
relative to the invoking directory, not always relative to src/script.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4568 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdd config.js files to the timing configurations, and update graph.html
stevenknight [Fri, 18 Dec 2009 09:26:23 +0000 (09:26 +0000)]
Add config.js files to the timing configurations, and update graph.html
to use them to display configuration-specific info (right now just
the title) for each graph's page.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4566 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoMove the timings-specific pieces of the buildbot infrastructure into
stevenknight [Fri, 18 Dec 2009 08:03:50 +0000 (08:03 +0000)]
Move the timings-specific pieces of the buildbot infrastructure into
the trunk/timings directory.  We'll map them into the buildbot directory
using svn:externals.  This will let us keep all the pieces of a timing
configuration, including its buildbot pieces, in one place, and will
let us simplify the Master initialization (since it will be able to look
on-disk for the configurations for which it should set up buildbot steps,
instead of querying the SVN server).

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4562 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoTrace the system load average (Linux-only code) before starting the
stevenknight [Fri, 18 Dec 2009 06:58:37 +0000 (06:58 +0000)]
Trace the system load average (Linux-only code) before starting the
help / full / null builds in a timing run.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4561 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoRunning PDF() on an .eps file on windows with MikTex 2.7.2767 does not work,
managan [Thu, 17 Dec 2009 22:06:41 +0000 (22:06 +0000)]
Running PDF() on an .eps file on windows with MikTex 2.7.2767 does not work,
because it does not support '-o <outfile>'. This patch uses --outfile= instead,
since this works both unter linux and windows.

Patch from Stefan Hepp

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4560 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdd scanning of files included in Latex by means of \lstinputlisting{}
managan [Thu, 17 Dec 2009 21:13:17 +0000 (21:13 +0000)]
Add scanning of files included in Latex by means of \lstinputlisting{}
Patch from Stefan Hepp.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4559 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAvoids bailing on non-zero exit status from commands. This will lets
stevenknight [Thu, 17 Dec 2009 15:23:20 +0000 (15:23 +0000)]
Avoids bailing on non-zero exit status from commands.  This will lets
us collect as many stats as possible, even when a test for a revision
in the middle of the list fails due to a bug.
Updates the "baseline" timing revision (the revision that has
the earliest "stable" TimeSCons infrastructure
Removes --noqmtest, since the "baseline" revision no longer uses
QMTest by default.
Changes the --logfiles option to a --logsdir option.
Updates the usage message.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4558 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoIgnore the exit status from the --help run on timing builds, since some
stevenknight [Thu, 17 Dec 2009 07:11:51 +0000 (07:11 +0000)]
Ignore the exit status from the --help run on timing builds, since some
early revisions have bugs and we can still go on and get useful stats
from the full and null builds.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4557 fdb21ef1-2011-0410-befe-b5e4ea1792b1

15 years agoAdd a separate test of the runtest.py --qmtest option.
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

15 years agoFix the time-scons.py --logfiles option.
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

15 years agoFix the tests of runtest.py now that QMTest is no longer being used
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

15 years agoBetter fix for #2530: dont exit at all on unimplemented options, just print a warning...
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

15 years ago...and call the correct method.
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

15 years agoTypo fix.
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

15 years agoDisable QMTest by default, leave it available when --qmtest is used.
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

15 years agoAdd a bin/time-scons.py script to manage invocation of runtest.py to
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

15 years agoAdd a TestSCons.option_not_yet_implemented() method and use it so
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

15 years agoIntegrated patch for bug 2530: SCons should not exit with 0 (success) on unimplemente...
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

15 years agoProvide an environment variable that can be used to override
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

15 years agoAdd separate memory graphs for the stats in the full and null runs.
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

15 years agoRecord memory in kbytest, not bytes.
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

15 years agoAdd a script for calibrating settings for timing configurations.
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

15 years agoInfrastructure to support calibration runs of TimeSCons tests, which
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

15 years agoUpdate the TimeSCons class for use of the sort= keyword instead of
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

15 years agoHave the TimeSCons class examine the run output for the reported memory
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

15 years agoUpdate the TimeSCons "elapsed time" message to match the log processor.
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

15 years agoFix typo in man page, per patch in issue #2529.
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

15 years agoIntegrate patch from issue #2436: fix regression from r3691 which stopped printing...
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

15 years agoExplicitly initialize the environment tools=['mssdk', 'msvc', 'mslink']
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

15 years agoFix c++ compiler detection: correct the order of values returned,
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

15 years agoAdd missing "import string" to test that uses string.replace().
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

15 years agoFix get_host_target()'s use of platform.machine() on Python versions
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

15 years agoDon't hard-code the swig location in the expected output.
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

15 years agoRemove the obsolete msvs_exists() unit test.
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

15 years agoFix test infrastructure querying for installed Visual Studio versions.
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

15 years agoAdd a compat module for the (Python 2.3) platform.py module so that tests
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

15 years agoAdd __COPYRIGHT__ strings.
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

15 years agoFix wrong var name in r4486, thanks Greg!
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

15 years agoUse VisualCMissingWarning instead of making a stack trace for unsupported MSVC version.
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

15 years agoPython 1.5 fix: no +=
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

15 years agoAdd a test for the case where a latex file uses \input{} to include the
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

15 years agoAnother test fix for the MSVS tests.
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

15 years agoA couple more test fixes, to make test/import.py work on Linux.
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

15 years agoFix tests to ignore missing MSVC warnings.
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

15 years agoDoc tweaks for MSVC_VERSION and TARGET_ARCH.
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

15 years agoRename the TimeSCons.run_build() method to just TimeSCons.run() so
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

15 years agoFix check for too-old Visual Studio with non-x86 arch; thanks to Roberto De Vecchi.
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

15 years agoFix incorrectly inverted condition in test for non-TimeSCons entries.
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

15 years agoENH: explicit check for supported arch per version when using batch file.
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

15 years agoREF: query host/target arch only when using bat file.
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

15 years agoPython 1.5 compat: if 'text' in kw.keys()
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

15 years agoPython 1.5 fixes in the TimeSCons class.
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

15 years agoFaster backward-compatible code
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

15 years agoCapture initial infrastructure for working performance tests.
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

15 years agoENH: add a cache for get_installed_vcs, as it used for every MS tool exists function...
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

15 years agoBUG: fix caching bug for msvc_setup_once.
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

15 years agoDOC: add doc for TARGET_ARCH/HOST_ARCH + obsolete MSVS_VERSION.
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

15 years agoREF: remove duplicated function msvc_setup_env_once.
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

15 years agoBUG: fix MSVC_USE_SCRIPT=False case.
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

15 years agoBUG: return early with warning if no version of vc is found.
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

15 years agoBUG: catch any VisualCException when querying available versions through find_vc_pdir.
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

15 years agoENH: add support for Itanium architecture.
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

15 years agoENH: use Gary error checking, but using exception instead of returning error message...
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

15 years agoENH: set up MSVS_VERSION and MSVS dict while setting up msvc as well.
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

15 years agoBUG: catch error while canonalizing arch for host/target.
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