Jurko Gospodnetić
3447aae32b
Cleaned up the Boost Build testing framework implementation a bit.
...
[SVN r78913]
2012-06-12 23:51:47 +00:00
Jurko Gospodnetić
9f42a0ed58
Minor sylistic changes - trimmed trailing spaces.
...
[SVN r78890]
2012-06-11 12:54:29 +00:00
Jurko Gospodnetić
357962c2f3
Cleaned up how Boost Build's test system reports unhandled exceptions. Now no longer uses deprecated global sys.exc_* variables and prints out the exception stack trace correctly.
...
[SVN r78889]
2012-06-11 12:53:54 +00:00
Steven Watanabe
d6b33546b7
Reduce pauses.
...
[SVN r77648]
2012-03-30 14:52:38 +00:00
Steven Watanabe
481bc03561
Integrate the tests in test/engine/ into the Python test scripts.
...
[SVN r75834]
2011-12-07 02:43:29 +00:00
Steven Watanabe
5a1aca95a5
Fix a few test problems on cygwin and mingw
...
[SVN r75737]
2011-11-30 00:03:54 +00:00
Vladimir Prus
bf49c738c0
Unbreak Boost.Build tests
...
[SVN r72883]
2011-07-03 21:05:59 +00:00
Vladimir Prus
add5bdf7e0
Port build/configure.jam.
...
Also allow to expose Python class to Jam, which fixes
tag.py and inline.py testcases.
[SVN r64610]
2010-08-05 06:22:58 +00:00
Vladimir Prus
6d9d4fcfce
Port notfile.py. Attempt to clean the mess with decorating action names.
...
[SVN r64431]
2010-07-29 10:39:31 +00:00
Vladimir Prus
3744ff86cc
Make test framework not crash when reading nonexistent file
...
[SVN r64353]
2010-07-26 09:20:54 +00:00
Vladimir Prus
77ee1e6c56
Major update of top level 'build_system.py' module.
...
[SVN r64351]
2010-07-26 08:28:12 +00:00
Vladimir Prus
b1641db9d0
When test fails and --preserve is set, also show the command line.
...
[SVN r64348]
2010-07-26 07:51:18 +00:00
Vladimir Prus
5356808752
Unbreak conditional requirements work.
...
[SVN r64305]
2010-07-23 15:08:14 +00:00
Vladimir Prus
e46cbd6a2f
Fix search for Boost.Jam in Boost.Build testing
...
[SVN r64217]
2010-07-21 11:04:12 +00:00
Vladimir Prus
e7bf90f62a
Don't check for non-existent paths
...
[SVN r63919]
2010-07-12 08:15:41 +00:00
Vladimir Prus
9c9c533b93
Fix detection of exit status. We use close on pipe to get return status
...
and if program does exit(1) we get '1'. The code for checking was
using os.WIFSIGNALLED, and that returns true for '1' -- it seems like
it is expecting result of os.system, which would be 256, or something.
[SVN r62634]
2010-06-09 07:09:29 +00:00
Vladimir Prus
5f5e7aa253
Ignore bin/config.log when testing
...
[SVN r60253]
2010-03-06 18:49:05 +00:00
Vladimir Prus
7f11155d06
Improve reporting of failed test due to unexpected changes.
...
[SVN r55220]
2009-07-28 07:11:09 +00:00
Vladimir Prus
04c42eea72
Properly report failures to add/remove/modify file.
...
[SVN r55152]
2009-07-25 06:47:43 +00:00
Vladimir Prus
7cb2facd25
Include annotations in test log
...
[SVN r50173]
2008-12-07 08:41:56 +00:00
Vladimir Prus
d437364357
Fix typo
...
[SVN r49785]
2008-11-16 12:46:11 +00:00
Jurko Gospodnetić
dbb6041bd0
Minor stylistic changes in the Boost Build internal unit testing implementation Python script.
...
[SVN r48647]
2008-09-07 08:36:03 +00:00
Jurko Gospodnetić
7ef2104518
Added support for tests checking that a build run did not take longer than expected to finish. Minor stylistic changes.
...
[SVN r45000]
2008-05-02 00:12:29 +00:00
Jurko Gospodnetić
a4fb74303d
Fixed a bug with BOOST_BUILD_PATH not getting set correctly in Boost Build unit tests in case it contained spaces.
...
[SVN r44991]
2008-05-01 19:47:37 +00:00
Jurko Gospodnetić
81ca84e34f
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ć
3051ef0aba
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ć
92bb5ccf97
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
23cf7db67e
Use local sorted() function to support Python < 2.4.
...
[SVN r44165]
2008-04-11 05:34:00 +00:00
Vladimir Prus
439d41eaee
For BoostBuild regression test, handle OSX intel.
...
Patch from Hugo Duncan.
[SVN r43989]
2008-04-01 18:22:21 +00:00
Jurko Gospodnetić
b6f204090d
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ć
35d1831f4f
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ć
1bde777472
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ć
904d0d4fe8
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ć
4ef465e72a
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ć
275b25072d
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
7e63070ad7
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
7cb84d0739
Fix typos.
...
Patch from Jurko Gospodnetic
[SVN r42296]
2007-12-25 09:25:25 +00:00
Vladimir Prus
117366c9d7
Attemp to fix searched_lib on windows
...
[SVN r39831]
2007-10-09 06:37:00 +00:00
Vladimir Prus
c936ec0623
Windows fix
...
[SVN r39817]
2007-10-08 21:10:41 +00:00
Vladimir Prus
47883c1710
* 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
bcc1770d08
Record failure reason when we fail to open a file.
...
[SVN r39169]
2007-09-08 17:10:26 +00:00
Vladimir Prus
c349da3998
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
44298f02c7
Implement --ignore-toolset-requirements and set in
...
during testing.
[SVN r39164]
2007-09-07 23:59:54 +00:00
Vladimir Prus
216e84fba9
Make it work
...
[SVN r39163]
2007-09-07 23:59:10 +00:00
Vladimir Prus
109fba60a0
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
28f5cfdd14
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
eeede1435d
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
1f9e521532
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
1d35c7d9fc
On Windows static libs have the lib prefix, but DLLs don't.
...
[SVN r38918]
2007-08-25 04:08:28 +00:00
Rene Rivera
1c4d6dd97a
More changes to account for differing variant subdirs between toolsets, and of toolset expansion.
...
[SVN r38710]
2007-08-16 04:56:08 +00:00