Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@

### Added

- **mtest 0.8.0.** 四个包的 0.8.0(同一标签、同一归档):用例以 `only{}`、`except{}` 陈述其运行的平台与架构(mcpplibs.os 的名字),
在场所之外跳过并说明原因;`capability` 在代码中声明机器能力,由程序在任一运行器下回答;`case` 事件新增可选字段
`only`、`except`、`capabilities`、`reason`;`mtest ci coverage` 按用例陈述的场所检查。只增不改。
- **mtest 0.7.2.** 四个包的 0.7.2(同一标签、同一归档):`mcpplibs.mtest.bench` 新增 `bench::each`,逐次计时并给出分布(`name`、`.p95`、`.p99`、`.max`、`.mean`、`.per_item`),
测量体可暂停并声明条目数;只增不改。
- **mtest 0.6.3.** 四个包的 0.6.3(同一标签、同一归档):`mcpplibs.mtest.cts` 让一致性套件对着一个主体运行
Expand Down
21 changes: 21 additions & 0 deletions pkgs/m/mcpplibs.mtest.capi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ package = {

xpm = {
linux = {
["0.8.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.0/mtest-v0.8.0.tar.gz",
},
sha256 = "6ea516f470ae0aeea49039c071dda97b1403d71577539530d95fa0b959d12f26",
},
["0.7.2"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz",
Expand Down Expand Up @@ -114,6 +121,13 @@ package = {
},
},
macosx = {
["0.8.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.0/mtest-v0.8.0.tar.gz",
},
sha256 = "6ea516f470ae0aeea49039c071dda97b1403d71577539530d95fa0b959d12f26",
},
["0.7.2"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz",
Expand Down Expand Up @@ -207,6 +221,13 @@ package = {
},
},
windows = {
["0.8.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.0/mtest-v0.8.0.tar.gz",
},
sha256 = "6ea516f470ae0aeea49039c071dda97b1403d71577539530d95fa0b959d12f26",
},
["0.7.2"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/m/mcpplibs.mtest.gtest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ package = {

xpm = {
linux = {
["0.8.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.0/mtest-v0.8.0.tar.gz",
},
sha256 = "6ea516f470ae0aeea49039c071dda97b1403d71577539530d95fa0b959d12f26",
},
["0.7.2"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz",
Expand Down Expand Up @@ -113,6 +120,13 @@ package = {
},
},
macosx = {
["0.8.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.0/mtest-v0.8.0.tar.gz",
},
sha256 = "6ea516f470ae0aeea49039c071dda97b1403d71577539530d95fa0b959d12f26",
},
["0.7.2"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz",
Expand Down Expand Up @@ -206,6 +220,13 @@ package = {
},
},
windows = {
["0.8.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.0/mtest-v0.8.0.tar.gz",
},
sha256 = "6ea516f470ae0aeea49039c071dda97b1403d71577539530d95fa0b959d12f26",
},
["0.7.2"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/m/mcpplibs.mtest.manifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ package = {

xpm = {
linux = {
["0.8.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.0/mtest-v0.8.0.tar.gz",
},
sha256 = "6ea516f470ae0aeea49039c071dda97b1403d71577539530d95fa0b959d12f26",
},
["0.7.2"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz",
Expand Down Expand Up @@ -101,6 +108,13 @@ package = {
},
},
macosx = {
["0.8.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.0/mtest-v0.8.0.tar.gz",
},
sha256 = "6ea516f470ae0aeea49039c071dda97b1403d71577539530d95fa0b959d12f26",
},
["0.7.2"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz",
Expand Down Expand Up @@ -180,6 +194,13 @@ package = {
},
},
windows = {
["0.8.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.0/mtest-v0.8.0.tar.gz",
},
sha256 = "6ea516f470ae0aeea49039c071dda97b1403d71577539530d95fa0b959d12f26",
},
["0.7.2"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz",
Expand Down
25 changes: 25 additions & 0 deletions pkgs/m/mtest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
-- 0.7.2 adds `bench::each` to `mcpplibs.mtest.bench`: every call measured by
-- itself (`name`, `.p95`, `.p99`, `.max`, `.mean`, `.per_item`), with a lap that
-- pauses and states items.
--
-- 0.8.0 states where a case runs (`only{}`, `except{}` over mcpplibs.os's
-- platforms and architectures) and what it needs of the machine (`capability`,
-- declared in code and answered by the program under any runner).
package = {
spec = "1",
namespace = "mcpplibs",
Expand All @@ -47,6 +51,13 @@ package = {

xpm = {
linux = {
["0.8.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.0/mtest-v0.8.0.tar.gz",
},
sha256 = "6ea516f470ae0aeea49039c071dda97b1403d71577539530d95fa0b959d12f26",
},
["0.7.2"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz",
Expand Down Expand Up @@ -140,6 +151,13 @@ package = {
},
},
macosx = {
["0.8.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.0/mtest-v0.8.0.tar.gz",
},
sha256 = "6ea516f470ae0aeea49039c071dda97b1403d71577539530d95fa0b959d12f26",
},
["0.7.2"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz",
Expand Down Expand Up @@ -233,6 +251,13 @@ package = {
},
},
windows = {
["0.8.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.0/mtest-v0.8.0.tar.gz",
},
sha256 = "6ea516f470ae0aeea49039c071dda97b1403d71577539530d95fa0b959d12f26",
},
["0.7.2"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz",
Expand Down
Loading