2
0
mirror of https://github.com/boostorg/phoenix.git synced 2026-01-26 06:42:25 +00:00

138 Commits

Author SHA1 Message Date
René Ferdinand Rivera Morell
d5dc15a1f5 Add support for modular build structure. (#121)
* Make the library modular usable.

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Add missing import-search for cconfig/predef checks.

* Add requires-b2 check to top-level build file.

* Bump B2 require to 5.2

* Update copyright dates.

* Move inter-lib dependencies to a project variable and into the build targets.

* Update build deps.
2024-08-22 09:51:35 +08:00
Beojan Stanislaus
8b6a9c26c1 std::tuple support (Resolving #103) (#104)
* Add get_ for std::tuple support

* Account for MSVC not defining __cplusplus properly

* Fix test definition

* Skip tuple test if C++11 not available

* Make C++11 compatible

* Bump minimum standard for tuple support to C++ 14

Return type deduction is necessary because this can depend on parameters to
get.

* Remove debug type that made compile fail

* Also remove the use of that debug type

* Rename tuple.cpp to tuple_test.cpp

* Use direct initialization in tuple_test.cpp

* Bump osx_image for Travis

* Make tuple.hpp comply with standard style
2021-03-12 05:59:28 +08:00
Nikita Kniazev
e920aa8108 Remove broken visit_each
The test for it is not run by the test suit, it does not compile because of
missing includes somewhere, and fixing compilation is not the end of the story.
The `visit_each` seems to be simply never worked, running the test fails with a
wrong result.

The only potential usage of `visit_each` is the Signals1/2 library, and I did
not find any bug report about that.
2019-12-04 19:44:04 +03:00
Nikita Kniazev
2fc69365f2 Remove never used phx2_result
Was added in 74722b8e46 with a message that it
is not ready, yet the headers are included with every Phoenix usage, affecting
compilation times. It was supposed to implement backward compatibility with
Phoenix 2 result protocol, what now seems to have little to zero value, since
the break happened about ten years ago.

Deleted tests:
  * `function_tests_phx2` duplicates `function_tests`
  * `bind_function_object_tests_phx2` duplicates `bind_function_object_tests`
  * `lambda_tests_phx2` duplicates `lambda_tests18`+`lambda_tests19`
2019-11-27 21:58:17 +03:00
Nikita Kniazev
a76e8e13c8 TST: Leave only converted bll_compatibility tests
The tests were borrowed from Lambda and only few are converted to test Phoenix.
2019-01-17 03:36:30 +03:00
Nikita Kniazev
ce066053d9 Added tests from bll_compatibility folder 2018-10-25 04:46:50 +03:00
Nikita Kniazev
e35373aa99 Actor is taken by reference on assignment/subscript 2018-02-05 20:58:30 +03:00
Kohei Takahashi
faaf449d04 CI: Define CI marker within Jamfile
super-project will run tests, and failure since no marker.
2018-01-27 12:37:12 +09:00
Kohei Takahashi
4ecde73dd5 Reorganize lambda_tests
Those tests are complex and switched by compiler configuration but should not.
2018-01-15 23:39:07 +09:00
Nikita Kniazev
db4c79fe7c C++11: Fixed bug with initializing phoenix lazy from array types
Type `const T [N]` decays to `T *const` when you place it into a function signature.

Closes https://svn.boost.org/trac10/ticket/12733.
2017-12-29 13:46:31 +03:00
Kohei Takahashi
5d8a6b4c42 Added tests for unordered containers. 2017-05-16 00:15:12 +09:00
Kohei Takahashi
629ea2983e Added tests for set and multiset. 2017-05-13 17:42:29 +09:00
John Fletcher
f7726e1d22 Suspend tests on features not currently available. 2015-04-29 14:12:21 +01:00
John Fletcher
8b54377ce2 test/Jamfile run for_test2 2015-04-06 10:48:55 +01:00
John Fletcher
a1c78f1f15 test/Jamfile Run lazy_thunk_tests 2015-04-02 19:21:33 +01:00
John Fletcher
061e412392 test/Jamfile run lazy_ptr_tests 2015-04-02 19:05:20 +01:00
John Fletcher
e5cbd1f78f test/Jamfile add new test lazy_scan_tests 2015-03-23 14:34:35 +00:00
John Fletcher
f75b1a25a1 test/Jamfile add new test lazy_fold_tests 2015-03-23 12:48:27 +00:00
John Fletcher
b417428500 test/Jamfile Add lazy_compose_tests 2015-03-22 23:15:21 +00:00
John Fletcher
44e09a36e0 Delete aa tests and add new test querying_find2 2015-03-18 16:49:47 +00:00
John Fletcher
7d2aa12c0a test/Jamfile add new test for_each2 2015-03-14 17:25:57 +00:00
John Fletcher
5c9edd3757 Finally take out aa series tests - not needed now. 2015-03-13 22:04:25 +00:00
John Fletcher
237f98a466 test/Jamfile put back the aa series tests. 2015-03-12 16:58:00 +00:00
John Fletcher
bff273bc5c Take out aa series tests 2015-03-12 16:55:11 +00:00
John Fletcher
c420075226 test/Jamfile add aa_hello test 2015-03-11 09:56:41 +00:00
John Fletcher
b2a8c613e6 test/Jamfile run tests on boost::report_errors 2015-03-10 22:42:39 +00:00
John Fletcher
cfcd1cb639 test/jamfile run lazy_list3_tests 2015-03-03 22:40:07 +00:00
John Fletcher
fe0defeca3 test/Jamfile run lazy_list2_tests 2015-03-01 16:23:19 +00:00
John Fletcher
027eb1814a test/Jamfile Run new lazy_list_tests 2015-02-28 09:57:51 +00:00
John Fletcher
ab1bc7ed2d test/Jamfile run lazy_headers test
Signed-off-by: John Fletcher <J.P.Fletcher@aston.ac.uk>
2015-02-27 23:26:19 +00:00
John Fletcher
554bbf52fd test/Jamfile New test function/lazy_headers not yet in use. 2015-02-27 22:55:39 +00:00
John Fletcher
5c46496967 test/Jamfile run function/lazy_operator_tests 2015-02-26 20:45:45 +00:00
John Fletcher
cdf3702bda test/Jamfile add lazy_arguments_test 2015-02-22 18:34:26 +00:00
John Fletcher
a1b9cf628d test/Jamfile Run lazy_templated_struct_tests. 2015-02-18 16:36:37 +00:00
John Fletcher
cf566e4127 test/Jamfile run new test lazy_make_pair_tests 2015-02-16 09:46:41 +00:00
John Fletcher
a0d1f36fb7 test/Jamfile take out more_let_tests1, 2a, 2b 2015-02-08 19:13:59 +00:00
John Fletcher
51f3084f5e test/Jamfile run more_let_tests again 2015-02-05 17:38:25 +00:00
John Fletcher
83b3e4f724 test/Jamfile drop scope/lambda_tests3a1 2015-02-02 08:36:24 +00:00
John Fletcher
302f5b5a6e test/Jamfile run bind_interoperation_test 2015-02-01 22:23:41 +00:00
John Fletcher
dc0b68fe06 test/Jamfile remove bind_dm1_test 2015-01-24 23:27:54 +00:00
John Fletcher
f61291dc1f test/Jamfile run lambda_tests1b2p,q,r 2015-01-24 23:04:29 +00:00
John Fletcher
c062c3b996 test/Jamfile Run new tests lambda_tests1b1p,q,r,s,t 2015-01-24 22:48:49 +00:00
John Fletcher
3ea59ed08f test/Jamfile replace more_let_tests2 with 2a and 2b 2015-01-24 20:54:16 +00:00
John Fletcher
fc7c40b7d5 test/Jamfile drop tests let_tests_113a and 157a 2015-01-24 17:27:41 +00:00
John Fletcher
009546bf0a test/Jamfile bind_void_dm_test added but not active 2015-01-23 12:12:48 +00:00
John Fletcher
0f061f27b1 test/Jamfile remove extra bind_rv_sp tests 2015-01-22 22:37:35 +00:00
John Fletcher
42b1fa8ced Split more_let_tests into 1 and 2 2015-01-20 23:56:31 +00:00
John Fletcher
52be0c5e9b test/Jamfile run new tests 2015-01-20 23:37:06 +00:00
John Fletcher
64b70099ce test/Jamfile run let_tests_157a 2015-01-20 21:47:10 +00:00
John Fletcher
570a8d09b6 test/Jamfile run let_tests_113a 2015-01-20 21:40:11 +00:00