@micro-os-plus/micro-test-plus 3.1.1 → 3.2.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,9 +6,355 @@ 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
+ ## 2023-12-06
10
+
11
+ * v3.2.0
12
+ * 90963ce micro-test-plus.h cosmetics
13
+ * c57c46e literals.h: silence clang deprecation warning
14
+ * f776b18 doxygen metadata: add @headerfile
15
+ * 94ff7d7 website: use to_*
16
+ * 9d4f8bb tests/sample-test.cpp: use to_*
17
+ * 24606d7 literals.h: add to_*, deprecate _*
18
+
19
+ ## 2023-12-05
20
+
21
+ * 76ddc99 user-guide.md: use mt::
22
+ * 86adedf doxygen metadata: use mt:: in examples
23
+ * 71db099 tests: use explicit mt::
24
+ * c508d4f testing.md: remove reference to test-all.yml
25
+ * 11a1f31 testing.md: update
26
+ * 1ee57a8 testing.md: fix typo
27
+ * 749e2d6 testing.md: add clang 17
28
+ * 221a630 rename xpack-development
29
+ * 06419e5 tests/package.json: enable gcc11
30
+ * 03cb2ed tests/package.json: bump deps
31
+
32
+ ## 2023-12-04
33
+
34
+ * ebe7e55 package-lock.json updates
35
+ * 17e8859 tests/package.json: add clang 17
36
+ * 75e585a micro-test-plus.cpp: silence warning for clang 17
37
+
38
+ ## 2023-11-30
39
+
40
+ * b4ff766 website/package.json: #v2.3.1
41
+ * 19a43d6 testing.md update
42
+ * 822e464 rework tests with platforms sub-folder
43
+ * 2aef49a website/package.json: explicit #v2.3.0
44
+ * 313fd41 website/package.json: explicit #2.3.0
45
+ * 80d0fe8 testing.md: updates
46
+
47
+ ## 2023-11-29
48
+
49
+ * 2227c94 3.1.2
50
+ * 552865e prepare v3.1.2
51
+ * 993d0f7 testing.md: updates
52
+
53
+ ## 2023-11-28
54
+
55
+ * 21393a5 ci.yml cosmetics
56
+ * f1488f8 package.json: bump deps
57
+ * ffd542a cosmetics
58
+ * 8d6ca4f meson cross.ini fix cpu
59
+ * 57bd3f0 explicit --cpu for risc-v qemu
60
+ * b3dc45b meson: remove redundancy
61
+ * d9ea278 Revert "home.md temporarily disable anchors hack"
62
+ * 8483aff home.md temporarily disable anchors hack
63
+ * 78b2426 config.doxyfile: enable sitemap.xml
64
+ * eb53997 maintainer.md updates
65
+ * a4d0807 README update
66
+ * 43fadfa package.json: use latest commit theme
67
+ * c5d87d6 home.md: remove ci & web badges
68
+ * 93bb6e6 native/cmake: add listing
69
+ * 45557b3 meson.build >=1.3
70
+ * e16d922 meson_options.txt update
71
+ * 261d337 move platform-native/include/.../platform.h
72
+ * feedf64 move enable_testing() to top
73
+
74
+ ## 2023-11-27
75
+
76
+ * f0713ca home.md: re-enable explicit links
77
+ * ab49151 home.md: temporarily disable explicit links
78
+ * f45769a home.md: update dummy links
79
+ * 6f14fe4 testing.md update
80
+ * 4679b05 testing.md update
81
+ * 9cb0e18 testing.md update
82
+ * d1a4af5 testing.md update
83
+ * 12ee949 testing.md update
84
+ * 7e2d82f testing.md update
85
+ * a354eec testing.md update
86
+ * faa17f6 testing.md update
87
+ * 616bb45 testing.md update
88
+
89
+ ## 2023-11-26
90
+
91
+ * 206e8a1 website/README update
92
+ * c8e45ef website/package.json update actions
93
+ * e2c9b2d maintainer.md: fix twitter
94
+ * d53b93c maintainer.md: fix twitter
95
+ * 94dd8a6 maintainer.md: shorten twitter url
96
+ * cc8d0cb testing.md: fix links
97
+ * 5b55edc home.md: fix url
98
+ * c2c7bac home.md: add dummy links to static pages
99
+ * d52ff26 markdown use @page
100
+ * 6eaa27b user-guide.md update ISTQB
101
+ * 2f357ce package.json: update homepage
102
+ * 32ad598 package.json: update
103
+ * 6e41039 package.json: add check urls
104
+ * fd31269 maintainer.md: update twitter url
105
+ * 7954a43 install.md: update
106
+ * a49c1c6 install.md: show tree
107
+ * ab75189 .npmignore website
108
+ * c230d2d maintainer.md update
109
+ * db8a023 tests/package.json update
110
+ * 0156bf3 README update
111
+ * f03584e package.json: bump meson-build
112
+
113
+ ## 2023-11-25
114
+
115
+ * 509ff38 home.md: add Manual Pages
116
+ 2023-11-25 * eed0475 tests/package.json: add install/tes-latest
117
+ 2023-11-25 * d2a23dd tests/README update
118
+ 2023-11-25 * a755996 maintainer.md: update
119
+ 2023-11-25 * 17866f0 tests/package.json: add more selected
120
+ 2023-11-25 * 593b361 tests/package.json: fix syntax
121
+ 2023-11-25 * bbe15ab tests/package.json: fix syntax
122
+ 2023-11-25 * 1456260 tests/package.json: re-enable some tests
123
+ 2023-11-25 * c8f7c5a tests/package.json: reorder actions
124
+ 2023-11-25 * 68626be tests/package.json: fix install-selected
125
+ 2023-11-25 * 079df5c tests/package.json: cleanup actions
126
+
127
+ ## 2023-11-24
128
+
129
+ * 3aba98d website/maintainer.md update
130
+ * 42f60eb pacakge.json: disable some meson
131
+ * fed45b3 package.json: add test selected
132
+ * 265495e topics.doxyfile: examples to command line options
133
+ * 4c5311e topics.doxyfile: rename group micro-test-plus
134
+ * 7a71772 add minimal-test.cpp for native builds
135
+
136
+ ## 2023-11-23
137
+
138
+ * 7d12935 user-guide.md: update
139
+ * 5699ed8 user-guide.md: update
140
+ * 31de282 user-guide.md: update
141
+
142
+ ## 2023-11-22
143
+
144
+ * e3f4a8c user-guide.md update Rationale
145
+ * 79a3a04 home.md: fix link
146
+ * d4dbd85 rename some groups
147
+ * fb83f9b user-guide.md update title
148
+ * e20730a user-guide.md: add c++ api
149
+ * 3d05656 rename some groups
150
+ * 599121b install.md cleanups
151
+ * f05590a rename user-guide.md
152
+ * 8b3ce4c rename doxy groups micro-test-plus-*
153
+ * 03225e6 topics.doxyfile update mtp-top
154
+ * 2b83889 home.md update
155
+ * cb4b8b8 rename 'integrate'
156
+
157
+ ## 2023-11-21
158
+
159
+ * d87b685 home.md update
160
+ * e15fa64 rename Integration Guide
161
+ * 6e2c567 home.md update
162
+ * 0419764 package-lock.json
163
+ * c83e2c2 rename pages
164
+ * 3b44a8c doxygen metadata
165
+ * b7f2791 re-format
166
+
167
+ ## 2023-11-19
168
+
169
+ * 4315e9c website README
170
+ * e457fd2 config.doxyfile: include src && include
171
+ * 123bb53 type-traits.h: avoid potential recursive error
172
+ * 0fe11ff developer.md: update
173
+ * 557bbdd home.md update
174
+ * c676d6f change-log.md update
175
+ * 198fadd home.md update
176
+ * 496c308 developer.md: update
177
+ * 9fe24b4 workflow update
178
+ * c955d3d home.md: update
179
+ * 3ff6614 home.md: update
180
+ * d871a67 home.md: update
181
+ * 6151bf8 add DoxygenLayout.xml for the GitHub link
182
+ * 38f101a package.json: add link-deps
183
+
184
+ ## 2023-11-18
185
+
186
+ * 3d67a79 developer.md update
187
+ * a0bdd9a home.md update
188
+ * 6df7e90 maintainer.md update
189
+ * b096248 workflow update
190
+ * 5f700a5 home.md update links
191
+ * 9186c97 workflow update
192
+ * 5e5cf7a workflow update
193
+ * 3e784b0 workflow update
194
+ * 844cee5 workflow update
195
+ * 01ce2a2 workflows update
196
+ * 36d36d4 add website
197
+ * 440701a README update
198
+ * 311c7ec package.json: remove some redundancy
199
+
200
+ ## 2023-11-17
201
+
202
+ * 933ea5c ci.yml: bump xpm to 0.18.0
203
+ * 04ad5c4 package.json: update npm actions
204
+ * 6c0f0e5 tests/package.json: use xpm run --all-configs
205
+
206
+ ## 2023-11-16
207
+
208
+ * ed8b3fd ci.yml: fix actions
209
+ * 1fc00fc ci.yml: update; add meson
210
+ * 63489b6 .vscode/settings.json: ignoreWords
211
+ * e4bfe8e package.json: gccXX for cortex & riscv
212
+ * 6003397 platform-*/meson.build: --no-warn-rwx-segment >=12
213
+
214
+ ## 2023-11-15
215
+
216
+ * 801a305 platform-options.cmake: --no-warn-rwx-segment >=12
217
+
218
+ ## 2023-10-29
219
+
220
+ * f0f6af7 package.json: disable clang 13/14 on linux
221
+ * 8bc2250 disable meson on macos (due to ldd --version)
222
+ * 8d6ea94 enable -no-pie for macos gcc
223
+
224
+ ## 2023-10-26
225
+
226
+ * c124b2d native/cmake cosmetics
227
+ * bfd6ef6 native/meson: informative MICRO_OS_PLUS_DEVICE_NATIVE
228
+ * c076a8f cmake: enable _POSIX_C_SOURCE
229
+ * 1d1054b meson: add asserts
230
+ * 111a1c0 native/cmake: rename _local_*
231
+ * 704cf89 verbose messages cosmetics
232
+
233
+ ## 2023-10-23
234
+
235
+ * f175fe8 cosmetics
236
+ * cc55c0a add platforms m3 m4f
237
+ * 8949702 tests/package.json: bump deps
238
+ * bd28efb cmake: validate xpack_platform_compile_definition
239
+ * 4de3322 meson rework
240
+ * 95ec308 move cmake _compile_definitions to dependencies
241
+
242
+ ## 2023-10-20
243
+
244
+ * ce36d69 cmake renames & common-main.cmake
245
+ * d9553a2 cmake cleanups
246
+ * 54accd7 cmake add explanations
247
+ * b59fbac rename micro-os-plus::common-options
248
+
249
+ ## 2023-10-19
250
+
251
+ * 0638af7 tests/package.json: remove clang12
252
+ * be8ea3f README update
253
+ * 5f53e2c native/cmake: no need for statics
254
+ * 71368ca native/cmake: add libc++ to link
255
+ * ecb5705 native/cmake: compute -rpath
256
+ * 3a4535b tests/package.json: bump deps
257
+ * e0f050c ci.yml: test m0, m7f, rv32imac
258
+ * b32f4bd tests/package.json: bump deps
259
+ * 21f948b .vscode/settings.json: ignoreWords
260
+ * 71bc722 cleanups
261
+ * 94d507f rework meson
262
+
263
+ ## 2023-10-18
264
+
265
+ * 785704e rework/simplify cmake
266
+ * fc475bb add more cortex & riscv platforms
267
+ * 4bf3531 package.json multiple toolchains
268
+ * a804a2e .vscode/settings.json: ignoreWords
269
+ * cedaed9 meson: add xpack_tests_folder_path
270
+ * 0227c10 cosmetics
271
+ * fdca222 -Wl,--no-warn-rwx-segments
272
+
273
+ ## 2023-10-17
274
+
275
+ * 9ddcdd6 fix typos
276
+ * c1e7f17 silence warnings
277
+ * b8e417f literals.h: include cstdint
278
+
279
+ ## 2023-10-13
280
+
281
+ * b9e132b package.json: bump deps
282
+ * 60d5ab3 meson.build: add check: false
283
+
284
+ ## 2023-10-12
285
+
286
+ * a38e3d2 README update
287
+ * 852bfac package-lock.json update
288
+ * de6024c tests: fix paths
289
+ * 07a8b87 split tests/package.json
290
+ * 7c6a7eb ci.yml: non-sudo npm install
291
+ * 750e4ff ci.yml: try non-sudo
292
+ * 26f4594 ci.yml: bump deps
293
+ * 37a16d6 README update
294
+ * 707fbc5 package.json: update description
295
+ * 39d328e package.json: update scripts
296
+ * 90b83f3 package.json: add del-cli to devDeps
297
+
298
+ ## 2023-07-14
299
+
300
+ * cc2f4b7 ci.yml: xpm 0.16.2
301
+ * 0c93537 README updates
302
+ * 725da90 tests/CMakeLists.txt cosmetics
303
+ * 03de509 package.json: cosmetise urls
304
+ * 36b27c9 package.json: minXpm 0.16.2
305
+
306
+ ## 2023-06-04
307
+
308
+ * 0ac4fd5 ci.yml: bump node 18
309
+ * 650e786 ci.yml: bump matrix.os
310
+ * 8f058ed package.json: build-helper-xpack#xpack-develop
311
+ * 28f809c update for xpacks/@scope/name
312
+ * 6d27fb8 ci.yml: bump xpm 0.16.1
313
+ * 30e6aa3 remove --quiet
314
+
315
+ ## 2023-06-03
316
+
317
+ * 4d446bb lower case ci.yml
318
+ * 0be4b56 package.json min 0.16.0
319
+ * 064eb46 lower case ci.yml
320
+
321
+ ## 2023-05-08
322
+
323
+ * 8719abe .npmignore update
324
+ * 843c811 READMEs updates
325
+ * c1fb3e9 README updates
326
+ * 46bb468 meson.build cosmetics
327
+
328
+ ## 2023-02-18
329
+
330
+ * 5eb637f README update
331
+ * 6894005 README update
332
+ * f5db7d7 README update
333
+
334
+ ## 2022-08-16
335
+
336
+ * cc2699b package.json min 0.14.0 & defaults
337
+ * 9439094 CI.yml: explicit xpm version
338
+
339
+ ## 2022-08-04
340
+
341
+ * a0739bb tests/cross.ini: add link to cpu-families
342
+
343
+ ## 2022-08-03
344
+
345
+ * b1b8b28 README updates
346
+ * 965008d .vscode/settings.json: cmake.ignoreCMakeListsMissing
347
+ * ffb029c .vscode/settings.json: makefile.configureOnOpen
348
+
349
+ ## 2022-08-02
350
+
351
+ * fa3cd23 READMEs updates
352
+
9
353
  ## 2022-07-30
