Commit Graph

11 Commits

Author SHA1 Message Date
Rene Rivera
85e5a2caa8 Port b2 tests to dual py2 and py3.
Now that the tests work in py2 or p3 we don't set py version in AP. This
allows for dealing with the AP images that don't have a way to set the
py version.
2019-03-31 15:37:03 -05:00
Steven Watanabe
5ad92cd76f Use os.environ instead of modules.peek to handle paths with spaces. 2018-01-16 17:51:12 -07:00
Steven Watanabe
ee613a6a28 Implement feature relevance.
* New feature <relevant> which is automatically deduced in most cases.
* Features which are not relevant do not affect target paths and
  do not prevent merging of virtual targets.
* generators.jam: generator.run always returns usage-requirements
  to allow usage-requirements in non-top-level generators.  This
  is necessary because we're using usage-requirements to track
  relevance from flags.
* New rule toolset.uses-features to specify features that the rule
  checks manually, instead of using toolset.flags.  In the future,
  we should consider restricting the properties actually passed,
  to detect errors.
* Adjust tests to handle the new paths (verified by inspection).
* Add temporary option --ignore-relevance to consider all features relevant
  to aid migration.
* New rule property.evaluate-conditional-relevance which helps tracking
  relevance in <conditional>.
* Widely scattered changes to use the new interfaces.
2018-01-13 09:13:49 -07:00
Steven Watanabe
f56035d11a Sync ac with configure. 2017-12-19 15:59:51 -07:00
Steven Watanabe
37e8ad4922 Don't let python write .pyc files. They might not be updated, if the test runs too fast.
[SVN r83923]
2013-04-16 01:29:09 +00:00
Steven Watanabe
5a3c570eda Add extra debug information with --verbose.
[SVN r83916]
2013-04-15 16:30:23 +00:00
Steven Watanabe
b99c32cbed Fix file extension handling on Windows.
[SVN r83885]
2013-04-13 22:19:00 +00:00
Steven Watanabe
64b8542700 Make sure that we get the long path form of the cwd so that path comparison works correctly.
[SVN r83884]
2013-04-13 22:01:36 +00:00
Steven Watanabe
19540a5426 Try to make path comparison work on Windows.
[SVN r83810]
2013-04-08 15:27:40 +00:00
Steven Watanabe
4fcd90347e Add test with explicit name/search/include.
[SVN r83774]
2013-04-06 02:11:29 +00:00
Steven Watanabe
259b0c5a6f Initial tests for zlib configuration.
[SVN r83773]
2013-04-06 01:32:36 +00:00