@micro-os-plus/micro-test-plus 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,182 +6,427 @@ Please check
6
6
  [GitHub](https://github.com/micro-os-plus/micro-test-plus-xpack/issues/)
7
7
  and close existing issues and pull requests.
8
8
 
9
+ ## 2022-06-04
10
+
11
+ * v3.1.0
12
+ * b8994fb revert sections.ld
13
+
14
+ ## 2022-06-03
15
+
16
+ * 1e30b5f tests: update for sections-flash.ld
17
+ * 0e434ea test-runner.cpp: show FP only for non-native
18
+
19
+ ## 2022-04-19
20
+
21
+ * 3.0.2
22
+ * cd697a4 README reworks
23
+
24
+ ## 2022-04-10
25
+
26
+ * d53ee24 package.json: bump build-helper 2.7.1
27
+
28
+ ## 2022-04-07
29
+
30
+ * b43ce71 test-all.yml: remove Raspberry Pi OS test
31
+
32
+ ## 2022-04-05
33
+
34
+ * 3.0.1
35
+ * d8f24e6 #5 add parametrised test suites
36
+
37
+ ## 2022-04-03
38
+
39
+ * c3053d5 3.0.0
40
+
41
+ ## 2022-04-01
42
+
43
+ * a944962 test-reporter.cpp: use check marks for suites
44
+ * de8065f add support for unused main test suite
45
+
46
+ ## 2022-03-31
47
+
48
+ * ab6a3d5 try parametrized test suites; not ready
49
+ * 3eb96f7 sample-test: explicit namespaces
50
+
51
+ ## 2022-03-28
52
+
53
+ * 0b8ab47 launch.json: --verbose unit-test
54
+ * aa405f5 test-reporter minor rework
55
+ * c5a6e54 implement assume() with the same deferred_reporter
56
+ * 4906cd5 test-reporter: add output() method
57
+ * db00b7f add reported_ and run()
58
+
59
+ ## 2022-03-27
60
+
61
+ * 11bcfd1 bump build-helper 2.6.3
62
+ * 5afa470 CI: bump clang13
63
+ * 3020ffe optimise deferred reporters
64
+
65
+ ## 2022-03-26
66
+
67
+ * d8b9071 revert to build-helper 2.6.1
68
+ * 602d5d8 implement expect() << "message"
69
+ * 14ce153 package.json: meson platform toolchain files
70
+ * 367b706 unit-test.cpp: fix __xx warning
71
+ * 3ec0a21 add clang13
72
+ * 356f2f9 package.json: bump cmake & meson
73
+
74
+ ## 2022-03-23
75
+
76
+ * 255d4e5 README updates
77
+ * c837032 package.json: bump build-helper 2.6.2
78
+ * 49a3129 package.json: bump gcc 11.2.0-3.3
79
+ * 568d799 revert to interface library
80
+
81
+ ## 2022-03-21
82
+
83
+ * c3729b8 process_deferred_begin
84
+ * 601c428 unit-tests fix messages
85
+ * 7340d7b printf string_view content
86
+ * 0a5bb6b test-reporter cosmetics (.)
87
+ * 4871095 colors as const char*
88
+ * f9c25c8 meson: update for static library
89
+
90
+ ## 2022-03-20
91
+
92
+ * 79d72b2 README add Getting Started
93
+ * 8bb653f constexpr evaluate_and_report_
94
+ * c993275 reorder initialize()
95
+ * ebfb155 remove redundant pass()/fail()
96
+ * 03cc86d test-runner: argv[] cosmetics
97
+ * 3904bcb #pragma cleanups
98
+ * 7fe3bfd group several small *-inlines.h together
99
+ * 11fe6e8 add utility namespace
100
+ * 065824a unit-test: add static checks
101
+ * 48faa97 unit-test: add reflection::type_name() test
102
+ * 85aec05 unit-test: silence warning
103
+ * 7342f2c math.h: silence warning
104
+ * 4aeaa0d reflection: fix type_name()
105
+ * 7d6bd77 reflection.h: fix clang non apple
106
+ * 02eda65 reflection.h: warning/error in type_name()
107
+ * c5ab1d2 launch: add (gdb) native-cmake-clang12-debug
108
+
109
+ ## 2022-03-17
110
+
111
+ * 01e6a21 unit-test.cpp: rename tests
112
+ * 327441d implement different verbosity
113
+ * 904e3ff remove trace in eq_
114
+
115
+ ## 2022-03-16
116
+
117
+ * 116571d bump build-helper 2.6.1
118
+
119
+ ## 2022-03-15
120
+
121
+ * d15b203 change to static library
122
+ * ad94a46 remove dependency from diag-trace, use printf()
123
+ * 9d387c8 reporter: disable unused generic <<
124
+ * eebde5f reporter: rework constant suffixes
125
+ * b43d2b0 reporter.fail print value only if is_op_v
126
+ * dca5409 literals.h: add comments
127
+ * d9021c4 sample-test update for new README examples
128
+ * df5d8b5 update README and docs
129
+ * cd3f97d split detail-inlines.h
130
+
131
+ ## 2022-03-14
132
+
133
+ * f64083c revert from operators to functions
134
+ * 3ec0454 unit-test: add logical & operators
135
+ * d0d689a unit-test silence -Wdouble-promotion
136
+ * a635d1a docs & cosmetics
137
+ * f346a7a rename Callable_T
138
+ * ed9d0f2 .vscode/launch: add unit-test
139
+ * dc6ccca remove unused pointer _and(), _or(), _not()
140
+ * 67e2c43 fix meson -Wno-used-but-marked-unused
141
+ * 120c675 -Wno-used-but-marked-unused for clang on windows
142
+ * a6fee32 CI install --quiet
143
+ * 7e67230 add -Wno-missing-include-dirs to build
144
+ * b059c71 silence -Wmissing-include-dirs for GCC too
145
+ * 263b87e silence clang -Wmissing-include-dirs
146
+ * 1e8fc05 cosmetics
147
+ * 285a86a rework #includes
148
+ * 52fc562 split test-reporter & detail
149
+ * 17b0e3e split test-runner.h
150
+ * 62c7539 split inlines
151
+ * 2256fbf rename type-traits.h
152
+ * adc648e enable -Werror for native
153
+ * 037c767 split test-suite.cpp
154
+ * a80ea1a test-suite invokes reporter
155
+ * ce4c241 split test-suite.h
156
+ * a4a262a cleanup print_expr declaration
157
+ * 4b1984c split test-reporter.cpp
158
+ * e74786e split test-runner.cpp
159
+ * e4c7ed4 literals add docu
160
+ * 2f5efdd move casts to literals.h
161
+ * b1a0b55 move struct value to type_traits
162
+ * a9ec726 split literals.h
163
+ * bd64244 more type_traits moves
164
+ * 5a98f64 remove unused struct type_
165
+ * 8176edc move op & _constants to type_traits.h
166
+ * 658bf72 silence warnings
167
+ * 8407e38 fix type_traits guard
168
+
169
+ ## 2022-03-13
170
+
171
+ * 1d5e4a9 docs
172
+ * 00e26c1 separate test_reporter implementation & inlines
173
+ * 7700eee rename Other_T
174
+ * 1c760ba split type_traits.h
175
+ * 2d7d4e8 split math.h
176
+ * c6b33c0 include source_location in reflection.h
177
+ * 149bbf5 rename Xxx_T
178
+ * ccd6482 split reflection.h
179
+ * 33390a4 remove deprecated expect_equal()
180
+ * cf4831a remove unused operators
181
+ * 33e84e9 add operators
182
+ * 63714b9 unit-test cleanup
183
+ * 51bb43c use evaluate_and_report_()
184
+ * 35a1ad1 unit-test: expect() without message
185
+ * 4cbe008 add explicit _not _and _or
186
+ * b36dfa6 move to detail::assertion
187
+ * 6dac36c README: mention string comparisons
188
+ * 8d04508 unit-test: cleanups & comments
189
+ * 5b2153d unit-test: check default messages
190
+ * eef5709 sample test pass() message
191
+ * cfd924d sample-test: include string_view
192
+ * 3968eef add @brief and comments
193
+ * 48ea51e reorder and cleanup operator <<
194
+ * 52e2fbc simplify trace eq_ messages
195
+ * 1d63119 provide a default for the message
196
+ * db9ae66 add type suffixes when displaying scalar values
197
+ * 406d48e add genuine_integral_value{}
198
+ * 8fb68ae cosmetics
199
+ * 18163a0 unit_test major rewrite
200
+ * e9e3fa2 sample-test: use string_view
201
+ * ddcd2a2 cmake cleanup
202
+ * 86996ed cmake xpack_create_hex
203
+ * ff53277 cmake add SIZE
204
+ * a34a283 cmake add report SIZE
205
+
206
+ ## 2022-03-12
207
+
208
+ * f657ba0 add literals & more types
209
+ * f1676c1 more flush
210
+ * 357aefb rework operator<<
211
+ * 9250199 add more trace::printf
212
+ * fd7cf12 silence warnings
213
+ * ee30f22 more flush()
214
+ * d8e8900 add assume() with abort
215
+ * 646d374 add runner.name()
216
+
217
+ ## 2022-03-03
218
+
219
+ * 3f84859 consistent copyright notices
220
+ * 278aff5 Add reference to boost license in copyright notice
221
+ * 28b5887 README: update for v3.x
222
+ * 2419718 add boost license
223
+ * 4e02d9d meson cosmetics
224
+ * 6ed18d2 package.json: native only on darwin
225
+ * d416cb3 quiet installs
226
+ * f93be58 package.json: remove gcc8
227
+ * 8d468c5 rework cmake & meson
228
+ * 687072c silence warnings
229
+ * b2bf818 sample-test: fix check args
230
+ * 2cf994c sample-test: silence warnings
231
+ * 6aed55a unit-test: temporarily disabled
232
+
233
+ ## 2022-03-02
234
+
235
+ * 7117f36 launch.json: update
236
+ * b9bdb0f sample-test: rework with new comparators
237
+ * 8f0bc1f rework based on boost ut
238
+ * 58c0ba8 native/config.h comment _STDERR
239
+
240
+ ## 2022-03-01
241
+
242
+ * db86cd1 add test_suite
243
+
244
+ ## 2022-02-28
245
+
246
+ * 1120ed7 migrate to non-class functions
247
+
248
+ ## 2022-02-27
249
+
250
+ * b3c12ab C++20
251
+ * c694f49 MICRO_OS_PLUS_TRACE
252
+ * f43a1ab platform-native/config.h: TRACE buffer 500
253
+
9
254
  ## 2022-02-19
10
255
 
11
- - v2.3.0
12
- - 94b340c use nested namespaces
13
- - f921bf0 sample-test: cleanup globals
14
- - 66df97e add support for test-all
15
- - f6c19d2 cmake globals add -fdiagnostics-color=always
16
- - 28efe4b add parameterised tests and combinatorials
17
- - 560b678 add run_test_case variadic template
18
- - 436a1ae deprecate run_test_case(func, name)
19
- - 0a6a46b add start_test_case()
256
+ * v2.3.0
257
+ * 94b340c use nested namespaces
258
+ * f921bf0 sample-test: cleanup globals
259
+ * 66df97e add support for test-all
260
+ * f6c19d2 cmake globals add -fdiagnostics-color=always
261
+ * 28efe4b add parametrised tests and combinatorics
262
+ * 560b678 add run_test_case variadic template
263
+ * 436a1ae deprecate run_test_case(func, name)
264
+ * 0a6a46b add start_test_case()
20
265
 
21
266
  ## 2022-02-18
22
267
 
23
- - 5d0e9be package.json bump helper
24
- - 69d6dec rework expect_equal with templates
268
+ * 5d0e9be package.json bump helper
269
+ * 69d6dec rework expect_equal with templates
25
270
 
26
271
  ## 2022-02-16
27
272
 
28
- - 9d97cb1 meson: remove utf-8 chars
273
+ * 9d97cb1 meson: remove utf-8 chars
29
274
 
30
275
  ## 2022-02-10
31
276
 
32
- - 776845a .c* include <micro-os-plus/config.h>
33
- - 8f3e441 meson.build cosmetics
277
+ * 776845a .c* include <micro-os-plus/config.h>
278
+ * 8f3e441 meson.build cosmetics
34
279
 
35
280
  ## 2022-02-09
36
281
 
37
- - 4fcb75d MICRO_OS_PLUS_INCLUDE_CONFIG_H
38
- - 81186d0 rename MICRO_OS_PLUS_DEBUG
282
+ * 4fcb75d MICRO_OS_PLUS_INCLUDE_CONFIG_H
283
+ * 81186d0 rename MICRO_OS_PLUS_DEBUG
39
284
 
40
285
  ## 2022-02-08
41
286
 
42
- - 9c23c7d package.json: disable stm32f4 on Apple Silicon
43
- - 3969095 package.json: bump clang
44
- - 623e72d rename MICRO_OS_PLUS_TRACE
287
+ * 9c23c7d package.json: disable stm32f4 on Apple Silicon
288
+ * 3969095 package.json: bump clang
289
+ * 623e72d rename MICRO_OS_PLUS_TRACE
45
290
 
46
291
  ## 2022-02-06
47
292
 
48
- - f1a8f80 MICRO_OS_PLUS_HAS_CONFIG_H
49
- - 4d46a63 disable -flto on armv7l
293
+ * f1a8f80 MICRO_OS_PLUS_HAS_CONFIG_H
294
+ * 4d46a63 disable -flto on armv7l
50
295
 
51
296
  ## 2022-02-05
52
297
 
53
- - v2.2.1
54
- - 473d3f3 package.json: use npmjs.com deps
55
- - b88b767 CI.yml try to enable qemu-cmake on Windows
56
- - 518645c package.json: enable cortexm builds on windows
57
- - e342558 meson create symbolic link at build time
58
- - 00ff79d cmake revert to .. instead of top symlink
59
- - 68053a5 package.json: bump build-helper
60
- - 65918f6 cmake notice that -flto fails on embedded
61
- - 868c55d meson native with_linux_clang_lto
62
- - a223600 meson: notice that -flto fails on embedded
63
- - bb3628a meson always include warnings
64
- - 1d1e612 meson revert to warning_level = 0
65
- - cc41eac meson native without -flto
66
- - d562a5e cmake native add --gc-sections
67
- 4bee003 cmake globals -flto for release
68
- - c2c7972 package.json: bump devices-stm32f4-extras
69
- - 6139edb meson: disable -flto for clang on linux
298
+ * v2.2.1
299
+ * 473d3f3 package.json: use npmjs.com deps
300
+ * b88b767 CI.yml try to enable qemu-cmake on Windows
301
+ * 518645c package.json: enable cortexm builds on windows
302
+ * e342558 meson create symbolic link at build time
303
+ * 00ff79d cmake revert to .. instead of top symlink
304
+ * 68053a5 package.json: bump build-helper
305
+ * 65918f6 cmake notice that -flto fails on embedded
306
+ * 868c55d meson native with_linux_clang_lto
307
+ * a223600 meson: notice that -flto fails on embedded
308
+ * bb3628a meson always include warnings
309
+ * 1d1e612 meson revert to warning_level = 0
310
+ * cc41eac meson native without -flto
311
+ * d562a5e cmake native add --gc-sections
312
+ * 4bee003 cmake globals -flto for release
313
+ * c2c7972 package.json: bump devices-stm32f4-extras
314
+ * 6139edb meson: disable -flto for clang on linux
70
315
 
71
316
  ## 2022-02-04
72
317
 
73
- - v2.2.0
74
- - 18219ef package.json: bump deps
75
- - d30ea7d updates for device-*cortexm
76
- - 33e2244 cmake: add xpack_display_target_lists
77
- - 4f7324b package.json: add stm32f4discovery meson
318
+ * v2.2.0
319
+ * 18219ef package.json: bump deps
320
+ * d30ea7d updates for device-*cortexm
321
+ * 33e2244 cmake: add xpack_display_target_lists
322
+ * 4f7324b package.json: add stm32f4discovery meson
78
323
 
79
324
  ## 2022-02-03
80
325
 
81
- - d64bd80 cmake update qemu-mps2
82
- - 18955fa cmake update stm32f4discovery
83
- - e4541e9 cmake update for interface
326
+ * d64bd80 cmake update qemu-mps2
327
+ * 18955fa cmake update stm32f4discovery
328
+ * e4541e9 cmake update for interface
84
329
 
85
330
  ## 2022-02-02
86
331
 
87
- - e703fa9 .vscode/launch.json: add qemu launchers
88
- - 3055967 cmake: rework test commands
332
+ * e703fa9 .vscode/launch.json: add qemu launchers
333
+ * 3055967 cmake: rework test commands
89
334
 
90
335
  ## 2022-02-01
91
336
 
92
- - 90e894f add meson qemu
93
- - 6f55a37 package.json: rename dependencies to device-*
94
- - fde47e6 package.json: move toolchain files to folder
95
- - 041c252 cmake: rename platform-qemu-mps2-an386
96
- - 1230c9b cmake: update for device-qemu-cortexm
97
- - 10304ab rename platform-qemu-mps2-an386
337
+ * 90e894f add meson qemu
338
+ * 6f55a37 package.json: rename dependencies to device-*
339
+ * fde47e6 package.json: move toolchain files to folder
340
+ * 041c252 cmake: rename platform-qemu-mps2-an386
341
+ * 1230c9b cmake: update for device-qemu-cortexm
342
+ * 10304ab rename platform-qemu-mps2-an386
98
343
 
99
344
  ## 2022-01-28
100
345
 
101
- - 829ffbd separate top CMake config for tests
102
- - 920a928 add top symbolic link
103
- - 9a5987e sample-test.cpp: static variables
104
- - 82c83d8 sample-test.cpp: test args
346
+ * 829ffbd separate top CMake config for tests
347
+ * 920a928 add top symbolic link
348
+ * 9a5987e sample-test.cpp: static variables
349
+ * 82c83d8 sample-test.cpp: test args
105
350
 
106
351
  ## 2022-01-26
107
352
 
108
- - 15d6fe9 package.json: skip qemu tests on windows
109
- - v2.1.0
110
- - rework CMake
353
+ * 15d6fe9 package.json: skip qemu tests on windows
354
+ * v2.1.0
355
+ * rework CMake
111
356
 
112
357
  ## 2022-01-03
113
358
 
114
- - v2.0.5
359
+ * v2.0.5
115
360
 
116
361
  ## 2022-01-02
117
362
 
118
- - CI.yml: remove native-cmake
119
- - package.json: add meson gcc/clang
120
- - PLATFORM_STM32F4DISCOVERY_WITHOUT_HAL
363
+ * CI.yml: remove native-cmake
364
+ * package.json: add meson gcc/clang
365
+ * PLATFORM_STM32F4DISCOVERY_WITHOUT_HAL
121
366
 
122
367
  ## 2022-01-01
123
368
 
124
- - meson.build: add /utf-8 to msvc options
125
- - [#4] add support for MSVC
126
- - package.json: use posix paths on windows
369
+ * meson.build: add /utf-8 to msvc options
370
+ * [#4] add support for MSVC
371
+ * package.json: use posix paths on windows
127
372
 
128
373
  ## 2021-12-29
129
374
 
130
- - stm32f4discovery test functional
131
- - add native meson tests
132
- - package.json: add clang12 test
133
- - add explicit CMakeLists.txt
375
+ * stm32f4discovery test functional
376
+ * add native meson tests
377
+ * package.json: add clang12 test
378
+ * add explicit CMakeLists.txt
134
379
 
135
380
  ## 2021-12-26
136
381
 
137
- - package.json: move devDeps to configs
138
- - CI.yml: test-native
139
- - package.json: migrate native to xpack actions
382
+ * package.json: move devDeps to configs
383
+ * CI.yml: test-native
384
+ * package.json: migrate native to xpack actions
140
385
 
141
386
  ## 2021-03-13
142
387
 
143
- - v2.0.4
144
- - remove -pedantic-errors, use -Werror only on bare-metal
388
+ * v2.0.4
389
+ * remove -pedantic-errors, use -Werror only on bare-metal
145
390
 
146
391
  ## 2021-03-10
147
392
 
148
- - v2.0.3
149
- - bump devDeps
393
+ * v2.0.3
394
+ * bump devDeps
150
395
 
151
396
  ## 2021-03-09
152
397
 
153
- - v2.0.2
154
- - fix/silence warnings
155
- - remove warning flags from cmake
398
+ * v2.0.2
399
+ * fix/silence warnings
400
+ * remove warning flags from cmake
156
401
 
157
402
  ## 2021-03-02
158
403
 
159
- - v2.0.1
160
- - fix warnings, add -Wall..., -Werrror
404
+ * v2.0.1
405
+ * fix warnings, add -Wall..., -Werrror
161
406
 
162
407
  ## 2021-03-01
163
408
 
164
- - v2.0.0
409
+ * v2.0.0
165
410
 
166
411
  ## 2021-02-28
167
412
 
168
- - rename micro_os_plus
413
+ * rename micro_os_plus
169
414
 
170
415
  ## 2021-02-12
171
416
 
172
- - add support for CMake find_package()
417
+ * add support for CMake find_package()
173
418
 
174
419
  ## 2021-02-07
175
420
 
176
- - prepare v2.0.0-pre
177
- - [#1] - rename micro_test_plus::session
178
- - [#2] - sample-test: conditional exceptions
179
- - [#3] - add stm32f4discovery tests
421
+ * prepare v2.0.0-pre
422
+ * [#1] - rename micro_test_plus::session
423
+ * [#2] - sample-test: conditional exceptions
424
+ * [#3] - add stm32f4discovery tests
180
425
 
181
426
  ## 2021-02-05
182
427
 
183
- - prepare v1.1.1-pre
428
+ * prepare v1.1.1-pre
184
429
 
185
430
  ## 2021-02-04
186
431
 
187
- - release preliminary v1.1.0
432
+ * release preliminary v1.1.0