10
354
 
11
- * v3.1.1
355
+ * ceb6702 test-runner.cpp: conditional verbosity
356
+ * 80a0d20 3.1.1
357
+ * 8f35eb1 prepare v3.1.1
12
358
  * 41d0acf update mps2 config
13
359
  * 7c4cf61 #7: package.json: use inheritance
14
360
  * 736a885 bump deps
package/CMakeLists.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  # -----------------------------------------------------------------------------
2
2
  #
3
3
  # This file is part of the µOS++ distribution.
4
- # (https://github.com/micro-os-plus/)
4
+ # (https://github.com/micro-os-plus/)
5
5
  # Copyright (c) 2021 Liviu Ionescu
6
6
  #
7
7
  # Permission to use, copy, modify, and/or distribute this software
@@ -14,14 +14,13 @@
14
14
 
15
15
  # This file is intended to be consumed by applications with:
16
16
  #
17
- # `add_subdirectory("xpacks/micro-os-plus-micro-test-plus")`
17
+ # `add_subdirectory("xpacks/@micro-os-plus/micro-test-plus")`
18
18
  #
19
19
  # The result is an interface library that can be added to the linker with:
20
20
  #
21
21
  # `target_link_libraries(your-target PUBLIC micro-os-plus::micro-test-plus)`
