stevenknight [Thu, 14 Jan 2010 19:00:05 +0000 (19:00 +0000)]
Capture updated troubleshooting output.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4620
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 14 Jan 2010 18:48:24 +0000 (18:48 +0000)]
Massage file names in Python stack traces (which are often reported as
absolute paths) to a consistent relative path (bootstrap/...).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4619
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 14 Jan 2010 18:36:23 +0000 (18:36 +0000)]
Python 1.5 fix (nested scopes).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4618
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 14 Jan 2010 18:30:34 +0000 (18:30 +0000)]
Make the default SystemRoot a Windows-like "C:\\WINDOWS" instead of
"C:/WINDOWS", mainly so the output generated in the "Troubleshooting"
appendix of the User's Guide looks coherent.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4617
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 14 Jan 2010 14:43:51 +0000 (14:43 +0000)]
Massage the output from examples for consistency with Python 2.6.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4616
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 14 Jan 2010 07:02:42 +0000 (07:02 +0000)]
Fix use of varlist in CommandGeneratorAction, ListAction and LazyAction
by adding a .get_varlist() accessor method that lets those wrapping
classes fetch the varlist from their wrapped Action object(s).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4615
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
stevenknight [Thu, 14 Jan 2010 01:51:20 +0000 (01:51 +0000)]
Fix a missed name change of TimeStamp => TimeStampDefault.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4614
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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