Skip to content

Commit b1d5708

Browse files
authored
mtest 0.11.3: a ledger is judged by a set that runs every case (#872)
1 parent 5fab49c commit b1d5708

7 files changed

Lines changed: 112 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
mcpp 按发起加载的对象判定它们可达。声明宿主能力的程序不能以 `--mode self-contained` 打包;已安装模板的部署检查在 mcpp
2020
按此拒绝时改用 `--mode vendored`(tests/mwrap/check_installed_template.py)。
2121
- **第四段的两种含义写入封装说明**(docs/mwrap.md):上游的四段版本与封装修订;命令行的 `@<版本>` 按书写的前缀选择,`@=` 指名一个键。
22+
- **mtest 0.11.3(mcpplibs.mtest、.manifest、.gtest、.capi、.doctest)。** `mtest gate` 只在运行全部用例的集合(`full`、`release`、
23+
声明了 `all` 的集合)中判定账本;其他集合的门禁判定失败与预算,并注明没有判定账本。库只改变它陈述的版本。成员
24+
tests/examples/mtest-doctest 移到 0.11.3。
2225
- **mtest 0.11.2(mcpplibs.mtest、.manifest、.gtest、.capi、.doctest)。** 只作为选中用例的作用域运行的用例,其函数体中的
2326
`step`、`exercise`、`artifact`、`metric` 与 `fixture` 事件不指名用例;运行器不再把它记为没有结束的用例。成员
2427
tests/examples/mtest-doctest 移到 0.11.2。

‎pkgs/m/mcpplibs.mtest.capi.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ package = {
2121

2222
xpm = {
2323
linux = {
24+
["0.11.3"] = {
25+
url = {
26+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz",
27+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz",
28+
},
29+
sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f",
30+
},
2431
["0.11.2"] = {
2532
url = {
2633
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz",
@@ -177,6 +184,13 @@ package = {
177184
},
178185
},
179186
macosx = {
187+
["0.11.3"] = {
188+
url = {
189+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz",
190+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz",
191+
},
192+
sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f",
193+
},
180194
["0.11.2"] = {
181195
url = {
182196
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz",
@@ -333,6 +347,13 @@ package = {
333347
},
334348
},
335349
windows = {
350+
["0.11.3"] = {
351+
url = {
352+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz",
353+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz",
354+
},
355+
sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f",
356+
},
336357
["0.11.2"] = {
337358
url = {
338359
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz",

‎pkgs/m/mcpplibs.mtest.doctest.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ package = {
2121

2222
xpm = {
2323
linux = {
24+
["0.11.3"] = {
25+
url = {
26+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz",
27+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz",
28+
},
29+
sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f",
30+
},
2431
["0.11.2"] = {
2532
url = {
2633
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz",
@@ -44,6 +51,13 @@ package = {
4451
},
4552
},
4653
macosx = {
54+
["0.11.3"] = {
55+
url = {
56+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz",
57+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz",
58+
},
59+
sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f",
60+
},
4761
["0.11.2"] = {
4862
url = {
4963
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz",
@@ -67,6 +81,13 @@ package = {
6781
},
6882
},
6983
windows = {
84+
["0.11.3"] = {
85+
url = {
86+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz",
87+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz",
88+
},
89+
sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f",
90+
},
7091
["0.11.2"] = {
7192
url = {
7293
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz",

‎pkgs/m/mcpplibs.mtest.gtest.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ package = {
2020

2121
xpm = {
2222
linux = {
23+
["0.11.3"] = {
24+
url = {
25+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz",
26+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz",
27+
},
28+
sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f",
29+
},
2330
["0.11.2"] = {
2431
url = {
2532
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz",
@@ -176,6 +183,13 @@ package = {
176183
},
177184
},
178185
macosx = {
186+
["0.11.3"] = {
187+
url = {
188+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz",
189+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz",
190+
},
191+
sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f",
192+
},
179193
["0.11.2"] = {
180194
url = {
181195
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz",
@@ -332,6 +346,13 @@ package = {
332346
},
333347
},
334348
windows = {
349+
["0.11.3"] = {
350+
url = {
351+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz",
352+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz",
353+
},
354+
sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f",
355+
},
335356
["0.11.2"] = {
336357
url = {
337358
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz",

‎pkgs/m/mcpplibs.mtest.manifest.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ package = {
2222

2323
xpm = {
2424
linux = {
25+
["0.11.3"] = {
26+
url = {
27+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz",
28+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz",
29+
},
30+
sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f",
31+
},
2532
["0.11.2"] = {
2633
url = {
2734
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz",
@@ -164,6 +171,13 @@ package = {
164171
},
165172
},
166173
macosx = {
174+
["0.11.3"] = {
175+
url = {
176+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz",
177+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz",
178+
},
179+
sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f",
180+
},
167181
["0.11.2"] = {
168182
url = {
169183
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz",
@@ -306,6 +320,13 @@ package = {
306320
},
307321
},
308322
windows = {
323+
["0.11.3"] = {
324+
url = {
325+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz",
326+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz",
327+
},
328+
sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f",
329+
},
309330
["0.11.2"] = {
310331
url = {
311332
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz",

‎pkgs/m/mtest.lua‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@
6363
--
6464
-- 0.11.2: what a case that runs only as the scope of a selected case does (a step, an
6565
-- exercise, an artifact, a metric, a fixture) names no case.
66+
--
67+
-- 0.11.3: a ledger is judged by a set that runs every case; another set's gate notes that it
68+
-- did not judge them.
6669
package = {
6770
spec = "1",
6871
namespace = "mcpplibs",
@@ -81,6 +84,13 @@ package = {
8184

8285
xpm = {
8386
linux = {
87+
["0.11.3"] = {
88+
url = {
89+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz",
90+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz",
91+
},
92+
sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f",
93+
},
8494
["0.11.2"] = {
8595
url = {
8696
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz",
@@ -237,6 +247,13 @@ package = {
237247
},
238248
},
239249
macosx = {
250+
["0.11.3"] = {
251+
url = {
252+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz",
253+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz",
254+
},
255+
sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f",
256+
},
240257
["0.11.2"] = {
241258
url = {
242259
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz",
@@ -393,6 +410,13 @@ package = {
393410
},
394411
},
395412
windows = {
413+
["0.11.3"] = {
414+
url = {
415+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz",
416+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz",
417+
},
418+
sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f",
419+
},
396420
["0.11.2"] = {
397421
url = {
398422
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz",

‎tests/examples/mtest-doctest/mcpp.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ version = "0.1.0"
99
# Use the complete candidate built-in index prepared by tests/run_members.sh.
1010

1111
[dev-dependencies]
12-
mcpplibs.mtest.doctest = "0.11.2"
12+
mcpplibs.mtest.doctest = "0.11.3"

0 commit comments

Comments
 (0)