22
22
 
23
23
  # -----------------------------------------------------------------------------
24
- ## Preamble ##
25
24
 
26
25
  # https://cmake.org/cmake/help/v3.20/
27
26
  cmake_minimum_required(VERSION 3.20)
@@ -31,24 +30,24 @@ project(
31
30
  DESCRIPTION "µTest++"
32
31
  )
33
32
 
33
+ # To access the optional functions, add `@micro-os-plus/build-helper` as a
34
+ # dependency and include the `cmake/micro-os-plus-build-helper.cmake` file.
35
+
34
36
  if(COMMAND xpack_get_package_name_and_version)
35
37
  xpack_get_package_name_and_version("${CMAKE_CURRENT_SOURCE_DIR}/package.json")
36
38
  message(VERBOSE "Processing xPack ${PACKAGE_JSON_NAME}@${PACKAGE_JSON_VERSION}...")
37
39
  endif()
38
40
 
39
41
  # -----------------------------------------------------------------------------
40
- ## The project library definitions ##
42
+
43
+ # The project library definitions.
41
44
 
42
45
  # https://cmake.org/cmake/help/v3.20/command/add_library.html?highlight=interface#normal-libraries
43
46
  # PRIVATE: build definitions, used internally
44
47
  # INTERFACE: usage definitions, passed up to targets linking to it
