Repository navigation
0.2.0: discovered groups, case attributes, shards, the coverage map and the static case manifest - #3
Merged
Merged
Conversation
…nd the static case manifest Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…t; one that writes no program event is L0 Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…ge cannot be read Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
This was referenced Nov 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mtest 0.2.0, the mtest part of mcpp's top-level design W8 (mcpp-community/mcpp,
.agents/docs/2026-11-08-ecosystem-top-level-design.md).Changes
[discover.<name>]: every file a glob matches is a program run by a command ({path},{name}), with the keys of[programs.*];tags_fromandresources_fromread tags and resources from each file's first lines (# requires: gcc→requires:gcc).kindstates an L0 program's case kind. mcpp's 720 e2e scripts become one group.[cases."<glob>"]in mtest.toml and[package.metadata.mtest.cases."<glob>"]in a host's mcpp.toml state tags, resources, kind and timeout, taking precedence over a program's listing.--shard I/N: longest-first assignment of programs to the part with the least expected time, from the store's history; the same parts on every machine with the same store.docs/coverage.md):mtest run --coveragegives each program aGCOV_PREFIXdirectory, reads GCC's.gcdaarc counters (a negative length is a run of zero counters, GCC 12+) and maps executed objects to sources through a compile database; affected selection reads the map (a stale map is not read, so it widens and never narrows);mtest coverage show|importandmtest store importcarry it.mcpplibs.mtest.manifestreads"name"_testliterals, their attributes, named suites and nested cases from source text;mtest list --staticlists a project's test files with it, building nothing. A build plugin is not used: mcpp keeps[package.metadata.mtest]for the tool, and the engine and an editor read the same text.Verification (local)
mcpp test -p mcpplibs.mtest(4 new manifest cases),-p mtest.mtest(21 cases, 6 new: groups, shards, the coverage map with synthetic and real GCC.gcdafiles,list --static),-p conformancewith the Bash fixture; clang-format 22.1.8 clean.Co-authored-by: speak-agent 248744407+speak-agent@users.noreply.github.com