Jurko Gospodnetić
028a05d91a
Comment typo correction.
...
[SVN r78879]
2012-06-11 01:47:08 +00:00
Jurko Gospodnetić
34e2f59a2c
Minor stylistic cleanup in the main Boost Build test runner script.
...
[SVN r78878]
2012-06-11 01:46:24 +00:00
Jurko Gospodnetić
bcf6b92952
Stopped using the Python string.format() method in the Boost Build configuration.py test to support running that test using Python versions older than 2.6.
...
[SVN r78875]
2012-06-11 00:26:11 +00:00
Jurko Gospodnetić
7f65d1e113
Updated Boost Build configuration.py test debugging code to re-raise any non-SystemExit unhandled exceptions as SystemExit exceptions to avoid aborting the test runner test_all.py script.
...
[SVN r78873]
2012-06-10 16:41:22 +00:00
Jurko Gospodnetić
3c23ae405f
Added additional temporary debugging code to the Boost Build configuration.py test to help with debugging related test failures reported on different platforms.
...
[SVN r78871]
2012-06-10 16:18:33 +00:00
Jurko Gospodnetić
673c3d765c
Minor stylistic changes.
...
[SVN r78870]
2012-06-10 16:02:02 +00:00
Jurko Gospodnetić
d029652eee
Temporarily commented out all Boost Build configuratio.py test code related to setting empty-string environment variables. Part of the effort to make this test pass on all supported platforms - trying to make sure this is the part of the test causing problems on some non-Windows platforms.
...
[SVN r78869]
2012-06-10 10:05:04 +00:00
Jurko Gospodnetić
7211406abb
Updated the configuration.py Boost Build test to adapt to whether the platform running that test supports setting an environment variable to an empty string value. Made the same test use explicitly specified test case ids since now some of those test cases may be skipped on specific platforms.
...
[SVN r78867]
2012-06-10 00:54:13 +00:00
Jurko Gospodnetić
90e7e882e7
Update the Boost Build testing framework to work correctly when calling Boost Jam with arguments containing extra spaces. Such argument strings get split on whitespace characters and cause the constructed argument list to contain empty elements which code using that list was not handling correctly.
...
[SVN r78866]
2012-06-09 23:19:07 +00:00
Jurko Gospodnetić
9f58e0d2da
Updated the configuration.py Boost Build test to display more detailed information about which of its test cases failed exactly. Now each test case there displays a unique identifier on stdout when run.
...
[SVN r78865]
2012-06-09 23:02:42 +00:00
Jurko Gospodnetić
1d6b11b0db
Minor stylistic configuration.py Boost Build test changes.
...
[SVN r78864]
2012-06-09 22:58:35 +00:00
Jurko Gospodnetić
475d86e17e
Updated the Boost Build configuration.py test so it tests explicitly disabling user configuration loading and tests specifying the user configuration file using the BOOST_BUILD_USER_CONFIG environment variable. This fixes invalid test failures when the BOOST_BUILD_USER_CONFIG environment was set on the test runner machines.
...
[SVN r78857]
2012-06-08 08:23:58 +00:00
Jurko Gospodnetić
b26297d8f3
Commented two new test case ideas for Boost Build's timedata test - 'time' targets with sources representing more than one virtual target and sources representing a virtual target that gets built by multiple actions in sequence.
...
[SVN r78684]
2012-05-27 15:10:24 +00:00
Jurko Gospodnetić
6e3f389e6f
Fix for Boost Build testing.jam module's time action on Windows. It now no longer outputs extra quote characters when run under the Windows cmd shell and so no longer fails when Boost Build passes it an even number of sources. Updated related unit test (to see the full effect run using the Windows cmd shell and the Cygwin gcc toolset as this test still fails for other reasons when using the msvc toolset). Better commented related code.
...
[SVN r78671]
2012-05-27 06:36:49 +00:00
Jurko Gospodnetić
bd4d630f69
Added a new Boost Build unit test exercising the Jam variable expansion in actions.
...
[SVN r78670]
2012-05-27 00:00:30 +00:00
Jurko Gospodnetić
2fd4ebc4cc
Added a new Boost Build unit test exercising the SPLIT_BY_CHARACTERS built-in rule.
...
[SVN r78669]
2012-05-26 23:27:33 +00:00
Jurko Gospodnetić
cd29f50042
Made the Boost Build core-language test pass on Windows 7. This test expects certain registry keys to exist under HKLM\SYSTEM\CurrentControlSet but Windows 7 added an additional 'Policies' one there.
...
[SVN r78626]
2012-05-25 18:59:05 +00:00
Steven Watanabe
b7d2e4d06c
Make unit-test handle paths containing spaces.
...
[SVN r78538]
2012-05-22 04:20:29 +00:00
Steven Watanabe
d3b0ec3508
Handle cycles when determining target fate in make0.
...
[SVN r78259]
2012-04-30 01:21:04 +00:00
Steven Watanabe
4fbd8fa775
Pass the correct argument to make1breakcycle and make sure that we don't add a spurious self-dependency.
...
[SVN r78252]
2012-04-29 04:27:55 +00:00
Steven Watanabe
9e04ceafc3
Stop targets that depend on an include cycle from updating before all the required generated headers are built.
...
[SVN r78250]
2012-04-29 01:06:55 +00:00
Steven Watanabe
e6b3927ef3
Detect cycles created by rescanning.
...
[SVN r78249]
2012-04-28 22:05:28 +00:00
Steven Watanabe
52b16cdc4d
Add test of rescanning for headers.
...
[SVN r78248]
2012-04-28 19:51:01 +00:00
Steven Watanabe
f7c880765e
Reduce pauses.
...
[SVN r77648]
2012-03-30 14:52:38 +00:00
Steven Watanabe
ee897c8bd3
Test for ECHO.
...
[SVN r77646]
2012-03-30 14:04:44 +00:00
Steven Watanabe
2a23d156c7
Test for EXIT
...
[SVN r77644]
2012-03-30 12:51:59 +00:00
Steven Watanabe
33ddd8221b
Fix test
...
[SVN r77524]
2012-03-25 00:10:32 +00:00
Steven Watanabe
3fd7ecbccd
More correct behavior of -n with FAIL_EXPECTED targets and across multiple calls to UPDATE_NOW.
...
[SVN r76045]
2011-12-18 16:51:43 +00:00
Steven Watanabe
295e3d222c
Fix the result of while.
...
[SVN r75945]
2011-12-14 21:49:34 +00:00
Steven Watanabe
01b1d78744
Fix a subtle problem in the result of if statements.
...
[SVN r75944]
2011-12-14 21:33:26 +00:00
Steven Watanabe
ce2ca5e4f1
Restore the original BACKTRACE behavior that I inadvertently changed.
...
[SVN r75929]
2011-12-13 00:03:38 +00:00
Steven Watanabe
fc186f2603
Tests for join
...
[SVN r75881]
2011-12-09 23:21:40 +00:00
Steven Watanabe
feb63badf1
Remove project-test1. It's hopelessly broken and not run by test_all.py.
...
[SVN r75880]
2011-12-09 19:37:53 +00:00
Steven Watanabe
e187955f5e
Update unused.py and add it to test_all.py.
...
[SVN r75879]
2011-12-09 18:19:50 +00:00
Steven Watanabe
cf2e6f77ed
Fix direct_request_test and add it to test_all.py.
...
[SVN r75877]
2011-12-09 16:08:44 +00:00
Steven Watanabe
97a17f42ee
Remove some out-dated tests. The functionality is already tested elsewhere, so they don't need to be ported.
...
[SVN r75873]
2011-12-09 04:59:16 +00:00
Steven Watanabe
791ef6d70a
Handle STDOUT and STDERR in @ files.
...
[SVN r75872]
2011-12-09 03:56:02 +00:00
Steven Watanabe
0dc10e9d7d
Fix tests using sleep on Windows.
...
[SVN r75871]
2011-12-09 01:36:04 +00:00
Steven Watanabe
c9f73695e3
Remove file_name_handling.py. The functionality that it was testing was a horrible hack that never really worked to solve a problem that has since been fixed in another way.
...
[SVN r75857]
2011-12-07 19:49:17 +00:00
Steven Watanabe
7eb75eabb5
Fix the two example tests.
...
[SVN r75855]
2011-12-07 17:45:52 +00:00
Steven Watanabe
91252f29d1
Grep for modules with a __test__ rule.
...
[SVN r75854]
2011-12-07 17:33:49 +00:00
Steven Watanabe
4f0085fc89
Avoid copying the entire test directory.
...
[SVN r75853]
2011-12-07 17:26:08 +00:00
Steven Watanabe
c555793cd3
Remove testing prototype.
...
[SVN r75851]
2011-12-07 17:03:55 +00:00
Steven Watanabe
ec4d53ec97
Remove tests from Boost.Build V1.
...
[SVN r75850]
2011-12-07 16:52:58 +00:00
Steven Watanabe
67c759581d
Integrate everything useful from check-jam-patches into the Python test system.
...
[SVN r75835]
2011-12-07 05:05:03 +00:00
Steven Watanabe
71b24b5005
Integrate the tests in test/engine/ into the Python test scripts.
...
[SVN r75834]
2011-12-07 02:43:29 +00:00
Steven Watanabe
c8480a9cf5
Try to test the language semantics thoroughly
...
[SVN r75738]
2011-11-30 00:06:31 +00:00
Steven Watanabe
e53d9ada43
Fix a few test problems on cygwin and mingw
...
[SVN r75737]
2011-11-30 00:03:54 +00:00
Vladimir Prus
d7e539e68a
Adjust configuration.py to Boost.Build/Python.
...
[SVN r75506]
2011-11-16 13:00:41 +00:00
Steven Watanabe
889fff3e70
Fix Jamfile loading for Boost.Test.
...
[SVN r75407]
2011-11-08 15:54:54 +00:00
Vladimir Prus
d4c51760cb
Fix the functionality of ignoring using config in Python port.
...
[SVN r75110]
2011-10-25 08:26:40 +00:00
Vladimir Prus
38d95bfc4e
Fix conditionals_multiple.py test in Boost.Build/Python.
...
Patch from Georgy Gritsenko.
[SVN r75109]
2011-10-25 08:05:06 +00:00
Vladimir Prus
a52f70a901
Adjust the 'prebuilt' test to use the 'os' module, to help Python port.
...
[SVN r75032]
2011-10-18 08:58:06 +00:00
Jürgen Hunold
0d73eb1f3e
Fix #5802 : Add response file support for moc.
...
[SVN r74058]
2011-08-25 18:09:59 +00:00
Jürgen Hunold
128b44ce04
Maintenance and Qt-4.7.x support
...
[SVN r73300]
2011-07-22 12:24:17 +00:00
Vladimir Prus
ff650d6ff1
Unbreak Boost.Build tests
...
[SVN r72883]
2011-07-03 21:05:59 +00:00
Steven Watanabe
9e87df467c
Implement a preprocessed rule for generating preprocessed source files. Refs #5390 . This is not yet complete as it is only implemented for gcc and msvc.
...
[SVN r71094]
2011-04-07 23:41:19 +00:00
Vladimir Prus
e1f1c99d2f
Move engine tests. Remove some releng bits that were useful only for
...
standardlone engine.
[SVN r68591]
2011-02-01 08:08:56 +00:00
Daniel James
c44506a7e3
Link fixes.
...
[SVN r66273]
2010-10-30 14:32:50 +00:00
Vladimir Prus
e42df53686
Fix test/using.py.
...
[SVN r64639]
2010-08-06 13:04:21 +00:00
Vladimir Prus
6182a77099
Preserve current project across 'using' statements.
...
[SVN r64638]
2010-08-06 13:02:27 +00:00
Vladimir Prus
b0805afaa2
Do not make source-location attribute always absolute.
...
Also, adjust reporting and expectations for metatarget reference
recursion.
[SVN r64636]
2010-08-06 12:45:48 +00:00
Vladimir Prus
1b4c2cf91d
Fix alternative selection and some error reporting and a test.
...
[SVN r64635]
2010-08-06 12:32:34 +00:00
Vladimir Prus
ac7f0272b9
Fix lots of things.
...
[SVN r64625]
2010-08-06 08:40:42 +00:00
Vladimir Prus
67cb81915b
Remove unused bits
...
[SVN r64613]
2010-08-05 09:11:17 +00:00
Vladimir Prus
c411fb609b
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
b679616a3b
Ubreak tests/dll_path.py in non-python mode.
...
[SVN r64593]
2010-08-04 10:24:59 +00:00
Vladimir Prus
707aca5155
Somewhat fix searched libraries.
...
[SVN r64554]
2010-08-02 21:27:33 +00:00
Vladimir Prus
1241fa5b84
Fix test/suffix.py
...
[SVN r64553]
2010-08-02 20:24:50 +00:00
Vladimir Prus
7052e98b3a
Make test/standalone.py pass.
...
[SVN r64549]
2010-08-02 17:30:46 +00:00
Vladimir Prus
d675ae0aea
Initial support for making Python module act as project.
...
[SVN r64548]
2010-08-02 16:53:42 +00:00
Vladimir Prus
bd0c1a9b1b
Partially upgrade build/generators.py
...
[SVN r64539]
2010-08-02 14:15:50 +00:00
Vladimir Prus
f4a0ff6125
Fix the 'chain' and 'inherited_dependency' tests.
...
[SVN r64460]
2010-07-30 08:46:20 +00:00
Vladimir Prus
b80c89386a
Fix expected status
...
[SVN r64433]
2010-07-29 11:40:00 +00:00
Vladimir Prus
487f970c15
Port notfile.py. Attempt to clean the mess with decorating action names.
...
[SVN r64431]
2010-07-29 10:39:31 +00:00
Vladimir Prus
77d60028bb
Various fixes
...
[SVN r64426]
2010-07-29 05:35:32 +00:00
Vladimir Prus
78fc7e42c3
More header dependencies fixes
...
[SVN r64408]
2010-07-28 12:39:39 +00:00
Vladimir Prus
23174ae216
More changes
...
[SVN r64406]
2010-07-28 12:04:31 +00:00
Vladimir Prus
d9169015d1
Make default build work.
...
Also, return non-zero status if there were errors.
[SVN r64384]
2010-07-27 11:53:37 +00:00
Vladimir Prus
12688d3182
Make build-dir project attribute and command-line option work.
...
[SVN r64357]
2010-07-26 11:40:00 +00:00
Vladimir Prus
9f9e7f163b
Make test framework not crash when reading nonexistent file
...
[SVN r64353]
2010-07-26 09:20:54 +00:00
Vladimir Prus
3d92c23c29
Major update of top level 'build_system.py' module.
...
[SVN r64351]
2010-07-26 08:28:12 +00:00
Vladimir Prus
6ce5d75ab1
When test fails and --preserve is set, also show the command line.
...
[SVN r64348]
2010-07-26 07:51:18 +00:00
Vladimir Prus
e963e2842c
Unbreak conditional requirements work.
...
[SVN r64305]
2010-07-23 15:08:14 +00:00
Vladimir Prus
a12b8de478
Fix search for Boost.Jam in Boost.Build testing
...
[SVN r64217]
2010-07-21 11:04:12 +00:00
Vladimir Prus
d894ae7f90
Don't check for non-existent paths
...
[SVN r63919]
2010-07-12 08:15:41 +00:00
Vladimir Prus
90c3f1170f
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
2f11a215e4
Disambiguiate targets and directories passed to 'build-project'.
...
Previously, if a Jamfile had:
exe a : a.cpp ;
build-project a ;
where a is also a subdirectory, we'd get error.
[SVN r61054]
2010-04-04 21:04:48 +00:00
Vladimir Prus
69c43f3002
Ignore bin/config.log when testing
...
[SVN r60253]
2010-03-06 18:49:05 +00:00
Jürgen Hunold
8cfbc7c18e
Add support for QtMultimedia framework in upcoming Qt-4.6.
...
[SVN r56132]
2009-09-10 10:14:46 +00:00
Vladimir Prus
8c1bd79f33
Reset everyting back to revision 56032.
...
My partial reverts of things appear to be creating bigger mess.
[SVN r56042]
2009-09-05 12:44:28 +00:00
Vladimir Prus
5368d5d44f
Revert revision 48644.
...
It contains so many formatting changes to as make porting things to
Python impossible. I'll cherry-pick the todo and non-formatting changes
soonish.
[SVN r56034]
2009-09-05 12:01:30 +00:00
Vladimir Prus
2a5d05b79a
More diagnostics for tests that fail on OSX.
...
[SVN r55865]
2009-08-29 13:34:09 +00:00
Vladimir Prus
4d9d7d2ab6
Testsuite fixes for windows.
...
[SVN r55332]
2009-08-01 10:31:05 +00:00
Vladimir Prus
5c9481211d
Improve reporting of failed test due to unexpected changes.
...
[SVN r55220]
2009-07-28 07:11:09 +00:00
Vladimir Prus
5930635366
Attempt at fixing generators_test on windows
...
[SVN r55198]
2009-07-27 07:20:34 +00:00
Vladimir Prus
5066c210e0
Properly report failures to add/remove/modify file.
...
[SVN r55152]
2009-07-25 06:47:43 +00:00
Vladimir Prus
2b66a7dc04
Exclude default_toolset.py
...
[SVN r54972]
2009-07-15 19:06:04 +00:00
Vladimir Prus
bb5579e553
Make toolchain check work if version is provided.
...
[SVN r52437]
2009-04-17 07:42:34 +00:00
Jurko Gospodnetić
9de7e80a1a
Makes the Boost Build testing system correctly report the number of passed test cases instead of reporting all test cases as passed.
...
[SVN r51396]
2009-02-22 17:36:30 +00:00
Jurko Gospodnetić
478d847f17
Converted tabs to spaces in the Boost Build test/test_all.py to make all whitespace style used in this file consistent.
...
[SVN r51391]
2009-02-22 16:02:58 +00:00
Jurko Gospodnetić
955acd74da
Removed trailing spaces.
...
[SVN r51390]
2009-02-22 15:55:04 +00:00
Jürgen Hunold
18b11c7960
Add support for QtScriptTools (Qt-4.5)
...
[SVN r51300]
2009-02-17 19:30:19 +00:00
Steven Watanabe
34c4942aee
Fix generator_selection on windows
...
[SVN r51227]
2009-02-12 19:10:40 +00:00
Steven Watanabe
9f46413ba8
Make c-scanner use native path format for included headers in order to match the names of generated headers
...
[SVN r50390]
2008-12-27 20:31:15 +00:00
Vladimir Prus
182ce6525e
Include more attributes in test results
...
[SVN r50179]
2008-12-07 14:56:43 +00:00
Vladimir Prus
6d6162bc99
Include annotations in test log
...
[SVN r50173]
2008-12-07 08:41:56 +00:00
Vladimir Prus
c3c4a6ac16
Make sure 'FAILED' is printed on failure
...
[SVN r49787]
2008-11-16 13:19:26 +00:00
Vladimir Prus
bed238bee8
Fix typo
...
[SVN r49785]
2008-11-16 12:46:11 +00:00
Vladimir Prus
3166e502a4
XML output support
...
[SVN r49731]
2008-11-13 21:30:05 +00:00
Vladimir Prus
2c7c99a5f7
When source resides in a subdirectory of source dir, preserve that
...
subdirectory in the target path.
[SVN r49714]
2008-11-13 08:26:39 +00:00
Vladimir Prus
04a996fd57
Unbreak generator_selection test on Linux
...
[SVN r49711]
2008-11-13 07:12:12 +00:00
Steven Watanabe
77a9d5d406
Make common.copy set the timestamp of the destination to the current time on windows
...
[SVN r49463]
2008-10-27 16:27:53 +00:00
Jurko Gospodnetić
2a4e376943
Added a regression test for and fixed a bug causing Boost Build's action timing rule not to work correctly if triggered on targets containing spaces in their name.
...
[SVN r48650]
2008-09-07 08:45:39 +00:00
Jurko Gospodnetić
7ee3357c1b
Added documentation comments for the action timing 'time' rule in the Boost Build tools/testing.jam module. Added a test for this rule. Corrected a bug with this rule not storing user time in its output file.
...
[SVN r48648]
2008-09-07 08:38:15 +00:00
Jurko Gospodnetić
4f5346a3ad
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ć
03b33009ec
Fixed how Boost Build's automated testing results get reported in case of tests running on files containing spaces in their path. Regression test added as well.
...
[SVN r48645]
2008-09-07 07:33:30 +00:00
Jurko Gospodnetić
92aea5bb39
Minor stylistic changes throughout several Boost Build modules. Added several todo comments.
...
[SVN r48644]
2008-09-07 06:10:32 +00:00
Jurko Gospodnetić
cd67c38e31
Reordered all Boost Build test declarations alphabetically to make it easier to scan through them visually.
...
[SVN r48597]
2008-09-05 02:04:51 +00:00
Jurko Gospodnetić
ed748f97f2
Added a test for and fixed a Boost Build generator selection bug caused by caching viable source target types for different target types and generators and not maintaining those caches when their content gets invalidated by defining a new derived target type. Currently quick-fixed by clearing most of the cached values when registering a new derived target type. Later on this could be made more detailed by clearing only the actually invalidated cache values or updating them directly by simply added the derived target type to them.
...
[SVN r48596]
2008-09-05 01:58:07 +00:00
Jurko Gospodnetić
571c336bfb
Improved the Boost Build generator_selection.py test case by adding additional assertions to it.
...
[SVN r48595]
2008-09-05 01:55:01 +00:00
Jurko Gospodnetić
324e6bc227
Added a test for and fixed a Boost Build generator selection bug caused by caching viable source target types for different target types and generators and not maintaining those caches when their content gets invalidated by defining a new generator. Currently quick-fixed by clearing most of the cached values when registering a new generator. Later on this could be made more detailed by clearing only the actually invalidated cache values or updating them or even only marking them to be lazily updated when needed next.
...
Problem detected & and a reproducible example constructed by Juraj Ivančić. Debugged by Vladimir Prus. Patched and packaged by Jurko Gospodnetić.
[SVN r48590]
2008-09-05 00:26:43 +00:00
Jurko Gospodnetić
677aefd23b
Minor stylistic changes in several Boost Build unit tests.
...
[SVN r48589]
2008-09-04 23:12:25 +00:00
Jurko Gospodnetić
f20f88b91d
Renamed differently named Jamroot and Jamfile files throughout Boost Build's test suite to jamroot.jam & jamfile.jam. Stylistic changes throughout the whole Boost Build test suite.
...
[SVN r48504]
2008-08-31 21:42:27 +00:00
Jurko Gospodnetić
cff7f85e77
Minor stylistic changes made to the Boost Build make example test.
...
[SVN r48443]
2008-08-29 12:35:11 +00:00
Vladimir Prus
6a12a760dc
Make build_file test work on Linux
...
[SVN r48389]
2008-08-25 19:09:30 +00:00
Vladimir Prus
bc2225da16
Actually unbreak the 'make' test
...
[SVN r48388]
2008-08-25 19:05:39 +00:00
Vladimir Prus
466fee25cc
Unbreak file_name_handling on Linux.
...
The "(" and ")" characters have special meaning to the shell, and must be quoted.
[SVN r48387]
2008-08-25 18:55:06 +00:00
Jurko Gospodnetić
e8cebe30f4
Added Boost Build database unit tests related to inherited dependency property handling.
...
Part of the work by Steven Watanabe on fixing the Boost Build trac ticket #13 (http://zigzag.cs.msu.su/boost.build/ticket/13 ).
[SVN r48317]
2008-08-23 12:22:43 +00:00
Jurko Gospodnetić
858a87c9ab
Minor stylistic changes made to the Boost Build test/generators_test.py test case module.
...
[SVN r48310]
2008-08-23 09:08:24 +00:00
Jurko Gospodnetić
265c102f67
Dumping test results no longer fails due to test sources not being located under the main project folder. Added a corresponding unit test which can also be used as a focal point for future test result dumping tests.
...
[SVN r48296]
2008-08-22 22:06:57 +00:00
Jurko Gospodnetić
9306c3f12c
Minor stylistic changes made to the Boost Build test/clean.py test script. Corrected the second test case the --clean option was getting tested instead of --clean-all.
...
See the trac ticket http://zigzag.lvk.cs.msu.su:7813/boost.build/ticket/198 on what still needs to be improved with this test.
[SVN r47970]
2008-08-04 17:58:53 +00:00
Rene Rivera
4563c7e34e
Revert changeset [47536].
...
[SVN r47571]
2008-07-18 16:13:20 +00:00
Steven Watanabe
f7298b43cf
Make c-scanner search directories specified
...
with <include>a&&b
* tools/buitin.jam
(c-scanner.__init__) split includes at &&
* test/test_all.py test/ordered_include.py
Test case for this fix.
[SVN r47537]
2008-07-18 03:25:20 +00:00
Steven Watanabe
8518a6fd56
Make dependency properties specified in project requirements
...
not cause errors in subprojects.
* build/property.jam
(tranlate-dependencies) New rule to bind dependency
properties to the project that they are specified in.
* build/property-set.jam
(create-from-user-input) Add call to property.translate-dependencies
* test/test_all.py test/inherited_dependency.py
Test case for this fix.
[SVN r47536]
2008-07-18 03:11:08 +00:00
Jürgen Hunold
80ce5b2b76
Refactoring of library declaration in qt4.jam.
...
Simplyfied declaration of Qt component libraries.
Removed duplicated code.
Add test cases for most of the Qt component libraries.
[SVN r47391]
2008-07-13 18:40:02 +00:00
Jurko Gospodnetić
bd36639325
Corrected the Boost Build conditionals_multiple.py test case.
...
[SVN r47343]
2008-07-12 11:25:04 +00:00
Jürgen Hunold
077d0cbc93
Fix: adjust to r40898: Fix: remove <user-interface>gui from usage-requirements of QtGui.
...
[SVN r47140]
2008-07-06 19:14:42 +00:00
Jurko Gospodnetić
d539f344a3
Minor stylistic comment change.
...
[SVN r45168]
2008-05-06 09:34:20 +00:00
Jurko Gospodnetić
84a9f25f9f
Fixed a bug causing Boost Jam not to handle target file names specified as both short and long file names correctly. Bug fixed by making bindtarget() function map names to TARGETs by using their long file names.
...
When scanning directories and creating a list of all their content (filent.c) it would identify all the located files and folders using their long file names. On the other hand, referencing a target using its short file name inside a Jam script caused Boost Jam to reference those files twice using two separate TARGET structures - one identified using the file's short name and one using the file's long name.
One bad example was the MkDir which would always attempt to create a folder identified by its short name even if that folder already existed (due to the NOUPDATE rule getting applied on the incorrect TARGET).
The change does not affect targets whose names do not represent existing file names.
Also, it seems to me that the short_path_to_long_path() call in file_dirscan() in the filent.c module should most likely be moved to file_info() in the filesys.c module. This would make mapping file names to file_info_t & TARGET structures consistent. However, I have not done this in this patch just to make the patch as minimal as possible.
Prepared tests have been do nothing on non Windows platforms.
[SVN r45144]
2008-05-05 15:52:56 +00:00
Jurko Gospodnetić
d7edf299d8
Cleaned up the main Boost Build module a bit related to how it processes explicit file (not target) references specified on the command line. Improved the related unit test. Minor stylistic changes.
...
[SVN r45070]
2008-05-03 16:05:17 +00:00
Jurko Gospodnetić
b800e2be7a
Updated the Boost Build test system's documentation about Tester.run_build_system() parameters. Minor stylistic changes.
...
[SVN r45005]
2008-05-02 01:02:01 +00:00
Jurko Gospodnetić
e10cbb7c2a
Minor stylistic changes.
...
[SVN r45004]
2008-05-02 00:57:29 +00:00
Jurko Gospodnetić
91c3a8c504
Added a new regression test making sure that the Boost Jam SORT builtin rule does not start getting quadratic behavior in some special cases as well as testing that the sorting algorithm works correctly. Related to the patch committed in revision 44195. Trimmed trailing spaces in tools/build/v2/test/test_all.py.
...
[SVN r45001]
2008-05-02 00:36:23 +00:00
Jurko Gospodnetić
9f994d6c90
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ć
692d2cb469
Minor stylistic changes.
...
[SVN r44995]
2008-05-01 21:19:11 +00:00
Jurko Gospodnetić
4372b775a9
Upgraded the internal Boost Build test system so it can be run from folders whose names contain spaces on Windows. Also added a workaround for a Python bug on Windows where it has some undocumented behavior when starting processes using commands containing quotes.
...
[SVN r44993]
2008-05-01 20:22:12 +00:00
Jurko Gospodnetić
eff732b908
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ć
21648313a7
Updated the Boost Build test system documentation. Now all the command line options are described. Several function descriptions updated.
...
[SVN r44983]
2008-05-01 17:08:04 +00:00
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ć
a4fc3f6257
Added explanation comments for match_exact() and match_re() functions in tools/build/v2/test/TestCmd.py. Removed corpse interpreted member from the TescCmd class and the related setter function in tools/build/v2/test/TestCmd.py. Minor stylistic comment changes.
...
[SVN r44981]
2008-05-01 17:04:22 +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ć
75cbaf0563
Updated the test so it passes on Windows. Had to change it to enable action output logging and compensate for the fact that now action names are sent to the output as well. Minor stylistic changes.
...
[SVN r42639]
2008-01-09 17:03:45 +00:00
Jurko Gospodnetić
101e52bea6
Updated the test so it passes on Windows. Had to change it to enable action output logging and compensate for the fact that now action names are sent to the output as well. Minor stylistic changes.
...
[SVN r42637]
2008-01-09 14:36:37 +00:00
Rene Rivera
a375083c27
Revert various changes that break backward compatibility, and also some minor edits.
...
[SVN r42633]
2008-01-09 04:34:12 +00:00
Rene Rivera
6f12bd5e02
Revert various changes that break backward compatibility, and also some minor edits.
...
[SVN r42632]
2008-01-09 04:31:58 +00:00
Jurko Gospodnetić
28ee146607
Fixed a failing test by making it access its action results using the __ACTION_RULE__ rule. Now it works with the default debug level settings (i.e. no action output displayed).
...
[SVN r42631]
2008-01-09 04:30:25 +00:00
Jurko Gospodnetić
e8474dd69f
Fixed a failing test by making it access action output using the __ACTION_RULE__ rule so it would not be affected by the level of debug output given by Boost Build/Jam.
...
[SVN r42630]
2008-01-09 04:15:35 +00:00
Jurko Gospodnetić
5b239afb81
Added a new test making sure properties conditioned on multiple different feature values are handled correctly. This especially includes testing the case when one of those features is <toolset> and the value given for it includes a toolset version.
...
[SVN r42613]
2008-01-08 14:40:24 +00:00
Jurko Gospodnetić
67c18a2efd
Added a new configuration test making sure that the bug with not being able to process absolute user-config configuration file references never rears its ugly head again.
...
[SVN r42568]
2008-01-07 18:38:28 +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ć
d289a56902
Added new tests related to Boost Build's default toolset handling. They test that the correct default toolset gets use and that when it gets used that has no different status than any other explicitly specified toolset.
...
[SVN r42549]
2008-01-06 20:56:20 +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ć
5ab291e73a
Simple code cleanup. Typo corrections.
...
[SVN r42547]
2008-01-06 20:37:55 +00:00
Jurko Gospodnetić
d7df2d92ca
Stylistic changes: typo corrections, comment alignments, output string updates, no functional changes, etc.
...
[SVN r42516]
2008-01-06 08:16:34 +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ć
9b97e0ac91
No functional changes but only stylistic changes such as: comment typo corrections, wrapping lines to 80 characters, indentations, removing trailing spaces, removing empty lines, made tests use Jamfile.jam and Jamroot.jam Boost Build script names, removed unnecessary module imports, etc.
...
[SVN r42506]
2008-01-06 00:25:48 +00:00
Jurko Gospodnetić
1cca32571d
Refactored the test into two separate test functions. Made the 'directory names with dots' test use the expect_output_line() tool instead of a manual find, causing a better diagnostic to be displayed in case of a failure. Made one of the test Jam scripts more compact. Made the test use the Jamroot.jam file instead of project-root.jam.
...
[SVN r42504]
2008-01-05 23:18:17 +00:00
Jurko Gospodnetić
970d44358f
Test code cleaned up a bit. No functional changes.
...
[SVN r42499]
2008-01-05 21:37:15 +00:00
Jurko Gospodnetić
b871e58f62
Renamed some Jamfile and project-root.jam references to Jamfile.jam and Jamroot.jam respectively.
...
[SVN r42498]
2008-01-05 20:48:50 +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
Jurko Gospodnetić
f108323c1e
Simplified the used make rules. Removed some dead code. Minor stylistic changes.
...
[SVN r42490]
2008-01-05 18:14:20 +00:00
Jurko Gospodnetić
e54169f771
Stylistic comment changes & typo corrections in several files. Corrected an incorrect error message in boost-build/build/project.jam displayed when a --build-dir command-line option and a non top-level project build-dir attribute are specified.
...
[SVN r42486]
2008-01-05 17:52:31 +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
60ae680af7
Make inherit_toolset.py pass.
...
Patch from Jurko Gospodnetic.
[SVN r42300]
2007-12-25 09:38:19 +00:00
Vladimir Prus
36a79b841f
Fix typos.
...
Patch from Jurko Gospodnetic
[SVN r42296]
2007-12-25 09:25:25 +00:00
Rene Rivera
ad236a1ea7
Fix time related callbacks to new arguments.
...
[SVN r42247]
2007-12-22 21:32:17 +00:00
Rene Rivera
a42f466fd2
Inspection report fixes.
...
[SVN r41212]
2007-11-18 20:24:25 +00:00
Beman Dawes
8aeb9f160a
Get rid of .cvsignore files
...
[SVN r41107]
2007-11-15 15:20:27 +00:00
Vladimir Prus
2eb44eeb35
Attemp to fix searched_lib on windows
...
[SVN r39831]
2007-10-09 06:37:00 +00:00
Vladimir Prus
a53633a6cf
Windows fix
...
[SVN r39821]
2007-10-08 21:47:05 +00:00
Vladimir Prus
06a13cedeb
Windows fix
...
[SVN r39820]
2007-10-08 21:28:09 +00:00
Vladimir Prus
26a974cb03
Windows fix
...
[SVN r39818]
2007-10-08 21:13:05 +00:00
Vladimir Prus
372d909cdb
Windows fix
...
[SVN r39817]
2007-10-08 21:10:41 +00:00
Vladimir Prus
0fa6aa1374
Correct example test-config.jam
...
[SVN r39630]
2007-10-01 06:04:17 +00:00
Vladimir Prus
d1e6123a09
Update example test-config.jam
...
[SVN r39623]
2007-09-30 19:05:38 +00:00
Vladimir Prus
62adc78a70
Adjust Qt4 example test
...
[SVN r39606]
2007-09-29 18:21:49 +00:00
Vladimir Prus
49e9219a61
Adjust boostbook test for boostbook changes. It
...
seems that doxygen target now produces a target
with different name, and it does not produce
any target unless there's explicit dependency
on it. I'm not sure I like the change, but
anyway.
[SVN r39605]
2007-09-29 18:17:27 +00:00
Vladimir Prus
9af56e0e97
Don't run gcc_runtime test on msvc
...
[SVN r39197]
2007-09-11 19:36:48 +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
3bac4643ae
Don't try to apply --build-dir to standalone projects.
...
Fixes build_dir test failure on linux.
[SVN r39194]
2007-09-11 19:16:06 +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
8edaa3e0f1
Print test results summary at the end
...
[SVN r39166]
2007-09-08 00:26:18 +00:00
Vladimir Prus
a14761fd47
Fix remove_requirements test. I have no idea how
...
it could have passed as-is.
[SVN r39165]
2007-09-08 00:15:23 +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
Vladimir Prus
f9feb61242
Unbreak the gcc_runtime test
...
[SVN r39121]
2007-09-04 20:29:56 +00:00
Vladimir Prus
692f1fc20a
Allow to print the tree delta to any file.
...
[SVN r39120]
2007-09-04 20:26:19 +00:00
Vladimir Prus
aef14d8748
Make free features on the command line affect all targets,
...
not just directly requested ones.
Fixes #985 .
[SVN r39104]
2007-09-01 21:46:09 +00:00
Vladimir Prus
4f5947ca91
Fix glob excludes in subdirectories.
...
Thanks to Norbert Unterberg for the bug report.
[SVN r39103]
2007-09-01 20:28:42 +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
4d930c37a0
Use some wildcard matching on the expected output as 'echo' on Windows outputs extra space before EOLs, which Unix doesn't.
...
[SVN r38965]
2007-08-26 16:16:38 +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
3fae00b0a0
New project rule 'glob-tree'.
...
[SVN r36161]
2006-11-23 09:25:16 +00:00
Vladimir Prus
9fd7a6eba9
Make the 'glob' rule accept the patterns to exclude.
...
[SVN r36159]
2006-11-23 09:01:47 +00:00
Vladimir Prus
fe44e60b28
Handle indirect conditional properties in usage requirements
...
[SVN r36145]
2006-11-22 09:36:45 +00:00
Vladimir Prus
6488ce31d9
Enable pch test on msvc
...
[SVN r36143]
2006-11-22 09:33:07 +00:00
Vladimir Prus
ab4d1b8b99
Robustify the test
...
[SVN r36078]
2006-11-18 19:11:53 +00:00
Vladimir Prus
9ab60ec835
Revive some more tests
...
[SVN r35968]
2006-11-10 07:40:42 +00:00
Vladimir Prus
568b9e9d42
Test that project's path requirements can be removed by a main target.
...
[SVN r35923]
2006-11-08 09:59:42 +00:00
Vladimir Prus
5c57d836b6
Don't emit any messages when <build>no is in properties.
...
[SVN r35921]
2006-11-08 09:07:01 +00:00
Vladimir Prus
c4ea7d28c2
Fix thinko
...
[SVN r35919]
2006-11-08 08:42:55 +00:00
Vladimir Prus
c10a1de178
Unbreak rebuilds.py
...
[SVN r35918]
2006-11-08 08:42:12 +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
5b5b339cf1
Add copyrights+license (with help of a shell script).
...
[SVN r35861]
2006-11-06 01:44:13 +00:00
Rene Rivera
602b6d8b13
Add/update copyrights+license (with help of a shell script).
...
[SVN r35856]
2006-11-05 18:13:42 +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
Rene Rivera
3b9a41e48f
Adjust to make test pass on Windows.
...
[SVN r35723]
2006-10-24 16:32:31 +00:00
Vladimir Prus
3b4cca1b35
Improve the hanling of "inline" targets, like:
...
alias foo : [ run a.cpp ] ;
and
exe main : main.cpp [ lib helpers : helpers.cpp ] ;
Now inline targets are marked explicit, so that they are not
build unless requested, and for the alias target, the names
of inline targets are not qualified by the name of top-level target.
build/
* alias.jam (alias): Pass 'no-renaming' to
target.main-target-sources.
* target.jam (main-target-sources): New parameter
'no-renaming'. Make inline target explicit.
* builtin.jam (lib): Declare 'result' variable,
to avoid implicit declaration of a global one.
tools/
* testing.jam (test-suite): Make synonymous with 'alias'.
test/
* inline.py: Adjust to the fact that alias no longer
changes names of inline targets. Check that inline
targets are explicit.
[SVN r35607]
2006-10-14 10:28:03 +00:00
Vladimir Prus
188d417514
Fix for msvc
...
[SVN r35533]
2006-10-10 07:48:33 +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
Jürgen Hunold
602eb9e5a2
Added missing/changed to Boost Software license.
...
Changed tests to use qt3 toolset.
[SVN r35399]
2006-09-28 19:00:12 +00:00
Vladimir Prus
0df12c504b
Test for 'cancel requirement' feature
...
[SVN r35169]
2006-09-18 19:56:19 +00:00
Daniel James
2dbf44f8c5
Merge tab removal.
...
[SVN r34995]
2006-08-29 20:59:37 +00:00
Vladimir Prus
2a1beb0e9e
Correct paths
...
[SVN r34622]
2006-07-20 08:55:13 +00:00
Vladimir Prus
deac4d9335
Fix expectations.
...
[SVN r34616]
2006-07-20 08:09:50 +00:00
Vladimir Prus
3b121523c5
Pass pass to BoostBook XSL. Remove broken configuration of msvc.
...
[SVN r34612]
2006-07-20 07:31:21 +00:00
Vladimir Prus
f56c300b23
Revert the path for preserving relative names of sources, since it breaks
...
UBLAS tests. Will reconsider later.
[SVN r34233]
2006-06-08 05:31:39 +00:00
Vladimir Prus
aafe2d6065
Try to preserve relative paths in sources.
...
Based on a patch from Ryan Gallagher.
[SVN r34062]
2006-05-23 14:21:58 +00:00
Vladimir Prus
e76518b57a
Fix a bug that prevented parent attributes from being inherited.
...
[SVN r33995]
2006-05-18 09:15:03 +00:00
Vladimir Prus
0bd46dfddf
Windows fixed
...
[SVN r33813]
2006-04-25 15:20:30 +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
5b65d0b342
Windows fixes
...
[SVN r33811]
2006-04-25 14:46:15 +00:00
Vladimir Prus
52b6d2cb23
Windows fixes
...
[SVN r33810]
2006-04-25 14:29:21 +00:00
Vladimir Prus
f78581a75e
Windows fixes
...
[SVN r33809]
2006-04-25 13:45:30 +00:00
Vladimir Prus
c6622eadc1
Windows fixes
...
[SVN r33808]
2006-04-25 13:11:25 +00:00
Vladimir Prus
f4790c1838
Ignore msvc 8.0 manifests.
...
[SVN r33807]
2006-04-25 13:10:03 +00:00
Vladimir Prus
2a544062f5
Prevent --clean from deleting files that were used as sources of 'cast'.
...
[SVN r33792]
2006-04-24 13:59:41 +00:00
Vladimir Prus
06adc0f63b
Tests for more examples.
...
[SVN r33656]
2006-04-11 07:25:48 +00:00
Vladimir Prus
b31d716fb7
Add a couple of tests for examples.
...
[SVN r33637]
2006-04-10 13:05:26 +00:00
Vladimir Prus
3a4cbec7b3
Revive boostbook.py tests, working around BoostBook dislike of classes
...
outside of any namespaces.
[SVN r33636]
2006-04-10 12:48:43 +00:00
Vladimir Prus
b48dc6225f
Test that 'unit-test' will find searched libraries.
...
[SVN r33624]
2006-04-10 07:29:30 +00:00
Vladimir Prus
9a0d3bb3f7
Try to improve diagnostics when no alternative can be found.
...
[SVN r33586]
2006-04-07 11:06:21 +00:00
Vladimir Prus
258dca128a
Check that the value of the <tag> feature may be local rule name,
...
not fully-qualified.
[SVN r33168]
2006-02-28 07:22:47 +00:00
Vladimir Prus
f3c3972678
Allow <name> work for 'install', when there's a single source
...
[SVN r33064]
2006-02-21 13:08:53 +00:00
Vladimir Prus
4a6b0fa146
Another attempt to workaround warning on HP-CXX.
...
[SVN r32894]
2006-02-13 13:33:27 +00:00
Vladimir Prus
f5fe6d378c
Rename 'lib c' to 'lib cc' because HP-CXX compiler confuses 'libc.so' with
...
the system C runtime library.
[SVN r32891]
2006-02-13 12:29:57 +00:00
Vladimir Prus
53787a5e2e
Attempt to suppress a warning
...
[SVN r32887]
2006-02-13 10:56:47 +00:00
Vladimir Prus
f1d1f6d3a4
Fix a problem where <implicit-dependency> had no effect unless
...
the target named by the property was also build (by virtue of being in
the same Jamfile and not marked as "explicit").
[SVN r32885]
2006-02-13 10:34:45 +00:00
Vladimir Prus
b09996a61d
Add a test that <source> in 'lib' works even if there's no explicit sources.
...
[SVN r32882]
2006-02-13 07:51:33 +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
bbc7f3f253
For
...
bjam --clean some_main_target
don't clean files belonging to other main targets, even if those other main
targets are dependencies of 'some_main_target'.
[SVN r32760]
2006-02-09 09:42:52 +00:00
Vladimir Prus
3bec6c2038
Change the --clean option to only clean targets under references projects.
...
Add the --clean-all option to clean everything.
[SVN r32739]
2006-02-08 15:24:31 +00:00
Vladimir Prus
ec4b485eea
Forgotten change to inline.py.
...
This was supposed to go together with "ignore suffix of main target name"
patch.
[SVN r32724]
2006-02-08 09:30:43 +00:00
Vladimir Prus
aea0397977
Unbreak 'make_test.py'. Adjust it to not use extra argument to the rule passed
...
to 'make', sine it's no longer supported.
Allow to call 'flags' on local rule. Use flag settings on local rule to
implement the effect previously achieved with extra arguments.
[SVN r32723]
2006-02-08 09:29:35 +00:00
Vladimir Prus
79d7a448aa
Allow typed main targets to have arbitrary suffix in the name, that does not
...
affect the names of the generated targets and only usefull for preventing
V2 from treating two independent targets as target alternatives.
[SVN r32720]
2006-02-08 08:06:31 +00:00
Vladimir Prus
3d42d08c00
Implement <build>no.
...
[SVN r32708]
2006-02-07 13:46:02 +00:00
Vladimir Prus
ec4969db72
Implement 'indirect conditional requirements', which are simular to V1's
...
convention that rules used in requiremenst are called to provide extra features.
[SVN r32694]
2006-02-07 10:26:17 +00:00
Vladimir Prus
28b4646662
Make the 'explicit' rule always operate on the current project.
...
[SVN r32654]
2006-02-06 15:26:56 +00:00
Vladimir Prus
61cb30494f
Fix "depends on itself" warning emitted when there were directory and
...
a file with the same name.
[SVN r32433]
2006-01-27 11:10:39 +00:00
Vladimir Prus
32d9796a3e
Add a test for the "bjam foo.o" feature.
...
[SVN r32429]
2006-01-27 10:34:58 +00:00
Vladimir Prus
042c7dc35a
When resolving target id, first look for target in Jamfile, then for
...
file in current dir. This partially reverts rev 1.117 of build/targets.jam.
See test for further explanations.
[SVN r32377]
2006-01-23 09:41:18 +00:00
Vladimir Prus
82b01caeb7
Update the test template.
...
[SVN r32376]
2006-01-23 09:24:26 +00:00
Vladimir Prus
33490566f5
Serious bugfix: for <include> properties with absolute pathnames on
...
windows, we ignored dependencies to headers in those directories.
This change is a quick fix, a better fix will follow later.
[SVN r32375]
2006-01-23 08:18:48 +00:00
Vladimir Prus
21292094e5
Supposedly make library_chain.py work on Windows.
...
The issue is that when with new response files the names of libraries we're
trying to link to is not emitted with "bjam -n", so remove "-n" and explicitly
look in response files.
[SVN r32341]
2006-01-17 09:32:57 +00:00
Vladimir Prus
190b0a3ba4
When installing .cpp files, don't scan them for #includes. It's pointless,
...
we don't compile.
Thanks to Franz Schnyder for the bug report.
[SVN r31756]
2005-11-23 16:10:41 +00:00
Vladimir Prus
0e388de77d
Unbreak project_test4
...
[SVN r31646]
2005-11-14 14:38:23 +00:00
Vladimir Prus
70758d42ea
Unbreak generators_test:
...
- rename UI type to TUI to avoid conflicts with Qt
- adjust to print.text changes
[SVN r31645]
2005-11-14 14:36:45 +00:00
Vladimir Prus
ab09f7e894
Unbreak dependency_test. It was used print.echo-cmd that got removed recently.
...
[SVN r31644]
2005-11-14 14:25:15 +00:00
Vladimir Prus
0ce6fd48a6
Adjust tests to the fact that print.text no longer implicitly adds newline.
...
[SVN r31643]
2005-11-14 13:38:49 +00:00
Vladimir Prus
9cf5bcdf29
Revive the project_test3 test.
...
[SVN r31035]
2005-09-19 08:49:50 +00:00
Vladimir Prus
ea9da6b91c
Fix a link failure on Unix for a main -> libb -> liba scenario,
...
where libb is a target in Boost.Build and liba is a file referred to by name.
[SVN r30590]
2005-08-16 10:58:22 +00:00
Vladimir Prus
3db370a9e4
Fix using of 'glob' in project root rules.
...
There were two problems:
- 'glob' was using __name__ as the name of the project and not
project.current, so it would search in project root, and not in child
project that inherited project root rules.
- the 'import' that's overrided in project context used __name__ to
restore the value of current project
Thanks to Emil Dotchevski for the bug report.
[SVN r30507]
2005-08-08 09:31:39 +00:00
Vladimir Prus
24fa408e3f
Unbreak " lib a ; " syntax.
...
Thanks to Craig Rodrigues for the bug report.
[SVN r30309]
2005-07-29 12:00:40 +00:00
Vladimir Prus
cda0cf3306
Ignore some files in CVS operations
...
[SVN r30307]
2005-07-29 08:42:42 +00:00
Dave Abrahams
26ec6c1206
Fix copyright and documentation
...
[SVN r30219]
2005-07-22 18:46:20 +00:00
Vladimir Prus
08b36b749e
Unbreak <install-source-root> when building from subdirectories.
...
[SVN r29803]
2005-06-27 12:19:50 +00:00
Vladimir Prus
6e5772545e
Add the 'notfile' target.
...
[SVN r29606]
2005-06-16 08:24:01 +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
792cf4ac64
Allow "bjam some_directory" to work even if there's no Jamfile in ".".
...
[SVN r29588]
2005-06-15 13:26:37 +00:00
Vladimir Prus
1b9681a9ed
Correct license text
...
[SVN r29587]
2005-06-15 13:19:07 +00:00
Vladimir Prus
43994ac2eb
Rename link-runtime to runtime-link to stay compatible with V1.
...
[SVN r29586]
2005-06-15 12:24:06 +00:00
Vladimir Prus
bf21d96225
Don't run 'library_order' on cygwin, because test relied on gcc/Linux shlib
...
linking mode.
[SVN r29490]
2005-06-09 08:03:42 +00:00
Vladimir Prus
5a44f04da8
Refactor generators a bit.
...
* If a generator was given a source it could not handle, it used to return
that source together with generated targets. This was nice for some use
cases, but no very nice for others, and this behaviour could not be turned
off. One use case where it worked bad was:
lib plugin : plugin.cpp helper ;
lib helper : helper.cpp ;
On windows, 'plugin' would link to the 'import library' and pass the DLL
target though. So, when installing 'plugin', we'd also install 'helper.dll',
and it was not possible to do anything about it.
* If we asked generators.construct to produce sources of type CPP,
and the selected generator produced both targets of type CPP, and of
some other type, we'd try again to convert those other targets to CPP.
This simply complicated the logic for no good reason.
* Most generator function had 'multiple' parameter, which function
was long forgotten by anybody.
As a bit of history, I believe some of the above decisions were due to a
certain use case:
CPP <------- WHL
\
WD
/
CPP <------- DLP
Here, a source file is converted to two targets with one command, and each
produced file is converted to CPP. Our generators search would notice that
there are two generators for CPP: the WHL->CPP and DPL->CPP
generators. Neither is better that the other so both are tried, and produce
(CPP, DPL) and (CPP, WHL) pairs of targets. To avoid reporting an ambiguity,
we'd try to convert, DLP to CPP and WHL to CPP, do it successfully, notice
that produced targets are the same and decide that there's no ambiguity.
However, this is rather complex logic for a relatively rare case. It can
be handled by writing another WD->CPP generator that would handle
disambiguation itself.
This commit has one user-visible change. The code:
exe a : a.cpp b ;
obj b : b.cpp helper;
lib helper ;
No longer works -- the 'a' target won't link to 'helper'. However, this is
pretty stange code and worked before almost by accident.
[SVN r29361]
2005-06-02 06:43:56 +00:00
Vladimir Prus
3120f7fbaf
Add test for multiple source-location, from Craig Rodrigues.
...
[SVN r29335]
2005-06-01 05:43:25 +00:00
Vladimir Prus
4e9af774ce
Revamp path.glob.
...
The problem with the previous implementation is that it would iterate
over all elements in a dir even if 'pattern' had no metacharacters. First,
that was slow -- if you handed
/cygdrive/w/My Documents/boost/test/a.cpp
to it, it would crawl all the way to the top, listing each directory and
checking each file. Second, it would fail, because Cygwin is broken and
does not show 'cygdrive' is the list of directory elements of '/'.
Now we check if a pattern has metacharacters, and if not, just do
a simple 'timestamp' call.
The new glob is implemented as new 'GLOB-RECURSIVELY' builtin. I've decided
to use builtin since otherwise, we'd need 'does this name exist' builtin,
and if we need new builtin, why don't implement all globbing in core.
[SVN r29163]
2005-05-24 07:57:56 +00:00
Vladimir Prus
c7bce34d14
Don't use 'jam' in tests -- it's not built by default now.
...
[SVN r29157]
2005-05-23 11:09:31 +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
b8e017d7cf
Test for absolute glob patterns.
...
[SVN r28380]
2005-04-21 10:44:42 +00:00
Vladimir Prus
bfa598ce5f
Don't run abs_workdir from test_all.py, because that's internal test for
...
test system, not for Boost.Build itself. In addition, the test doesn't work
for Windows.
[SVN r28376]
2005-04-21 08:55:09 +00:00
Vladimir Prus
2216c20cf2
Escape backslashes, otherwise the test won't work on Windows.
...
[SVN r28375]
2005-04-21 08:50:39 +00:00
Vladimir Prus
a6d67a8e64
Fix --build-dir for invocation from subdirs.
...
[SVN r28237]
2005-04-14 10:53:54 +00:00
Vladimir Prus
1a4eacf99a
Implemented the --build-dir option.
...
[SVN r28236]
2005-04-14 10:34:11 +00:00
Vladimir Prus
8a035f29a9
Test multi-token project constants.
...
[SVN r28179]
2005-04-12 14:06:45 +00:00
Vladimir Prus
1a877e8416
Generate a fully working test, not just code snipped
...
[SVN r28178]
2005-04-12 14:05:36 +00:00
Vladimir Prus
83dafa7488
Don't crash on use of <tag> in directories containing dots.
...
The <tag> rule if often used in Jamfile like this: <tag>@$(__name__).rule.
The __name__ looks like Jamfile<jamfiles'directory>. When directory has
a dot, we we confused and took the part till the first dot as the
name of module.
Now, such values are processed closer to the definition point, where
we know the name of the module and don't need to guess it by looking at
the name.
Thanks to Juergen Hunold for the bug report.
[SVN r28063]
2005-04-08 13:23:05 +00:00
Vladimir Prus
e8cbe47cc8
Allow 'using' in Jamfiles to pick up modules in Jamfile's directory.
...
[SVN r27979]
2005-04-05 12:53:39 +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
4a811c1a6a
We did not do any dependency scanning for C sources.
...
Thanks to Kelly Burkhart for the report.
[SVN r27954]
2005-04-04 14:09:18 +00:00
Vladimir Prus
ce2a4be582
Additional test.
...
[SVN r27593]
2005-03-10 09:51:34 +00:00
Vladimir Prus
23c772bad5
Change tree installing. Replace preserve-path feature with a
...
install-source-root feature which specifies the base path to which all
paths are relative.
[SVN r27592]
2005-03-10 09:47:37 +00:00
Vladimir Prus
08b10e27c8
Introduce a new property, preserve-path, which can be used to make the
...
'install' rule preserve relative paths of sources when installing them.
[SVN r27587]
2005-03-09 09:08:27 +00:00
Rene Rivera
b05b99679a
Apply typo fixes from Julio M. Merino Vidal
...
[SVN r27513]
2005-02-27 17:28:24 +00:00
Vladimir Prus
cf407805f7
Fix BB82 (toolset.using breaks Jamfiles).
...
* build/toolset.jam (using): Move to...
* build/project.jam (_using): ... here.
(project-context.using, import): New rules that restore the
.current-project variable properly.
[SVN r27382]
2005-02-15 07:48:13 +00:00
Vladimir Prus
97e91c8e3f
Tweak computation of target names from source names.
...
* build/generators.jam
(generator.generated-targets): Comment the desired semantics.
* util/utility.jam
(basename): Take the part till the last dot, not the first.
[SVN r27374]
2005-02-14 08:25:07 +00:00
Dave Abrahams
53673a2985
test/regression.py
...
tools/testing.jam
Support rules for measuring timing of build steps.
build/generators.jam
Generators with empty source lists can now consume any target type.
[SVN r27335]
2005-02-12 20:24:07 +00:00
Dave Abrahams
72a5e80e64
jam_src/
...
builtins.{c,h}
Support for the REBUILDS rule
remove unused variable
rules.h
make.c
Support for the REBUILDS rule
make1.c
Support for the REBUILDS rule
Support for recording timing information
Restructured a case statement because it was masking a bug I
introduced.
execcmd.h
execnt.c
execunix.c
Support for recording timing information
Also removed NT-specific stuff from execunix
expand.c
Removed tabs from critical comment
Added tab-width variable setting comment for emacs.
v2/test
rebuilds.py, timedata.py, test_all.py
Tests for REBUILDS and timing.
[SVN r27334]
2005-02-12 02:30:18 +00:00
Vladimir Prus
411ad9eae7
Some renames:
...
- 'stage' -> 'install'
- 'traverse-dependencies' -> 'install-dependencies'
- 'include-type' -> 'install-type'.
[SVN r26833]
2005-01-24 10:08:07 +00:00
Vladimir Prus
0a1190e42c
Various 'stage' related improvements.
...
- Require @module.rule syntax for value of the <tag> feature.
- Don't support change of name in 'stage'.
- Cleanup in 'stage'.
[SVN r26782]
2005-01-21 15:03:08 +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
d4fa3d6092
Added Boostbook test
...
[SVN r26601]
2004-12-29 11:47:59 +00:00
Vladimir Prus
ded834410d
Fix a recent regression: <location>. did not work.
...
[SVN r26598]
2004-12-29 11:04:09 +00:00
Vladimir Prus
29bc552733
Fix a regression in the 'glob' rule -- it is broken with the current bjam.
...
Handle ".." correctly.
[SVN r26595]
2004-12-28 17:54:35 +00:00
Vladimir Prus
6b91fc0e9f
Usage requirements are now propagated all the way up, not only
...
to direct dependents. The previous behaviour can be confusing and
there are no use cases where the new behaviour will be bad.
It will add more include paths in some cases, but who cares?
[SVN r26528]
2004-12-16 13:02:35 +00:00
Vladimir Prus
5ec008ddbc
Bugfix: searched library was not found when
...
exe depended on obj and obj depended on a searched library.
Thanks to Caleb Epstein for the bug report.
* tools/builtin.jam
(searched-lib-generator.extra-usage-requirements): Remove
(archive-generator.run): Don't bother passing 'library-path' properties.
(linking-generator.run): Add propery library-path properties for
searched libraries.
* tools/unix.jam: Induced changes.
* test/searched_lib.py: New test.
[SVN r26486]
2004-12-10 10:17:56 +00:00
Vladimir Prus
4c7ff2913c
More type declaration cleanup.
...
* build/type.jam (register): Remove the 'main' parameter.
* other files: Don't pass the 'main' parameter.
[SVN r26449]
2004-12-06 13:59:51 +00:00
Vladimir Prus
3f608c3e78
Bugfix: <library> was ignored for static linking.
...
Thanks to Toon Knapen for the bug report.
* tools/builtin.jam
(archiving-generator.run): Add <library> properties to sources.
* test/library_chain.py: New test.
[SVN r26447]
2004-12-06 09:40:56 +00:00
Vladimir Prus
bc7ed1a9d5
Handle <dependency> for 'stage'.
...
* tools/stage.jam
(copy-file, relink-file): Add stage's dependency properies to
the staged targets properties, so that <dependency> is copied too.
* test/stage.py: New test.
[SVN r26420]
2004-12-03 14:24:32 +00:00
Vladimir Prus
58566b47bd
* tools/common.jam (path-variable-setting-command): Allow to refer to
...
enviroment variables in the list of values. No it's possible to add
an element to a variable.
* build/project.jam: Remove obsolete test.
* build/toolset.jam (find-property-subset): No longer local,
so that test can call it.
* test/test.jam: Import 'print' and 'common'.
* util/print.jam: Comment out failing unit test.
[SVN r26413]
2004-12-03 10:46:05 +00:00
Vladimir Prus
a4f3de44f3
Allow Jamroot as alternative (and preferred) spelling of project-root.jam.
...
[SVN r26351]
2004-11-29 15:44:58 +00:00
Vladimir Prus
78365ce534
Fix some problems with project loading
...
* build/targets.jam
(project-target.find): Better error reporting.
* build/project.jam
(load-jamfile): Use 'path.native' when loading Jamfile,
otherwise, target id with absolute directory name won't
work for Windows.
[SVN r26271]
2004-11-22 09:02:52 +00:00
Vladimir Prus
daf4d58c63
* build/project.jam
...
(load-parent): New rule, extracted from 'initilize'.
(load-jamfile): If loading project-root.jam, check for
Jamfile and load it in the same module.
(inherit-attributes): Simplify.
(project-rules.constant, project-rules.path-constant): New rules.
* build/targets.jam
(project-target.__init__): New paramater 'parent'.
(project-target.inherit)
(project-target.add-constant)
(project-target.intern-constants): New rules
*
[SVN r26251]
2004-11-19 09:51:54 +00:00
Vladimir Prus
fad89f9023
Fix a bug which caused child project to be loaded before parents.
...
* build/project.jam
(project-context.use-project): Just record parameters, don't do anything.
(load): After Jamfile is loaded, use data recorded above to load
additional projects.
* test/test_all.py: New test.
[SVN r26229]
2004-11-17 13:12:29 +00:00
Vladimir Prus
40a504ed4f
Allow a generator's 'run' method to return additional usage requirements
...
as the first elements of result. Those usage requirements will be combined
with explicitly specified for the main target.
This is yet another step towards making 'main target classes' unnecessary.
* build/generators.jam
(try-one-generator): Check if generator returned usage requirements or not.
(construct): Make sure first element of result is always property set.
(many other methods): Induced changes
* tools/builtin.jam
(exe-target-class, lib-target-class): Remove.
(linking-generator, seached-lib-generator): Compute usage requirements.
(archiving-generator): New class
[SVN r26192]
2004-11-12 08:11:14 +00:00
Vladimir Prus
fb138e9ded
When 'stage' is used with <traverse-dependencies>on, do not follow the <use>
...
property, since it's typically used when only headers are used.
* build/virtual-target.jam (subvariant.all-referenced-targets): Return
the names of properties.
* tools/stage.jam (stage-target-class.collect-targets): Filter out <use>
Thanks to Jurgen Hunold for the bug report.
[SVN r26052]
2004-11-01 16:10:41 +00:00
Vladimir Prus
461a95fbc4
Remove tabs
...
[SVN r25968]
2004-10-30 08:31:48 +00:00
Vladimir Prus
c3185c4128
Exclude 'profile' variant from test, since it causes unidentified
...
problems on cygwin/gcc. The problem does not look to be related to V2.
[SVN r25804]
2004-10-20 12:06:20 +00:00
Vladimir Prus
9f07c0dc2c
Handle the <library> property in the linking-generator, not in
...
lib-target-class and exe-target-class. This makes the 'unit-test' rule
work with <library>.
[SVN r25768]
2004-10-18 10:10:36 +00:00
Vladimir Prus
7e6b8e8424
Changed syntax of 'using gcc', allowing configuration of linker-type
...
* v2/tools/gcc.jam
(init): parse the new options and call the new rule.
(init-link-flags): new rule. Initialize flags based on linker type.
put back -minpure-text
* v2/test/conditionals.py
small modification to avoid empty binaries.
Patch from Andre Hentz.
[SVN r25764]
2004-10-18 06:41:50 +00:00
Vladimir Prus
4b8fa1648c
Do not hardcode dll paths in libraries. That's not really needed, and
...
would force us to relink all libraries when staging.
Now that libraries do not hardcode dll paths, add a check that correct
-rpath-link options are added. When staging, we don't hardcode-dll-paths,
and libraries never hardcode dll paths, so if there's a long chain of
libraries, we should add -rpath-link, otherwise the linker won't find
the dynamic libraries and will complain.
[SVN r25756]
2004-10-16 09:31:58 +00:00
Vladimir Prus
17a685e035
Library improvements:
...
lib png : z : <name>png ;
lib z : : <name>z ;
now works: if you link to 'png' you'll also link to 'z'.
lib png : z : <file>png.a ;
lib z : : <file>z.a ;
now works too. The 'prebuilt.jam' modules which used to handle <file> for
all target kinds is now removed.
[SVN r25703]
2004-10-13 10:46:53 +00:00
Vladimir Prus
a1753dcec1
Additional test
...
[SVN r25702]
2004-10-13 08:03:59 +00:00
Vladimir Prus
8f7c1dde3d
Restore the gcc specific link generators.
...
* build/toolset.jam (inherit-generator): New parameter 'generators-to-ignore'.
* tools/gcc.jam: Ignore *link* generators when inheriting. Declare the
gcc specific generator.
* test/gcc_runtime.py: Test that <link-runtime>static is correctly handled.
The gcc specific generator is necessary exactly for that reason.
[SVN r25700]
2004-10-13 08:02:23 +00:00
Vladimir Prus
e646c5b8f8
Ignore <library>, except for "exe" and "lib" targets.
...
[SVN r25661]
2004-10-11 12:13:48 +00:00
Vladimir Prus
2a64d512a2
Rename lib.err.cpp to lib-err.cpp.
...
[SVN r25655]
2004-10-11 06:57:05 +00:00
Vladimir Prus
fc48453c63
Rename test-config.jam.in to test-config-example.jam.
...
[SVN r25654]
2004-10-11 06:52:10 +00:00
Aleksey Gurtovoy
8ba474bdcf
c++boost.gif -> boost.png replacement
...
[SVN r25572]
2004-10-05 15:23:19 +00:00
Vladimir Prus
1e7af707c3
Reduce directory depth, for CD FS benefit.
...
[SVN r25565]
2004-10-05 07:55:20 +00:00
Vladimir Prus
3f30646c81
Remove one directory level in testcase, so stay below 8-level limit of some
...
broken systems.
[SVN r25563]
2004-10-05 07:12:26 +00:00
Vladimir Prus
b86474fe8e
Change the way generators selection works. Now, instead of computing
...
'rank' for each viable generator, we use explicit information of the
form 'generator A is better than generator B', which is provided by
the user. The obvious goal is to fix 'custom_generator' failure on
msvc, but generally, I'm fixing BB76 -- which says that current generators
selection is very broken.
[SVN r25361]
2004-09-23 07:44:59 +00:00
Vladimir Prus
8066b6a56e
Support the && syntax in the property.translate-paths rule.
...
[SVN r25339]
2004-09-22 14:25:04 +00:00
Vladimir Prus
41a6ad007c
Support AIX and IRIX.
...
[SVN r25301]
2004-09-21 13:36:36 +00:00
Vladimir Prus
b91aafa44c
Revert the previous behaviour of unit-test: it does not store output into
...
a file but shows it on the screen. However, the proper setting of run
paths is not done for unit-test too.
[SVN r25035]
2004-09-13 09:32:37 +00:00
John Maddock
93a525dc98
BSL update.
...
[SVN r25016]
2004-09-11 12:12:38 +00:00
Vladimir Prus
553e750fce
Another attempt to kill SunCC's warning.
...
[SVN r25004]
2004-09-10 12:44:00 +00:00
Vladimir Prus
28b4b7adb4
Don't generate empty source file -- SunCC warns in that case.
...
[SVN r25000]
2004-09-10 11:46:22 +00:00
Vladimir Prus
45d30cdade
Add some missing newlines. Sun compiler generates warning otherwise.
...
[SVN r24998]
2004-09-10 11:42:04 +00:00
Vladimir Prus
197d88d856
Use windows file extensions under cygwin.
...
[SVN r24988]
2004-09-09 12:23:00 +00:00
Vladimir Prus
6d7b79da48
Simplify the test, and avoid conflicts with the 'RC' type defined in
...
'msvc.jam/rc.jam'.
[SVN r24986]
2004-09-09 10:55:59 +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
b474060d8e
Add missing dllexport/dllimport.
...
[SVN r24974]
2004-09-08 14:56:04 +00:00
Vladimir Prus
692ec14ece
Only SystemExit exception from test module indicates failure. Other exceptions
...
indicator error in the test, so should not be caught.
[SVN r24973]
2004-09-08 14:48:46 +00:00
Vladimir Prus
95f617c6a2
Work around generators_test failure on msvc
...
[SVN r24885]
2004-09-03 08:03:26 +00:00
Vladimir Prus
62b3b18c4c
Do no check for return status of build at all. For some reason, on
...
msvc, 0 is returned and that broke the test. But really, we're interested
only if user-defined generator is run, not that the result is compiled.
[SVN r24779]
2004-08-27 08:16:38 +00:00
Vladimir Prus
c14c9b8e6c
BSL
...
[SVN r24749]
2004-08-26 11:19:23 +00:00
Vladimir Prus
834d66a456
Fix the <link-runtime>static property on gcc.
...
[SVN r24665]
2004-08-23 12:40:23 +00:00
Vladimir Prus
3641f8988f
Add a specific test for issue BB60, so that I can close it.
...
[SVN r24662]
2004-08-23 11:20:43 +00:00
John Maddock
c06ce55478
removed the last boost.org copyright
...
[SVN r24615]
2004-08-20 11:32:03 +00:00
John Maddock
348fb7ab39
Converted files to the BSL.
...
[SVN r24614]
2004-08-20 11:10:24 +00:00
Dave Abrahams
539889d4aa
fix copyright/license
...
[SVN r24509]
2004-08-16 14:44:19 +00:00
John Maddock
d066958ed0
Updated copyrights to reflect true author (see discussion on Jamboost list).
...
[SVN r24500]
2004-08-16 11:23:58 +00:00
Vladimir Prus
07f6065611
* build/virtual-target.jam
...
(from-file): Use full file name as search key, to avoid creating two
different targets from two different project, which actually correspond
to the same file.
(register): Use actual name of the target as key. This again avoid
the problem with two equivalent targets in two different projects.
[SVN r23173]
2004-06-24 07:26:29 +00:00
Vladimir Prus
9e5dbba552
Update testing jam to the same logic for running exes as V1 uses.
...
[SVN r23066]
2004-06-09 13:40:25 +00:00
Vladimir Prus
c5d658939b
Update tests to recent unit-test changes
...
[SVN r23000]
2004-06-02 14:19:16 +00:00
Vladimir Prus
29f34eb193
Remove 'link-incompatible' attribute from some feature, most notable
...
'toolset' and 'threading'. The reason is that current link-compatibility
check is way too simple minded and produces bogus warnings. For example,
linking MT library into single threaded application is OK. Likewise, some
toolsets are link-compatible.
We might need a better mechanism, but for now just make the feature
link-compatible. Useless warnings are much worse than failure to report
link-incompatibility in some cases.
[SVN r22949]
2004-05-27 07:39:17 +00:00
Vladimir Prus
33b864e88e
Don't run library_order.py on Windows, since the test makes no sense there,
...
does not work, and can't be easily fixed.
[SVN r22933]
2004-05-26 10:59:48 +00:00
Vladimir Prus
2eec4041cb
Minor fixes.
...
[SVN r22930]
2004-05-26 10:52:11 +00:00
Vladimir Prus
79cd3623f4
Remove check for 'unused sources'. The check causes bogus warnings in at least
...
a couple of cases.
1. On Windows, DLLs are never directly linked to, so they are considered
unused and cause a warning. There used to be special code in
exe-target-class and lib-target-class to supress that warning, but this
failed for unit-test, for example, since main target class for unit test
is not related with exe-target-class. And making yet another main target
class looks ugly.
2. A target specified via project-wide <source> or <library> property is
added to sources for all targets, and cause a warning when it's not used.
However, there are valid cases to ignore such sources. For example
obj a : a.cpp : <optimization>off ;
need to comsume any libraries.
It was not clear how to fix both problems. Further, the only case when I found
the warning to be usefull is when declaring new toolsets, and it that case it
does not add much information compared to --debug-generators output. So, let's
just kill the feature for now.
[SVN r22927]
2004-05-26 09:57:03 +00:00
Vladimir Prus
f9b7313ca8
Allow directory names in arguments in 'glob'.
...
[SVN r22800]
2004-05-12 08:50:04 +00:00
Vladimir Prus
d6c9b302a0
Make the 'glob' rule in the project scope to operate relatively to
...
the 'source-location', not project location.
Thanks to Johannes Brunen for the bug report.
[SVN r22799]
2004-05-12 07:38:48 +00:00
Vladimir Prus
65d0021707
Don't import toolsets in project-root.jam
...
[SVN r22798]
2004-05-12 07:11:53 +00:00
Vladimir Prus
6e10fa5525
Introduce the <source> feature and make <library> work in the same way
...
as <source>.
[SVN r22570]
2004-03-31 08:02:59 +00:00
Vladimir Prus
12d08a7b73
Bugfix: the main target rules did not work unless called from Jamfile.
...
The used 'CALLER_MODULE' to determine the project where the main target
is to be declared, which did not work if the rule is called from another
module.
Thanks to Zbynek Winkler for the bug report.
* build/project.jam (current): New rule
* test/wrapper.py: New test
* other files: Use 'project.current'.
[SVN r22569]
2004-03-31 06:53:56 +00:00
Vladimir Prus
2dd280cbb6
Improve the algorithm for computing build properties.
...
[SVN r22542]
2004-03-22 08:10:42 +00:00
Vladimir Prus
b775145d8f
Darwin improvements.
...
Patch from Andre Hentz.
* v2/build/toolset.jam
(inherit-flags): Take an extra parameter describing properties that
should not be inherited.
* v2/build/type.jam
(register-suffixes): Removed local qualifier.
* v2/test/BoostBuild.py
(prepare_suffix_map): Add .dylib if OS is Darwin.
(Tester::_init_): path to bjam on Darwin.
* v2/test/prebuilt.py
make sure $toolset is expanded correctly.
* v2/test/prebuilt/project-root.jam
use $toolset instead of gcc.
* v2/test/prebuilt/ext/project-root.jam
use $toolset instead of gcc.
* v2/test/prebuilt/ext/Jamfile2.jam
handle extension .dylib.
* v2/test/prebuilt/ext/Jamfile2.jam
handle extension .dylib.
* v2/tools/darwin.jam
inline call to toolset.inherit.
filter <debug-symbols>off because -s is not accepted for dlls.
speficy that .dylib files are of type SHARED_LIB.
(actions link): pass -s for static linkage.
(actions link.dll): pass -L flag with path to libraries.
(actions archive): -c inhibits warning.
[SVN r22332]
2004-02-20 08:51:33 +00:00
Vladimir Prus
cd17918331
Revert latest commit. The test fails without ordered properties, and those
...
can't be finished right away.
[SVN r22282]
2004-02-16 08:49:48 +00:00
Vladimir Prus
2d883c64d5
Optimize library ordering by native rules.
...
[SVN r22281]
2004-02-16 08:30:13 +00:00
Vladimir Prus
0da0a2e3a4
Disable order-sensitive properties for a while. They cause performance
...
degradation that should be investigated.
[SVN r22145]
2004-02-03 08:36:46 +00:00
Vladimir Prus
81530cba02
Fix typo
...
[SVN r22135]
2004-02-02 13:27:46 +00:00
Vladimir Prus
ae5e7922d0
Revive project_test1.py.
...
[SVN r22133]
2004-02-02 13:17:41 +00:00
Vladimir Prus
93c3c932e2
Instroduce order-sensitive properties.
...
* build/feature.jam: New feature attribute 'order-sensitive'.
* jam_src/modules/property-set.c: (property_set_create): Don't sort
order-sensitive attributes.
[SVN r22132]
2004-02-02 13:12:30 +00:00
Vladimir Prus
9034f3ba61
First version of proper library ordering for gcc.
...
[SVN r22079]
2004-01-30 14:10:24 +00:00