Jurko Gospodnetić
f23d32f8b2
Updated the main Tester class comment in tools/build/v2/build/v2/test/BoostBuild.py describing all of its available constructor parameters. Minor stylistic changes.
...
[SVN r44982]
2008-05-01 17:06:02 +00:00
Jurko Gospodnetić
6e3eb35cca
Renamed the Tester.wait_for_time_change() function to Tester.wait_for_time_change_since_last_build() to avoid confusion.
...
[SVN r44970]
2008-05-01 09:55:47 +00:00
Jurko Gospodnetić
c98691d310
Consistently converted tabs to spaces in tools/build/v2/test/BoostBuild.py to avoid confusion reading the Python source.
...
[SVN r44969]
2008-05-01 09:39:45 +00:00
Rene Rivera
7e238d9b7c
Use local sorted() function to support Python < 2.4.
...
[SVN r44165]
2008-04-11 05:34:00 +00:00
Vladimir Prus
02e16a934e
For BoostBuild regression test, handle OSX intel.
...
Patch from Hugo Duncan.
[SVN r43989]
2008-04-01 18:22:21 +00:00
Jurko Gospodnetić
bca21b46da
Code cleanup. Converted to using True/False instead of 1/0. Changed to obey documented coding conventions regarding whitespace and function parameters. Renamed private member functions to use the __ name prefix.
...
[SVN r42567]
2008-01-07 18:15:13 +00:00
Jurko Gospodnetić
7449bd72d2
Added support for tests configuring whether they want their Boost Build to ignore toolset requirements instead of always ignoring them. Minor stylistic changes.
...
[SVN r42548]
2008-01-06 20:43:25 +00:00
Jurko Gospodnetić
275694b5db
Upgraded the tool for testing that a certain line exists in the given output support so that it now also knows how to test that a certain line does not exist in the given output.
...
[SVN r42513]
2008-01-06 07:26:46 +00:00
Jurko Gospodnetić
a8f922c12c
Added a --test-config command-line option for specifying where the test configuration file should be loaded from instead of always being looked up in Boost Build's test folder. This allows non-test builds to not use test config when it exists on the system and different tests to use different test configurations when needed.
...
[SVN r42509]
2008-01-06 06:50:56 +00:00
Jurko Gospodnetić
54cf208294
No functional changes but only stylistic changes such as: comment typo corrections, wrapping lines to 80 characters, indentations, removing trailing spaces, removing empty lines, removed unnecessary module imports, etc.
...
[SVN r42507]
2008-01-06 00:53:09 +00:00
Jurko Gospodnetić
07ba5ac218
Minor stylistic changes - cleaned up import calls, wrapped much text at 80 characters updated comments, typo corrections, removed trailing spaces, etc.
...
[SVN r42497]
2008-01-05 20:37:44 +00:00
Vladimir Prus
eb1a8a77d0
Make the Tester.copy method open files in binary mode.
...
This fixes the searched_lib.py failure on Windows.
Patch from Jurko Gospodnetic.
[SVN r42301]
2007-12-25 09:43:44 +00:00
Vladimir Prus
36a79b841f
Fix typos.
...
Patch from Jurko Gospodnetic
[SVN r42296]
2007-12-25 09:25:25 +00:00
Vladimir Prus
2eb44eeb35
Attemp to fix searched_lib on windows
...
[SVN r39831]
2007-10-09 06:37:00 +00:00
Vladimir Prus
372d909cdb
Windows fix
...
[SVN r39817]
2007-10-08 21:10:41 +00:00
Vladimir Prus
de592346b0
* BoostBuild.py (wait_for_time_change): Wait
...
for more serious time change, in order to
fix sporadic dependency_test failures.
[SVN r39195]
2007-09-11 19:17:49 +00:00
Vladimir Prus
f09fd1a197
Record failure reason when we fail to open a file.
...
[SVN r39169]
2007-09-08 17:10:26 +00:00
Vladimir Prus
3fac77c14d
Fix the rebuilds test on linux.
...
* BoostBuild.py (wait_for_time_change): Use floor,
to avoid waiting 0.5 seconds.
* rebuilds.py: Wait for time change as necessary.
[SVN r39168]
2007-09-08 16:24:50 +00:00
Vladimir Prus
259e5a2843
Implement --ignore-toolset-requirements and set in
...
during testing.
[SVN r39164]
2007-09-07 23:59:54 +00:00
Vladimir Prus
bb89e5142f
Make it work
...
[SVN r39163]
2007-09-07 23:59:10 +00:00
Vladimir Prus
7fd3402b2f
Undo #38702 , which fixes alternative.py on linux. Real fix for win coming soon.
...
[SVN r39162]
2007-09-07 23:51:07 +00:00
Vladimir Prus
7663d860e2
Make output from test run nicer, and more structured.
...
In future, we might be able to generate XML, or any other voodoo
we want.
[SVN r39161]
2007-09-07 23:18:20 +00:00
Rene Rivera
013107971f
Make rm try the glob_file in addition to regular glob. Clears alternatives and project_glob failures on windows.
...
[SVN r38973]
2007-08-26 19:24:13 +00:00
Rene Rivera
a25f561bab
Read expected files with universal EOL translation enabled to account for comparing with newline only Python strings.
...
[SVN r38964]
2007-08-26 16:14:44 +00:00
Rene Rivera
93e6b9079d
On Windows static libs have the lib prefix, but DLLs don't.
...
[SVN r38918]
2007-08-25 04:08:28 +00:00
Rene Rivera
ecb07db688
More changes to account for differing variant subdirs between toolsets, and of toolset expansion.
...
[SVN r38710]
2007-08-16 04:56:08 +00:00
Rene Rivera
3ed67f237e
Do some normalizing of paths to remove some of the variant feature subdirs that may be different based on platform and toolset. This fixes some tests that pass on GCC/Linux and not on MSVC/Windows.
...
[SVN r38702]
2007-08-15 20:15:36 +00:00
Rene Rivera
01a0c753da
Change remove() to glob_remove() in expect_modification, even though this check is not used.
...
[SVN r38694]
2007-08-15 18:35:11 +00:00
Rene Rivera
8b4fe19de1
Trow ValueError exception from remove functions to match the set.remove functionality.
...
[SVN r38688]
2007-08-15 17:25:46 +00:00
Vladimir Prus
604c249e55
Stop BoostBuild.py from crashing on certain test failures.
...
[SVN r38593]
2007-08-11 05:15:54 +00:00
Rene Rivera
f2eff70b4c
Catch a few more Python errors while testing.
...
[SVN r38306]
2007-07-30 00:09:52 +00:00
Vladimir Prus
9ab60ec835
Revive some more tests
...
[SVN r35968]
2006-11-10 07:40:42 +00:00
Vladimir Prus
c4ea7d28c2
Fix thinko
...
[SVN r35919]
2006-11-08 08:42:55 +00:00
Vladimir Prus
6851604c0e
Robustify Tester.expect_content
...
[SVN r35917]
2006-11-08 08:37:28 +00:00
Vladimir Prus
7c96b542f0
Unbreak notfile.py
...
[SVN r35916]
2006-11-08 08:36:02 +00:00
Rene Rivera
c5859fe13c
Add "--default-bjam" option to force using bjam present in the system (ie the search path).
...
[SVN r35845]
2006-11-05 00:06:35 +00:00
Rene Rivera
da98fd5c48
A variety of changes to make most tests pass on Windows (with mingw):
...
* BoostBuild.py; Make the matching of content and files be more loose and use pattern globbing of toolset names.
* glob.py/project_glob.py; Rename to avoid collision with builtin Python module.
* all; Update copyrights and license info.
[SVN r35729]
2006-10-24 23:25:19 +00:00
Vladimir Prus
90f7514eb8
Test for PCH
...
* BoostBuild.py (Tester.copy_preserving_timestap): New.
* pch.py: New.
* test_all.py: Register pch.py on gcc.
[SVN r35512]
2006-10-07 10:08:19 +00:00
Vladimir Prus
9de5f9cf51
Create 'failed_test' dir only if test fails
...
[SVN r33812]
2006-04-25 14:54:32 +00:00
Vladimir Prus
f4790c1838
Ignore msvc 8.0 manifests.
...
[SVN r33807]
2006-04-25 13:10:03 +00:00
Rene Rivera
6037f6d6ec
Adjust Boost.Jam references to new root/tools/jam location.
...
[SVN r32873]
2006-02-12 23:18:46 +00:00
Markus Schöpflin
4b965217d4
Added Tru64 support.
...
[SVN r32809]
2006-02-10 16:05:26 +00:00
Vladimir Prus
fa7edfe511
Automatically prepend "lib" prefix to LIB targets on Unix.
...
[SVN r29602]
2005-06-16 07:24:16 +00:00
Vladimir Prus
3f3d979ffd
Support FreeBSD for Boost.Build self-tests.
...
Patch from Craig Rodrigues.
[SVN r28623]
2005-05-03 06:15:08 +00:00
Vladimir Prus
4f6a940409
Allow to specify directory where a test will be run.
...
Patch from Niklaus Giger.
[SVN r27975]
2005-04-05 11:21:52 +00:00
Vladimir Prus
d56e814877
Correctly compute bjam build dir on non-x86 Linux.
...
Patch from Niklaus Giger.
[SVN r26775]
2005-01-21 07:31:45 +00:00
Vladimir Prus
41a6ad007c
Support AIX and IRIX.
...
[SVN r25301]
2004-09-21 13:36:36 +00:00
Vladimir Prus
197d88d856
Use windows file extensions under cygwin.
...
[SVN r24988]
2004-09-09 12:23:00 +00:00
Vladimir Prus
474a7fdbef
Robustify Tester.expect_content: don't crash when the file does not
...
exist.
[SVN r24985]
2004-09-09 10:50:52 +00:00
Vladimir Prus
2eec4041cb
Minor fixes.
...
[SVN r22930]
2004-05-26 10:52:11 +00:00