Skip to content

Commit e2b75f7

Browse files
mtest 0.5.0: a run is a graph with its critical path; Markdown reports; what each case used (#739)
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
1 parent 5c7be33 commit e2b75f7

9 files changed

Lines changed: 91 additions & 4 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222

2323
### Added
2424

25+
- **mtest 0.5.0.** 四个包的 0.5.0(同一标签、同一归档):一次运行为一张有向无环图,关键路径为其约束链;Markdown 报告
26+
(mermaid 的图与甘特图);每个用例的资源用量(`[monitor]`);按用例跨进程调度;run 作用域夹具、资源池与组件。依赖
27+
mcpplibs.os 0.4.1。测试成员移到 0.5.0。
2528
- **mcpplibs.os 0.4.1.** `stdio::capture` 在捕获期间把一个标准流保存为文件(经 openkal、C 库与期间启动的程序写出的内容),
2629
`text()` 交回内容并恢复该流;`process::resources` 给出本程序及其已回收子程序的处理器时间、最大常驻集与读写字节数。
2730
测试成员移到 0.4.1。

‎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.5.0"] = {
25+
url = {
26+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.5.0.tar.gz",
27+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.5.0/mtest-v0.5.0.tar.gz",
28+
},
29+
sha256 = "586d8a2f4fb5d335583642ccc0ccfc20a0600e8886eebf07707e959bbd3e9b47",
30+
},
2431
["0.4.1"] = {
2532
url = {
2633
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz",
@@ -58,6 +65,13 @@ package = {
5865
},
5966
},
6067
macosx = {
68+
["0.5.0"] = {
69+
url = {
70+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.5.0.tar.gz",
71+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.5.0/mtest-v0.5.0.tar.gz",
72+
},
73+
sha256 = "586d8a2f4fb5d335583642ccc0ccfc20a0600e8886eebf07707e959bbd3e9b47",
74+
},
6175
["0.4.1"] = {
6276
url = {
6377
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz",
@@ -95,6 +109,13 @@ package = {
95109
},
96110
},
97111
windows = {
112+
["0.5.0"] = {
113+
url = {
114+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.5.0.tar.gz",
115+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.5.0/mtest-v0.5.0.tar.gz",
116+
},
117+
sha256 = "586d8a2f4fb5d335583642ccc0ccfc20a0600e8886eebf07707e959bbd3e9b47",
118+
},
98119
["0.4.1"] = {
99120
url = {
100121
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.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.5.0"] = {
24+
url = {
25+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.5.0.tar.gz",
26+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.5.0/mtest-v0.5.0.tar.gz",
27+
},
28+
sha256 = "586d8a2f4fb5d335583642ccc0ccfc20a0600e8886eebf07707e959bbd3e9b47",
29+
},
2330
["0.4.1"] = {
2431
url = {
2532
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz",
@@ -57,6 +64,13 @@ package = {
5764
},
5865
},
5966
macosx = {
67+
["0.5.0"] = {
68+
url = {
69+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.5.0.tar.gz",
70+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.5.0/mtest-v0.5.0.tar.gz",
71+
},
72+
sha256 = "586d8a2f4fb5d335583642ccc0ccfc20a0600e8886eebf07707e959bbd3e9b47",
73+
},
6074
["0.4.1"] = {
6175
url = {
6276
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz",
@@ -94,6 +108,13 @@ package = {
94108
},
95109
},
96110
windows = {
111+
["0.5.0"] = {
112+
url = {
113+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.5.0.tar.gz",
114+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.5.0/mtest-v0.5.0.tar.gz",
115+
},
116+
sha256 = "586d8a2f4fb5d335583642ccc0ccfc20a0600e8886eebf07707e959bbd3e9b47",
117+
},
97118
["0.4.1"] = {
98119
url = {
99120
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.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.5.0"] = {
26+
url = {
27+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.5.0.tar.gz",
28+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.5.0/mtest-v0.5.0.tar.gz",
29+
},
30+
sha256 = "586d8a2f4fb5d335583642ccc0ccfc20a0600e8886eebf07707e959bbd3e9b47",
31+
},
2532
["0.4.1"] = {
2633
url = {
2734
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz",
@@ -45,6 +52,13 @@ package = {
4552
},
4653
},
4754
macosx = {
55+
["0.5.0"] = {
56+
url = {
57+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.5.0.tar.gz",
58+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.5.0/mtest-v0.5.0.tar.gz",
59+
},
60+
sha256 = "586d8a2f4fb5d335583642ccc0ccfc20a0600e8886eebf07707e959bbd3e9b47",
61+
},
4862
["0.4.1"] = {
4963
url = {
5064
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz",
@@ -68,6 +82,13 @@ package = {
6882
},
6983
},
7084
windows = {
85+
["0.5.0"] = {
86+
url = {
87+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.5.0.tar.gz",
88+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.5.0/mtest-v0.5.0.tar.gz",
89+
},
90+
sha256 = "586d8a2f4fb5d335583642ccc0ccfc20a0600e8886eebf07707e959bbd3e9b47",
91+
},
7192
["0.4.1"] = {
7293
url = {
7394
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz",

‎pkgs/m/mtest.lua‎

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

2424
xpm = {
2525
linux = {
26+
["0.5.0"] = {
27+
url = {
28+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.5.0.tar.gz",
29+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.5.0/mtest-v0.5.0.tar.gz",
30+
},
31+
sha256 = "586d8a2f4fb5d335583642ccc0ccfc20a0600e8886eebf07707e959bbd3e9b47",
32+
},
2633
["0.4.1"] = {
2734
url = {
2835
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz",
@@ -60,6 +67,13 @@ package = {
6067
},
6168
},
6269
macosx = {
70+
["0.5.0"] = {
71+
url = {
72+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.5.0.tar.gz",
73+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.5.0/mtest-v0.5.0.tar.gz",
74+
},
75+
sha256 = "586d8a2f4fb5d335583642ccc0ccfc20a0600e8886eebf07707e959bbd3e9b47",
76+
},
6377
["0.4.1"] = {
6478
url = {
6579
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz",
@@ -97,6 +111,13 @@ package = {
97111
},
98112
},
99113
windows = {
114+
["0.5.0"] = {
115+
url = {
116+
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.5.0.tar.gz",
117+
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.5.0/mtest-v0.5.0.tar.gz",
118+
},
119+
sha256 = "586d8a2f4fb5d335583642ccc0ccfc20a0600e8886eebf07707e959bbd3e9b47",
120+
},
100121
["0.4.1"] = {
101122
url = {
102123
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz",

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

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

1010
[dependencies]
11-
mcpplibs.mtest.capi = "0.4.1"
11+
mcpplibs.mtest.capi = "0.5.0"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ version = "0.1.0"
1010

1111
[dev-dependencies]
1212
compat.gtest = "1.18.0"
13-
mcpplibs.mtest.gtest = "0.4.1"
13+
mcpplibs.mtest.gtest = "0.5.0"
1414

1515
[test]
1616
main = { from = "mcpplibs.mtest.gtest/main" }

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

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

1010
[dependencies]
11-
mcpplibs.mtest.manifest = "0.4.1"
11+
mcpplibs.mtest.manifest = "0.5.0"

‎tests/examples/mtest/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 = "0.4.1"
12+
mcpplibs.mtest = "0.5.0"

0 commit comments

Comments
 (0)