| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
Fixes due to running the regression tests with the '-3' option to Python2.6,
which causes the run-time to look for potential compatibility problems with
Python 3.x. In some cases, all we can do is quiet the warning since we still
support Python versions that can't use the newer idiom. In other cases, we
fix the problem. This patch contains a mix of quieting and fixing, plus a
little lint.
|
|
|
|
|
|
| |
Apply the first part of the 'raise' fixer (the three-argument cases are not
converted and will need to wait until native support of with_traceback() is
available).
|
|
|
|
|
|
|
| |
Accumulated small fixers: renames, next, zip, and intern.
Files that were modified or added while developing on branches/pending didn't
have the fixers previously applied. This patchset picks up those.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Applied a number of idiomatic changes.
Uses of the 'sort()' method were converted into calls of 'sorted()' when
possible and the sorted() expression was inserted into a subsequent statement
whenever that made sense.
The statement 'while 1:' was changed to 'while True:'.
Names from the 'types' module (e.g., 'types.FooType') were converted to the
equivalent build-in type (e.g., 'foo').
Comparisons between types were changed to use 'isinstance()'.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
to 'startup'.
|
|
|
|
| |
Need to regenerate the .xml files.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
moc and uic utilities by using fputs() instead of printf().
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
help / full / null builds in a timing run.
|
|
|
|
|
| |
early revisions have bugs and we can still go on and get useful stats
from the full and null builds.
|
|
|
|
| |
a warning and keep going.
|
|
|
|
| |
the tests of those options expect an exit status of 1.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Refactor stats-gathering so we collect them from the output in one step
and can then trace them in multiple different ways.
|
| |
|
|
|
|
|
| |
Update the timings scripts with calibrated settings that run
a full build between 9.5 and 10.0 seconds on the buildbot slave.
|
|
|
|
|
| |
only run a full build and report back the values of any variables
affecting the configuration, and the elapsed time of the full build.
|
|
|
|
|
| |
important=. Fix an old-version Python problem (use of True in
keyword arg initialization).
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
just at TestSCons intialization.
|
|
|
|
| |
(changed from 2.2 to 2.4)
|
|
|
|
|
|
| |
really is). OS X now not only runs all the SWIG tests (it used to skip many
of them because it could not find the appropriate files), it now passes all
the tests.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://scons.tigris.org/svn/scons/checkpoint
........
r3892 | stevenknight | 2009-01-12 06:02:05 -0800 (Mon, 12 Jan 2009) | 2 lines
Updates for 1.2.0.d20090112 checkpoint release.
........
r3893 | stevenknight | 2009-01-12 06:07:35 -0800 (Mon, 12 Jan 2009) | 2 lines
Fix undefined reference in User's Guide build.
........
r3898 | stevenknight | 2009-01-13 02:44:25 -0800 (Tue, 13 Jan 2009) | 2 lines
Update checkpoint timestamps.
........
r3899 | stevenknight | 2009-01-13 06:45:07 -0800 (Tue, 13 Jan 2009) | 2 lines
Update expected Copyright year line used in tests.
........
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svnmerge from
http://scons.tigris.org/svn/scons/checkpoint
................
r3765 | stevenknight | 2008-11-04 07:57:03 -0800 (Tue, 04 Nov 2008) | 2 lines
Update release info for checkpoint.
................
r3796 | stevenknight | 2008-11-25 21:56:26 -0800 (Tue, 25 Nov 2008) | 2 lines
Updates for 20081125 checkpoint release.
................
r3797 | stevenknight | 2008-11-26 08:21:04 -0800 (Wed, 26 Nov 2008) | 2 lines
User's Guide updates for changes to error messages.
................
r3813 | stevenknight | 2008-12-07 19:13:17 -0800 (Sun, 07 Dec 2008) | 2 lines
Update lines for the 20081207 checkpoint release (candidate for 1.2.0).
................
r3814 | stevenknight | 2008-12-07 19:35:09 -0800 (Sun, 07 Dec 2008) | 2 lines
Update troubleshoot.xml for the changes to taskmastertrace output.
................
r3847 | stevenknight | 2008-12-21 07:57:50 -0800 (Sun, 21 Dec 2008) | 9 lines
Merged revisions 3610-3840,3842-3846 via svnmerge from
http://scons.tigris.org/svn/scons/release
........
r3842 | stevenknight | 2008-12-20 22:48:14 -0800 (Sat, 20 Dec 2008) | 2 lines
Update files for 1.2.0.
........
................
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://scons.tigris.org/svn/scons/checkpoint
................
r3425 | stevenknight | 2008-09-15 11:21:57 -0700 (Mon, 15 Sep 2008) | 2 lines
Update version and dates for the 20080915 checkpoint release.
................
r3534 | stevenknight | 2008-10-01 23:20:52 -0700 (Wed, 01 Oct 2008) | 2 lines
Update for 1.1 release candidate checkpoint.
................
r3610 | stevenknight | 2008-10-10 09:25:52 -0700 (Fri, 10 Oct 2008) | 9 lines
Merged revisions 3377-3600,3602-3609 via svnmerge from
http://scons.tigris.org/svn/scons/release
........
r3603 | stevenknight | 2008-10-10 05:42:04 -0700 (Fri, 10 Oct 2008) | 2 lines
Updates for the 1.1.0 release.
........
................
|
|
|
|
|
|
| |
"import popen2" warnings that interfere with some of the tests executing
cleanly. This converts to using subprocess by default, falling back
to popen2 if it's not available.
|
|
|
|
| |
subclass, in its own module.
|
|
|
|
|
|
| |
python=None argument still defaults to sys.executable. Use this to
reset the python value we interpolate into the expected files that we
generate after resetting the os.environ['PYTHON'] value.
|
| |
|
|
|
|
| |
TestSCons.py specifies incorrect fortran library to link against for gcc's newer then 4.0 (aka 4.1.2 which ships with python)
|
|
|
|
|
|
| |
paths for executables and headers, so tests like test/SWIG/live.py work
even if there are multiple Python versions installed with frameworks
in different locations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
3289,3291-3299,3301-3313,3315-3347,3349-3350,3352-3354,3356,3358-3360,3362-3374,3376-3377 via svnmerge from
http://scons.tigris.org/svn/scons/checkpoint
................
r3315 | stevenknight | 2008-08-26 09:44:08 -0700 (Tue, 26 Aug 2008) | 2 lines
Update {CHANGES,RELEASE}.txt for today's checkpoint release.
................
r3344 | stevenknight | 2008-09-06 02:35:58 -0700 (Sat, 06 Sep 2008) | 3 lines
Initialized merge tracking via "svnmerge" with revisions "1-3343" from
http://scons.tigris.org/svn/scons/release
................
r3347 | stevenknight | 2008-09-06 02:40:06 -0700 (Sat, 06 Sep 2008) | 3 lines
Removed unnecessary svnmerge-integrated tags (for /branches/*) copied
over from /trunk.
................
r3377 | stevenknight | 2008-09-08 23:55:31 -0700 (Mon, 08 Sep 2008) | 18 lines
Merged revisions 3344,3346-3348,3350-3351,3353-3355,3357,3359-3361,3363-3375 via svnmerge from
http://scons.tigris.org/svn/scons/release
........
r3346 | stevenknight | 2008-09-06 02:38:28 -0700 (Sat, 06 Sep 2008) | 3 lines
Remove unnecessary svnmerge-integrated tags (for /branches/* and /trunk)
copied over from the /checkpoint branch.
........
r3359 | stevenknight | 2008-09-06 04:10:35 -0700 (Sat, 06 Sep 2008) | 2 lines
Update information for release 1.0.1.
........
r3363 | stevenknight | 2008-09-06 07:29:51 -0700 (Sat, 06 Sep 2008) | 2 lines
Release update for the last-minute Ubuntu variable name patch.
........
................
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://scons.tigris.org/svn/scons/branches/core
................
r2955 | stevenknight | 2008-05-18 07:48:43 -0700 (Sun, 18 May 2008) | 2 lines
Update lines for next development cycle.
................
r2956 | GregNoel | 2008-05-19 14:24:39 -0700 (Mon, 19 May 2008) | 1 line
Fix typo in Mkdir() description
................
r2957 | cournape | 2008-05-19 22:37:17 -0700 (Mon, 19 May 2008) | 1 line
sunc++ tool: do not parse pkgchk output if no output available (Fix for #2060).
................
r2958 | cournape | 2008-05-19 23:34:01 -0700 (Mon, 19 May 2008) | 6 lines
Do not set cppcPath to CXX if CXX has no dirname. This caused weird behaviour,
because cppcPath and cxx were joined together, and scons used things like CC/CC
as CXX.
................
r2960 | cournape | 2008-05-20 22:23:12 -0700 (Tue, 20 May 2008) | 3 lines
Initialized merge tracking via "svnmerge" with revisions "1-2959" from
http://scons.tigris.org/svn/scons/branches/pyext
................
r2971 | stevenknight | 2008-05-22 16:01:11 -0700 (Thu, 22 May 2008) | 4 lines
Issue 2056: Fix scons.bat so that it returns the SCons exit status even
though we're using setlocal + endlocal to avoid polluting the calling
user's %PATH% variable.
................
r2972 | stevenknight | 2008-05-22 16:35:00 -0700 (Thu, 22 May 2008) | 2 lines
Move generic windows tests from the test/ subdirectory into test/Win32.
................
r2973 | stevenknight | 2008-05-22 18:58:35 -0700 (Thu, 22 May 2008) | 2 lines
Fix scoping under Python 1.5 / 2.0 / 2.1.
................
r2976 | cournape | 2008-05-23 04:10:37 -0700 (Fri, 23 May 2008) | 3 lines
Initialized merge tracking via "svnmerge" with revisions "1-2975" from
http://scons.tigris.org/svn/scons/branches/libwithcontext
................
r2978 | GregNoel | 2008-05-23 12:39:42 -0700 (Fri, 23 May 2008) | 1 line
script to convert XML issues into CSV spreadsheet
................
r2987 | GregNoel | 2008-05-25 10:57:14 -0700 (Sun, 25 May 2008) | 1 line
trivial typo
................
r2989 | pankrat | 2008-05-25 14:42:53 -0700 (Sun, 25 May 2008) | 3 lines
Initialized merge tracking via "svnmerge" with revisions "1-2988" from
http://scons.tigris.org/svn/scons/branches/heapmonitor
................
r2992 | belley | 2008-05-27 08:23:34 -0700 (Tue, 27 May 2008) | 41 lines
Fixed the detection of Intel C++ Compiler for EMT64
The table used to check the registry keys for installed versions of
the Intel C++ compiler for EMT64 seems erroneous. I have double check
using the Intel C++ compiler versions 9.1 and 10.0 on both Windows XP
32-bit and Windows Server2003 64-bits.
The registry keys have the form
HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\Compilers\C++\100.025\IA32
HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\Compilers\C++\100.025\IA64
HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\Compilers\C++\100.025\EMT64
Benoit
Index: src/engine/SCons/Tool/intelc.py
===================================================================
*** src/engine/SCons/Tool/intelc.py (revision 2991)
--- src/engine/SCons/Tool/intelc.py (working copy)
***************
*** 101,108 ****
valid_abis = {'ia32' : 'ia32',
'x86' : 'ia32',
'ia64' : 'ia64',
! 'em64t' : 'ia32e',
! 'amd64' : 'ia32e'}
if is_linux:
valid_abis = {'ia32' : 'ia32',
'x86' : 'ia32',
--- 101,108 ----
valid_abis = {'ia32' : 'ia32',
'x86' : 'ia32',
'ia64' : 'ia64',
! 'em64t' : 'em64t',
! 'amd64' : 'em64t'}
if is_linux:
valid_abis = {'ia32' : 'ia32',
'x86' : 'ia32',
................
r2993 | stevenknight | 2008-05-27 16:22:35 -0700 (Tue, 27 May 2008) | 3 lines
Issue 2062: Fix --interactive mode getting "stuck" reporting failures
for every build after the first one that fails.
................
r2997 | stevenknight | 2008-05-28 18:18:36 -0700 (Wed, 28 May 2008) | 4 lines
Fix the closing message on interrupt to report "building terminated
because of errors." Add a missing test.pass_test() call to the
end of test/KeyboardInterrupt.py.
................
r2998 | stevenknight | 2008-05-29 08:14:47 -0700 (Thu, 29 May 2008) | 2 lines
Issue 2075: Fix the ability to call the Node.FS.File.File() method.
................
r2999 | stevenknight | 2008-05-29 14:12:07 -0700 (Thu, 29 May 2008) | 2 lines
Issue 2063: On Mac OS X, install under /usr/local by default.
................
r3017 | stevenknight | 2008-05-30 08:05:26 -0700 (Fri, 30 May 2008) | 3 lines
Get the fix for File.File() right this time. Apply the same fix
to File.Dir() and File.Entry(), too.
................
r3022 | stevenknight | 2008-06-02 18:52:42 -0700 (Mon, 02 Jun 2008) | 3 lines
Fix "deprecated conversion from string constant to char *" warnings in
various C++ tests.
................
r3045 | garyo | 2008-06-05 06:05:37 -0700 (Thu, 05 Jun 2008) | 8 lines
This fix uses Python sequence comparison to compare the dotted version
numbers used in .NET version numbers rather than comparing each
element of the list individually. It's more robust and also more
correct. I also fixed a Python 1.5.2 compatibility issue (strings
didn't have the split method).
Original reporter confirms this fixes his issue.
................
r3046 | garyo | 2008-06-05 20:35:27 -0700 (Thu, 05 Jun 2008) | 1 line
Minor doc tweaks to Users Guide.
................
r3050 | stevenknight | 2008-06-06 11:38:38 -0700 (Fri, 06 Jun 2008) | 21 lines
Merged revisions 2877,2879-2978,2980-3019,3021-3048 via svnmerge from
http://scons.tigris.org/svn/scons/branches/fortran_refactor
........
r2980 | cournape | 2008-05-23 21:56:19 -0700 (Fri, 23 May 2008) | 1 line
Emit a warning and use as a linker when fortran and c++ codes are mixed.
........
r3000 | cournape | 2008-05-29 21:29:37 -0700 (Thu, 29 May 2008) | 1 line
Improve warning when mixing c++ and fortran.
........
r3048 | stevenknight | 2008-06-06 11:30:25 -0700 (Fri, 06 Jun 2008) | 6 lines
Issue 2047: update the warning text to make it less alarming.
Move the warning classes so they can be suppressed.
Add a test of the warning (and suppression) behavior
Only issue one warning per SCons invocation, not one per built executable.
Update CHANGES.txt and RELEASE.txt.
........
................
r3051 | stevenknight | 2008-06-07 08:11:46 -0700 (Sat, 07 Jun 2008) | 3 lines
Fix the Fortran/C++ link test for deprecation warnings
under earlier Python version.
................
r3052 | stevenknight | 2008-06-07 08:12:22 -0700 (Sat, 07 Jun 2008) | 2 lines
Add Benoit's EMT64 change that will be released in 0.98.5.
................
r3053 | stevenknight | 2008-06-07 08:21:50 -0700 (Sat, 07 Jun 2008) | 2 lines
Update lines for 0.98.5 release.
................
r3054 | stevenknight | 2008-06-07 08:26:04 -0700 (Sat, 07 Jun 2008) | 2 lines
Update 0.98.4 versions to 0.98.5.
................
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://scons.tigris.org/svn/scons/branches/core
........
r2932 | garyo | 2008-04-30 09:14:38 -0700 (Wed, 30 Apr 2008) | 1 line
Add doc for site_scons dir and related options. Closes issue #1996.
........
r2934 | stevenknight | 2008-04-30 22:05:38 -0700 (Wed, 30 Apr 2008) | 3 lines
Issue 2039: Fix a syntax error in Intel C compiler support on Windows.
(Jonas Olsson)
........
r2935 | belley | 2008-05-01 06:59:21 -0700 (Thu, 01 May 2008) | 10 lines
test/KeyboardInterrupt.py no longer hangs under Cygwin.
There seems to be a bug on Cygwin where the compiler process hangs
after sending the SIGINT signal to the process group. It is probably a
bug in cygwin1.dll, or maybe in the Python 'C' code or the Python
subprocess module. We therefore do not use 'killpg' on Cygwin.
Benoit
........
r2936 | belley | 2008-05-01 07:10:23 -0700 (Thu, 01 May 2008) | 12 lines
cell_contents not defined in python < 2.5. [Issue 2035]
Some versions of Python supports lexical scoping of local variables
(aka closures) but not the cell_contents attribute that would allow
the FunctionAction signature that take the content of these closure
cells into account. The access to the cell_contents attribute is now
protected with a try/except AttributeError so that at least the other
parts of the function signature are properly computed.
Benoit
........
r2937 | stevenknight | 2008-05-01 12:08:25 -0700 (Thu, 01 May 2008) | 3 lines
When running tests, allow the user to set the $SCONSIGN variable to pick a
specific sconsign script to execute.
........
r2938 | stevenknight | 2008-05-02 19:13:14 -0700 (Fri, 02 May 2008) | 2 lines
Set svn:ignore to '*.py[co]'.
........
r2939 | stevenknight | 2008-05-08 21:07:18 -0700 (Thu, 08 May 2008) | 4 lines
Issue 2033: Fix excessive memory use when a Python Value node's
representation is stored in a .sconsign file and then re-stored
after being interpreted with escaped backslashes and quotes.
........
r2940 | cournape | 2008-05-16 03:56:49 -0700 (Fri, 16 May 2008) | 1 line
Fix issue 2054.
........
r2941 | stevenknight | 2008-05-16 12:02:45 -0700 (Fri, 16 May 2008) | 8 lines
Issue 2045: After a Node has failed its build and we're propagating
the failure to other Nodes on the candidate list, don't marke candidate
Nodes as FAILED if they've already been visited and been determined
to be up-to-date. This avoids problems with Configure tests not
running because failure of an earlier Configure tests caused (e.g.)
/usr/bin/g++ to get marked as FAILED, making SCons think it doesn't
need to bother trying to rebuild anything that will use it...
........
r2942 | stevenknight | 2008-05-16 12:10:14 -0700 (Fri, 16 May 2008) | 8 lines
Improve the regular expressions used by the test infrastructure to
examine SCons output to decide if a list of targets are considered
up-to-date or not. The new code uses the re.escape() function instead
of hand-escaping '.' and '\n'. This required a little restructuring in
the not_up_to_date() method to escape the characters within the arguments
themselves, but not the surrounding characters we use to construct the
regex that makes sure those strings *don't* exist in the output.
........
r2943 | stevenknight | 2008-05-16 14:04:23 -0700 (Fri, 16 May 2008) | 3 lines
Issue 2049: Handle multiple pipe-separated values in Visual Studio for
INCLUDE, LIB and PATH. Still only uses Win32, not any other values.
........
r2944 | stevenknight | 2008-05-16 18:36:27 -0700 (Fri, 16 May 2008) | 2 lines
Record changes by David Cournapeau and Benoit Belley.
........
r2945 | stevenknight | 2008-05-17 07:13:46 -0700 (Sat, 17 May 2008) | 3 lines
Pass in dc as a keyword argument to _smartLink for older Python versions
without nested scopes.
........
r2946 | stevenknight | 2008-05-17 07:14:01 -0700 (Sat, 17 May 2008) | 3 lines
Expect a warning about shadowing global variables on Python 2.1.
(This code can go away after we release 1.0.)
........
|
| |
|