Commit Graph

233 Commits

Author SHA1 Message Date
Rene Rivera
3549a4d5da MinGW passes all tests. 2019-04-02 00:09:54 -05:00
Rene Rivera
a3b3054856 Merge remote-tracking branch 'origin/develop' into feature/cxx 2019-04-01 21:04:59 -05:00
Steven Watanabe
1e19d74d46 Change always to affect all targets created by a metatarget and add a test for it. Fixes #390. 2019-04-01 12:32:41 -06:00
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
b42fa406ea Fix test for windows. Also add package.py to test_all.py. 2018-12-18 20:39:16 -07:00
Rene Rivera
1b35aa7eda Rootless specific tests. 2018-10-18 22:51:13 -05:00
luzpaz
a2b8731d2a build: misc.typos (#341)
* build: misc.typos

Found via `codespell -q 3 --skip="./src/engine/boehm_gc" -L te,iff`

* Revert 3rdParty code changes
2018-09-26 09:54:06 -07:00
Steven Watanabe
aff0b08eb3 #||# comments should not swallow to the end of the line. 2018-02-15 11:04:16 -07:00
Steven Watanabe
30d87919bf Add a rule toolset.add-defaults similar to toolset.add-requirements. 2018-01-26 15:59:46 -07:00
Steven Watanabe
b5605d6f4a Add tests for clang-vxworks and some fixes. Fixes #278.
Squashed commit of the following:

commit a777fc2ed9c5ba9a204f4dfea46c4945ca291017
Author: Brian Kuhl <brian.kuhl@windriver.com>
Date:   Fri Jan 12 00:22:37 2018 -0500

    configure VxWorks/Dinkum STL to match <rtti>/<exception-handling>
2018-01-25 10:22:21 -07:00
Steven Watanabe
62595642f0 Don't write the import library to the PDB when <suppress-import-lib>true is present. 2018-01-22 19:05:44 -07:00
Steven Watanabe
358dd78eea Add a new rule check-has-flag, for detecting supported compiler arguments. 2018-01-17 20:30:38 -07:00
Steven Watanabe
d1f939a1e2 It shouldn't be necessary to import build-hooks into the global module. 2018-01-17 15:25:28 -07:00
Steven Watanabe
8962fb490c Fix implicit-dependency when a single main target produces multiple types that are usable as implicit-dependencies by different actions. 2018-01-17 14:36:16 -07:00
Steven Watanabe
9f481220c1 Allow named parameters in main target rules. Only implemented for the builtin type-based rules and testing rules. 2018-01-16 15:39:59 -07:00
Steven Watanabe
ebffaa1397 Avoid another conflict with python. Closes #284. 2018-01-16 13:59:52 -07:00
Steven Watanabe
3f4db07187 Merge remote-tracking branch 'rdoeffinger/zstd' into develop 2018-01-16 12:11:14 -07:00
Steven Watanabe
eb06ae1183 Merge remote-tracking branches 'rdoeffinger/typo' and 'rdoeffinger/lzma-test' into develop 2018-01-16 09:54:30 -07:00
Reimar Döffinger
f4989237dc Add test for lzma.jam. 2018-01-15 20:24:57 +01:00
Reimar Döffinger
884f5c2b7c Add zstd.jam file.
Just a copy-paste of lzma.jam, except not introducing
the useless is-default option.
Will be used for zstd compression/decompression support
in iostreams (see also trac ticket #13356).
2018-01-15 20:10:05 +01:00
Steven Watanabe
94d2cfcdb7 Rename zlib.py to avoid conflict with the builtin zlib module in python 2.7.14. 2018-01-13 14:43:54 -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
ed37fd04af Merge regression.py, testing_support.py and test_result_dumping.py into testing.py. Also, make the tests from more systematic. 2018-01-12 15:45:20 -07:00
Steven Watanabe
79dd4a7292 The manpage type should not break shared libraries with a version suffix. 2018-01-12 09:56:18 -07:00
Steven Watanabe
6244e5ad21 Add specific tests for the processing of properties on the command line.
* Fix problems in x-product that could make it return extra property-sets
  in complex cases.  Also clarify exactly what it is supposed to do.
* free_features_request.py: This is subsumed by the new test.
* direct_request_test.py: This is mostly subsumed by the new test
  except for the last test for chained build-projects, which doesn't
  make much sense in the current code base as build-project is implemented
  very differently.
* Document using / to separate properties.
2018-01-08 17:01:32 -07:00
Steven Watanabe
bf5db0d505 Remove old test name. 2017-12-30 12:19:47 -07:00
Steven Watanabe
44598b2107 Clean up test names. 2017-12-30 10:53:03 -07:00
Steven Watanabe
6ffd6b9c7a Add test for clang-darwin. 2017-12-27 13:30:23 -07:00
Steven Watanabe
858ad964c9 Add a mock of gcc as a first step towards testing all toolsets. 2017-12-23 15:57:26 -07:00
Steven Watanabe
bb300dac25 Make test_all.py print more information on failure. 2017-12-16 16:11:39 -07:00
Steven Watanabe
8cfe656d86 Fix rebuilding of configure checks with --reconfigure or -a. 2017-12-12 12:18:02 -07:00
Steven Watanabe
d81254cba0 Fix link-fail on Windows, Take 2. FAIL_EXPECTED now works correctly for targets that have multiple updating actions. Fixes #259. 2017-12-12 09:59:21 -07:00
Steven Watanabe
4269c9e663 Revert "Fix link-fail on Windows. FAIL_EXPECTED now works correctly for targets that have multiple updating actions. Fixes #259."
This reverts commit 0c3089d3c0.
2017-12-06 08:59:17 -07:00
Steven Watanabe
0c3089d3c0 Fix link-fail on Windows. FAIL_EXPECTED now works correctly for targets that have multiple updating actions. Fixes #259. 2017-12-04 17:54:49 -07:00
Steven Watanabe
79a8a04d68 Adjust jpeg test to make it pass and add it to the global list of tests. 2017-11-24 14:03:23 -07:00
Rene Rivera
73f3b7c5e7 Fix to ignore extra junk files on OSX under all contexts. 2017-07-04 22:22:52 -05:00
Steven Watanabe
c7b2c57e79 Start testing mi. 2016-03-10 12:49:57 -07:00
Steven Watanabe
e9db80896f Merge remote-tracking branch 'origin/develop' into debug
Conflicts:
	src/engine/builtins.c
	src/engine/builtins.h
	src/engine/function.c
	src/engine/jam.c
2016-02-19 12:02:22 -07:00
Steven Watanabe
5424ef24d4 Add tests and get break output to work in console mode. 2016-02-16 14:35:31 -07:00
Vladimir Prus
7c5b4a4c9b Disable library_order test for now. 2016-02-04 03:24:35 -05:00
Thomas Brown
4d7edbdd53 test: Exit unsuccessful with failures. 2016-01-03 22:30:42 -05:00
Vladimir Prus
4a5cf7f909 OpenVMS support.
See https://github.com/boostorg/build/pull/100
2015-12-14 02:46:44 -05:00
loonycyborg
2d3c5bd16d Added regression test for bzip2 tool 2015-12-14 02:32:49 -05:00
Artur Shepilko
63021f6d64 Add GLOB_ARCHIVE builtin. 2015-10-24 12:21:31 -05:00
Steven Watanabe
d782ec52d0 Don't exit immediately on Windows if JAMSHELL is % and CreateProcess fails. 2014-04-03 14:13:33 -07:00
Steven Watanabe
5c1a97b928 cxxflags should not apply to C files. Fixes #9815. 2014-03-28 15:46:26 -07:00
Steven Watanabe
9732c695d1 Fix bug in pathnt.c that caused the results of GLOB to be downcased under some circumstances. 2014-03-24 15:18:37 -07:00
Steven Watanabe
27d418a53e Add toolset_requirements.py to the test suite. 2014-03-12 12:09:30 -07:00
Steven Watanabe
6ec96c4d56 Avoid sorting the sources of composing generators.
[SVN r86767]
2013-11-19 17:30:34 +00:00
Steven Watanabe
69c7b06c70 Add tests for link.jam. Fix timestamp/dependency problem that made symlinks cause unnecessary rebuilds on Windows.
[SVN r86709]
2013-11-14 23:24:50 +00:00