2
0
mirror of https://github.com/boostorg/test.git synced 2026-02-01 21:12:07 +00:00
Commit Graph

2902 Commits

Author SHA1 Message Date
Raffi Enficiaud
795b36e7be Bumping version 2018-08-27 15:25:31 +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
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
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
Raffi Enficiaud
0401bf8948 Change log 2018-06-20 20:14:37 +02:00
Raffi Enficiaud
2974245af9 Declaring all variables for floating point exceptions for the unsupported case 2018-06-20 20:11:17 +02:00
nk
ce0db6c0a1 Fix exception_api.run-fail.cpp doc example 2018-06-20 15:46:36 +02:00
Raffi Enficiaud
86585459e2 Merge branch 'topic/13525-compilation-error-GCC-4-6-3' into develop
* topic/13525-compilation-error-GCC-4-6-3:
  Change log
  Guarding template test case with tuples declaration better
2018-06-19 08:41:26 +02:00
Raffi Enficiaud
65c33821b4 Change log 2018-04-27 18:08:28 +02:00
Raffi Enficiaud
9bd8ff4dd0 Guarding template test case with tuples declaration better 2018-04-27 18:07:04 +02:00
Raffi Enficiaud
20844f203d Change log prep for 1.68 / 3.8 2018-04-27 18:06:13 +02:00
Raffi Enficiaud
35c9acf5bd Merge branch 'PR/136-Windows-h-all-lowercase' into develop
* PR/136-Windows-h-all-lowercase:
  Change log
  Change Windows.h include to all-lowercase.
2018-03-31 23:40:01 +02:00
Raffi Enficiaud
d821856915 Change log 2018-03-28 13:42:30 +02:00
Reimar Döffinger
a0c4c81318 Change Windows.h include to all-lowercase.
Otherwise cross-compiling with MinGW on Linux
will fail.
2018-03-26 21:19:57 +02:00
Raffi Enficiaud
eeca2865bf Merge branch 'topic/doc-updates' into develop
* topic/doc-updates:
  Fixing sentence
  Additional links
2018-03-20 22:45:52 +01:00
Raffi Enficiaud
39aef8a54d Merge branch 'PR/134-fixing-stdcerr-file-creation-at-shutdown' into develop
* PR/134-fixing-stdcerr-file-creation-at-shutdown:
  Change logs
  Fix stdcerr file creation on shutdown.
2018-03-20 22:45:29 +01:00
Raffi Enficiaud
a04f6ee101 Change logs 2018-03-20 12:01:19 +01:00
Andrey Semashev
efdefe17f5 Fix stdcerr file creation on shutdown. 2018-03-20 13:50:43 +03:00
Jonnahtan Saltarin
7f1a9ee8c7 Fixing sentence 2018-03-12 23:38:00 +01:00
Raffi Enficiaud
19065d280d Additional links 2018-02-20 20:25:36 +01:00
Raffi Enficiaud
b0b81c4b2e Merge branch 'topic/13371-logstream-use-after-destroy' into next-internal
* topic/13371-logstream-use-after-destroy:
  Change log
  Adding extensive tests
  Framework now removes references to the streams at shutdown
2018-02-20 09:12:39 +01:00