45
48
  # PUBLIC: both
46
-
47
49
  add_library(micro-os-plus-micro-test-plus-interface INTERFACE)
48
50
 
49
- # -----------------------------------------------------------------------------
50
- # Target settings.
51
-
52
51
  target_include_directories(micro-os-plus-micro-test-plus-interface INTERFACE
53
52
  "include"
54
53
  )
@@ -72,16 +71,15 @@ target_link_libraries(micro-os-plus-micro-test-plus-interface INTERFACE
72
71
  # None.
73
72
  )
74
73
 
75
- if (COMMAND xpack_display_target_lists)
74
+ if(COMMAND xpack_display_target_lists)
76
75
  xpack_display_target_lists(micro-os-plus-micro-test-plus-interface)
77
76
  endif()
78
77
 
79
78
  # -----------------------------------------------------------------------------
80
- # Aliases.
81
79
 
80
+ # Aliases.
82
81
  # https://cmake.org/cmake/help/v3.20/command/add_library.html#alias-libraries
83
82
  add_library(micro-os-plus::micro-test-plus ALIAS micro-os-plus-micro-test-plus-interface)
84
83
  message(VERBOSE "> micro-os-plus::micro-test-plus -> micro-os-plus-micro-test-plus-interface")
85
84
 
86
85
  # -----------------------------------------------------------------------------
87
-