Steven Watanabe
0d5e76ebf2
Upgrade the scanner to handle whitespace more intelligently
...
* The new scanner is currently disabled and only issues a warning
for tokens that would be lexed differently.
* Special case a few common uses of ':', to limit breakage to
a manageable level.
* Remove the horribly outdated Jambase code inherited from Perforce Jam
* Update all of Boost.Build to work in the presence of the new lexer.
2018-01-31 14:08:36 -07:00
Steven Watanabe
fa78d4fed7
Don't pass -d0, except for the tests that actually require it. Suppress global -d arguments for tests that check stdout or set -d explicitly. All tests now pass in verbose mode.
2017-12-26 13:25:40 -07:00
Aaron Boman
cf04401049
Fix test_rc for Py26 tests.
2016-10-27 20:22:06 -05:00
Aaron Boman
5369b25498
Partially fix test_rc.
2016-10-27 20:22:05 -05:00
Jurko Gospodnetić
f951fb1559
Updated Boost Build's internal testing system to allow for more detailed output and file content line testing - can now test for multiple lines in sequence, with or without having other lines in between.
...
[SVN r79701]
2012-07-23 18:10:36 +00:00
Jurko Gospodnetić
5522e70bd8
Boost Build internal testing framework cleanup - minor stylistic changes (Python string literal quoting, line wrapping, trailing spaces, updated expected output line leading & trailing spaces to match the actual output).
...
[SVN r79698]
2012-07-23 16:54:18 +00:00
Jurko Gospodnetić
343b4d6532
Updated the internal Boost Build testing system to use the Python subprocess module (introduced in Python 2.4) for running external processes instead of popen2 (deprecated since Python 2.6). We are already using Python 2.4 features in this codebase so there is no need to support Python releases older than 2.4.
...
Related changes:
* BoostBuild.Tester & TestCmd.TestCmd interfaces now accept external process parameters as a list of strings, thus avoiding problems with parsing arguments containing spaces.
* Avoided a potential process hang in case an external process being run prints out enough output to fill up the OS's pipe buffer (OS would pause the process until someone read the data from the pipe but the testing framework would not do this until the process in question had terminated).
[SVN r79448]
2012-07-12 12:55:25 +00:00
Jurko Gospodnetić
c5e5b5324e
Boost Build cleanup - minor stylistic internal Boost Build test script & testing system changes.
...
[SVN r79445]
2012-07-12 12:22:14 +00:00
Jurko Gospodnetić
bcbd74f5be
Updated Boost Build test_rc.py test to make its internal dummy-RC toolset always use the .obj suffix when generating OBJ targets. This is another attempt at correcting failures for this test on non-Windows platforms.
...
[SVN r79231]
2012-07-02 18:59:11 +00:00
Jurko Gospodnetić
8704397f4a
Yet another attempt at getting Boost Build's test_rc.py test to use its internal dummy-RC toolset correctly. Now disabled reading any external Boost Build configuration files to avoid having other, not actually used, toolsets (e.g. gcc) change the OBJ target suffix used by Boost Build.
...
[SVN r79225]
2012-07-02 09:50:12 +00:00
Jurko Gospodnetić
60184aec1f
Updated Boost Build test_rc.py test to use its internal dummy-RC toolset even when the test site has a different toolset configured in its site-config.jam or user-config.jam configuration files. Added more detailed output information in case this test fails.
...
[SVN r79221]
2012-07-01 23:53:22 +00:00
Jurko Gospodnetić
8c46361707
Updated the Boost Build test_rc.py test to use an internal dummy toolset to test the functionality in gc.jam. Before, using the some toolsets (e.g. gcc toolset on a non-Windows platform) was using the silent 'null' resource compiler which did not display the output messages required by this test.
...
[SVN r79168]
2012-06-29 18:07:10 +00:00
Jurko Gospodnetić
270d13afe1
Updated the Boost Build test_rc.py test to display some additional debugging information in case of failures to help debugging some detected test failures on different non-Windows Boost library test runners.
...
[SVN r79155]
2012-06-28 12:27:44 +00:00
Jurko Gospodnetić
9dc325c5de
Added a new Boost Build test - testing the rc.jam toolset. Guards against a regression causing targets depending on a .rc script file to rebuild every time if the .rc script includes a resource file newer than itself.
...
[SVN r79148]
2012-06-27 22:20:33 +00:00