Steven Watanabe
e5d385d390
Rework handling of indirect conditionals.
...
* property-set now considers <conditional> to be conditional
* property.evaluate-conditionals-in-context now handles indirect
conditionals as well. This is the correct behavior for all places
where evaluate-conditionals-in-context is currently used.
* Indirect conditionals now translate paths relative to the project
in which they were defined, not relative to the current project.
* usage-requirements no longer use targets.evaluate-requirements,
as the iterative algorithm is completely unnecessary (It's also
wrong, since the new features shouldn't be applied to the evaluation
context).
* indirect conditionals are removed from the property set when they
are evaluated, just list regular conditionals. (This is a consequence
of passing them through evaluate-conditionals-in-context)
* This also allows non-free features in usage-requirements to "work" again
(for some definition of work).
2018-01-06 16:01: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
Rene Rivera
40e7f0e8dd
Fix tests to pass on Windows after removing toolset requirements ignore.
...
Various restructure of test framework handling of paths to avoid duplicate path editing which caused failed tests. Adjust many tests to deal with added subdirectories in build outputs now that toolset requirements are active.
2017-07-02 23:28:48 -05:00
Vladimir Prus
99b4b805a8
Revive path_features.py.
...
Relative imports no longer generate relative module names.
2016-02-01 02:37:21 -05:00
Steven Watanabe
fb07490ec7
Tests that use the compiler need user-config.jam or they will fail if the toolset requires non-default initialization.
...
[SVN r83618]
2013-03-28 00:16:19 +00:00
Jurko Gospodnetić
41ca167bb0
Internal Boost Build path_features.py test cleanup - minor stylistic changes.
...
[SVN r79883]
2012-08-05 19:45:28 +00:00
Jurko Gospodnetić
f1c1939de6
Corrected the internal Boost Build path_features.py test to not fail in case the used compiler does not modify any bytes in one of the recompiled .obj files and only updates its timestamp, as msvc occasionally does.
...
[SVN r79882]
2012-08-05 19:39:21 +00:00
Jurko Gospodnetić
0cb44ba189
Minor stylistic change.
...
[SVN r79666]
2012-07-22 08:17:32 +00:00
Jurko Gospodnetić
66f0980384
Fixed a Boost Build bug with path feature requirements not getting expanded to a correct relative path depending on where the build was getting run from, if added by an indirect conditional feature rule. Fixes ticket http://svn.boost.org/trac/boost/ticket/7144 . Thanks to dimak <dvb.kharkov _at_ gmail _dot_ com> for reporting this and preparing a reproducible test case.
...
[SVN r79665]
2012-07-22 07:40:52 +00:00
Jurko Gospodnetić
0f5763ba68
Cleaned up the internal Boost Build path_features.py test script to make it clearer which tests in it are decoupled from each other. Minor stylistic changes.
...
[SVN r79646]
2012-07-22 05:14:00 +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
Rene Rivera
602b6d8b13
Add/update copyrights+license (with help of a shell script).
...
[SVN r35856]
2006-11-05 18:13:42 +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
553e750fce
Another attempt to kill SunCC's warning.
...
[SVN r25004]
2004-09-10 12:44:00 +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
b2b6e2769b
Simplify target paths.
...
* build/targets.jam
(project-target.reference-properties): Remove.
* build/virtual-target.jam
(abstract-file-target.specific-main-target,
file-target.specific-main-target): Remove.
[SVN r20516]
2003-10-28 07:46:40 +00:00
Vladimir Prus
be258d889a
Remove support for old-style target ids.
...
[SVN r19913]
2003-09-04 11:06:14 +00:00
Vladimir Prus
412ee4ad24
Fix path properties handling bug, noted by Kirill Lapshin.
...
* new/property.jam
(translate-paths): Apply 'path.make' to path properties.
* test/path_features.py: Test for the bug.
[SVN r18325]
2003-04-28 08:46:16 +00:00
Vladimir Prus
c3daa69e05
Bugfix: translate path properties even in conditional properties.
...
* new/property.jam
(split-conditional): New rule
(translate-paths): Use the above to handle conditional properties.
* test/path_features.py: New tests.
[SVN r17881]
2003-03-13 10:09:06 +00:00
Dave Abrahams
8f2b6126b9
Accomodate msvc
...
[SVN r17746]
2003-03-06 17:54:16 +00:00
Vladimir Prus
043e67d51f
Bugfix: path features in target requirement were
...
not translated.
* test/path_features.py: Fix a bug in test.
* new/targets.jam
(main-target-requirements): Bugfix.
[SVN r16579]
2002-12-10 07:15:33 +00:00
Vladimir Prus
bba2939592
Implement path features.
...
* property.jam (translate-paths): New rule.
* targets.jam (main-target-alternative): Translate path
properties.
* project.jam (project-attributes.set): Likewise.
* builtin.jam (variant): Fixes.
[SVN r15707]
2002-10-04 13:48:38 +00:00