Commit Graph

3194 Commits

Author SHA1 Message Date
Raffi Enficiaud
69e918520f Merge branch 'topic/PR-148-doc-colored-output' into next-internal
* topic/PR-148-doc-colored-output:
  Change log
  Fix doc contradiction (thanks to https://github.com/DesWurstes)
2018-09-02 17:40:08 +02:00
Raffi Enficiaud
9bada60a62 Merge branch 'topic/PR-154-correct-non-color-output-handling' into next-internal
* topic/PR-154-correct-non-color-output-handling:
  Change log
  Further cleanup
  When specifying --color_output=no, don't output color codes either
2018-09-02 17:39:10 +02:00
Raffi Enficiaud
dad8d77cc1 Merge branch 'topic/13637-manually-added-test-specify-name' into next-internal
* topic/13637-manually-added-test-specify-name:
  Change log
  New macro for manually adding tests by specifying the name
2018-09-02 17:38:24 +02:00
Raffi Enficiaud
3c789519ca Change log 2018-09-02 17:37:47 +02:00
Raffi Enficiaud
dba055cfdf Fix doc contradiction (thanks to https://github.com/DesWurstes) 2018-09-02 17:37:47 +02:00
Raffi Enficiaud
c50f8ebe8a Change log 2018-09-02 17:37:05 +02:00
Mateusz Łoskot
462945118e Fix warning: BOOST_CLANG is not defined, evaluates to 0
The diagnostic is issued when compiled with GCC/clang flag -Wundef.

Although in case BOOST_CLANG is not defined, ie. is not a macro
and BOOST_CLANG identifier is considered to be zero, the #ifdef
directive makes the intention clearer.
2018-09-02 17:36:58 +02:00
Raffi Enficiaud
22255cfdc9 Change log 2018-09-02 17:33:39 +02:00
Raffi Enficiaud
4152af64b4 New macro for manually adding tests by specifying the name
- BOOST_TEST_CASE_NAME for specifying the name of the test case to add
- Documentation updates
2018-09-02 17:33:29 +02:00
Raffi Enficiaud
d47449389e Change log 2018-09-02 10:23:16 +02:00
Raffi Enficiaud
cdb401ec62 Further cleanup 2018-09-02 10:23:16 +02:00
Nathan Toone
ab714742f5 When specifying --color_output=no, don't output color codes either 2018-09-02 10:22:58 +02:00
Raffi Enficiaud
81c4d667cb Github issues on doc 2018-09-02 10:22:39 +02:00
Raffi Enficiaud
911d6c33f0 Update contributions 2018-09-02 09:57:17 +02:00
Raffi Enficiaud
795b36e7be Bumping version 2018-08-27 15:25:31 +02:00
Raffi Enficiaud
cd93cf5a69 Merge branch 'develop'
* develop:
  Minor change log changes
  colour-output default value fix
  Updating runtime cla-help
  Documentation added on test naming and sanitizing
  Removing tabs
  "--run_test=*" activates the disabled tests
2018-07-29 02:13:39 +02:00
Raffi Enficiaud
cf0acbc38e Merge branch 'topic/v38-doc-update' into develop
* topic/v38-doc-update:
  Minor change log changes
  colour-output default value fix
  Updating runtime cla-help
  Documentation added on test naming and sanitizing
  Removing tabs
  "--run_test=*" activates the disabled tests
2018-07-29 02:13:05 +02:00
Raffi Enficiaud
f910c45312 Minor change log changes 2018-07-29 02:11:44 +02:00
Raffi Enficiaud
54490c7a0e colour-output default value fix 2018-07-04 22:10:48 +02:00
Raffi Enficiaud
ad7be9412a Merge branch 'develop'
* develop:
  Change log
  Another example with different arity
  Datasets based on std::initializer_list fixes
  Delayed/lazy dataset construction
  Change log
  Unit tests for command line arguments
  Bugfix short form of runtime parameters
  Handling sequences of size 0
  Change log
  Updating the documentation
  Precondition failure is not an error and better handling of skipped tests
  Change log
  Forcing cygwin bjam builds to use a recent C++ standard
2018-06-27 12:31:52 +02:00
Raffi Enficiaud
a82df91f33 Updating runtime cla-help 2018-06-27 12:30:10 +02:00
Raffi Enficiaud
3449ff67e1 Documentation added on test naming and sanitizing 2018-06-27 12:30:10 +02:00
Raffi Enficiaud
d477598759 Removing tabs 2018-06-27 12:30:10 +02:00
Raffi Enficiaud
b9f1cdfacd "--run_test=*" activates the disabled tests 2018-06-27 12:30:10 +02:00
Raffi Enficiaud
b4e08ee4bf Merge branch 'topic/12953-access-master_test_suite-in-datatest-cases' into next-internal
* topic/12953-access-master_test_suite-in-datatest-cases:
  Change log
  Another example with different arity
  Datasets based on std::initializer_list fixes
  Delayed/lazy dataset construction
  Handling sequences of size 0

# Conflicts:
#	doc/closing_chapters/change_log.qbk
#	test/Jamfile.v2
2018-06-27 10:26:54 +02:00
Raffi Enficiaud
306ae80178 Merge branch 'topic/13504-short-form-runtime-parameters' into next-internal
* topic/13504-short-form-runtime-parameters:
  Change log
  Unit tests for command line arguments
  Bugfix short form of runtime parameters
2018-06-27 10:23:58 +02:00
Raffi Enficiaud
264e7331d0 Change log 2018-06-27 10:22:46 +02:00
Raffi Enficiaud
9df1f3c493 Another example with different arity 2018-06-27 10:22:46 +02:00
Raffi Enficiaud
b178b8d9a8 Datasets based on std::initializer_list fixes
Since the previous changes, the elements of the std::initializer_list
get destroyed before the test tree initializes properly. The changes
are

- not relying on a moved std::initializer_list for storing the values
of the dataset. Those are moved to a std::vector instead if the
move constructor is noexcept as expected by std::vector,
- providing a template parameter pack for the same type of constructs
in place of the std::initializer_list

Some of the changes are also related to the fact that VS2013 does not
handle properly the std::initializer_list vs template parameter pack.
2018-06-27 10:22:46 +02:00
Raffi Enficiaud
dea96e77bc Delayed/lazy dataset construction
The dataset generators need to access runtime variables, which is
possible only after the test framework enters its setup.

The purpose of those changes is to instanciate the dataset and populate
the test tree during the initialization phase and not during the static
instanciation of the different test case:

- new delayed dataset type that is used for holding the parameters of a dataset
  and its type. This dataset will be instanciated on demand (lazy construct)
- the test tree is now able to hold a generator until the init phase of the test
  module. Once the init reached, the lazy datasets are instanciated and the test
  tree populated with new tests.
- operations like zip do not require the size earlier than needed
2018-06-27 10:22:46 +02:00
Raffi Enficiaud
23fc54db50 Change log 2018-06-27 10:11:52 +02:00
Raffi Enficiaud
c694b7fce5 Unit tests for command line arguments 2018-06-27 10:11:52 +02:00
Raffi Enficiaud
6752427ecc Bugfix short form of runtime parameters
The fact that the separator is empty for most of the short version
of the runtime parameters make it such that the parameter is considered
as another/next token.
2018-06-27 10:11:46 +02:00
Raffi Enficiaud
977c48fc6c Handling sequences of size 0 2018-06-26 15:58:38 +02:00
Raffi Enficiaud
b8d5d8a4b0 Merge branch 'develop'
* develop:
  Change log
  Execute the callback cleaner also for stdout/stderr
  Ensuring shutdown in all execution path
  Change log
  Preventing the copy of the master test suite
  Change log
  Declaring all variables for floating point exceptions for the unsupported case
  Fix exception_api.run-fail.cpp doc example
  Change log
  Guarding template test case with tuples declaration better
  Change log prep for 1.68 / 3.8
2018-06-25 22:39:43 +02:00
Raffi Enficiaud
2cb60929b0 Merge branch 'topic/PR-145-cygwin-fixes' into next-internal
* topic/PR-145-cygwin-fixes:
  Change log
  Forcing cygwin bjam builds to use a recent C++ standard

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2018-06-25 20:15:55 +02:00
Raffi Enficiaud
0b7d68b8ef Merge branch 'topic/12095-disabling-test-with-precondition-leads-to-error' into next-internal
* topic/12095-disabling-test-with-precondition-leads-to-error:
  Change log
  Updating the documentation
  Precondition failure is not an error and better handling of skipped tests
2018-06-25 20:14:52 +02:00
Raffi Enficiaud
2ea87076bb Change log 2018-06-25 20:14:21 +02:00
Raffi Enficiaud
0591dc21d3 Updating the documentation
- difference between skipped and disabled tests
- examples
- additional comments in the code
2018-06-25 20:12:37 +02:00
Raffi Enficiaud
9a9e1467fd Precondition failure is not an error and better handling of skipped tests
- Skipped tests is not an error
- Handling of skipped tests
  - Now printing when a test has been skipped because of the failed precondition
  - More demonstrative test
- Unit test reproducing the precondition error issue
2018-06-25 20:10:51 +02:00
Raffi Enficiaud
63935b2f53 Change log 2018-06-22 09:10:42 +02:00
Raffi Enficiaud
dc72e4d3ab Forcing cygwin bjam builds to use a recent C++ standard 2018-06-22 09:10:37 +02:00
Raffi Enficiaud
3f5d06cb22 Merge branch 'topic/13528-crashes-with-report_sink' into next-internal
* topic/13528-crashes-with-report_sink:
  Change log
  Execute the callback cleaner also for stdout/stderr
  Ensuring shutdown in all execution path

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2018-06-21 22:12:35 +02:00
Raffi Enficiaud
73b291466d Change log 2018-06-21 22:11:48 +02:00
Raffi Enficiaud
3b968571ab Execute the callback cleaner also for stdout/stderr 2018-06-21 22:11:48 +02:00
Raffi Enficiaud
b785e7b4ee Ensuring shutdown in all execution path
- added corresponding smoke test
2018-06-21 20:15:34 +02:00
Raffi Enficiaud
090814233f Merge branch 'topic/prevent-master-test-suite-from-copy' into next-internal
* topic/prevent-master-test-suite-from-copy:
  Change log
  Preventing the copy of the master test suite
2018-06-20 23:03:23 +02:00
Raffi Enficiaud
e6c8a4fc47 Merge branch 'topic/PR-143-fix-example' into next-internal
* topic/PR-143-fix-example:
  Change log
  Declaring all variables for floating point exceptions for the unsupported case
  Fix exception_api.run-fail.cpp doc example
2018-06-20 23:03:17 +02:00
Raffi Enficiaud
c91f1358d7 Change log 2018-06-20 23:01:49 +02:00
Raffi Enficiaud
8f80e9de8c Preventing the copy of the master test suite 2018-06-20 22:38:07 +02:00