You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 21537b6
Browse filesBrowse the repository at this point in the historyBrowse files
mcpp why platform and reading-time checks replace mcpp check; a patch is written with git diff; a test run is kept in the mtest store
- `mcpp check` and `mcpp patch` are removed. A platform's statement is checked
as its manifest is read (a built-in row redefined or a row defined twice is
an error; a provider serving no row and a priority tie are warnings), and
`mcpp why platform` lists the rows it defines and the identities it serves.
One list of a statement's providers (mcpp.manifest.platform_providers) serves
the registration, the check and the report.
- `mcpp why deps` and resolution.json state each package's root
(`manifest_dir`), from which `git diff` writes a patch (docs/05).
- `mcpp test` keeps each run in the mtest store's form under target/mtest
(`[test] store`); the schedule of each process is recorded.
- A test that keeps what it reaches reads the protocol marker from the objects
it was linked from when the link dropped it (mtest before 0.5.1).
- A platform that links with ld.lld keeps its own link line for tests.
- The tier check reads data/builtin.toml; docs/21 lists the three rows it lacked.
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/04-mcpp-toml.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2156,6 +2156,9 @@ discover = ["tests/**/*.cpp"] # the default
2156
2156
|`main`|`{ from = "<dependency>/<entry>" }`| the entry target every test program begins in; each test file is then an ordinary translation unit of its program and defines no `main` (§2.2, `kind = "entry"`) *(2026.10.26.2+)*|
2157
2157
|`start`| symbol | the symbol every test image is entered at, on a freestanding target (§2.2, `start`) *(2026.10.26.2+)*|
2158
2158
|`programs`|`"file"` or `"directory"`|`"file"` (the default): every discovered file is a program; `"directory"`: the files of one directory below a glob's fixed directory are one program, named by the directory, beginning at the file that defines `main` when one does *(2026.11.8.1+)*|
2159
+
|`split`|`"file"`, `"case"` or `"none"`| how a program that speaks the test protocol is run: a process per file of its cases (the default), per case, or once *(2026.11.9.1+)*|
2160
+
|`link`|`"used"` or `"objects"`|`"used"` (the default): a test links what it reaches (`--gc-sections`, `-dead_strip`); `"objects"`: every object whole *(2026.11.9.1+)*|
2161
+
|`store`| directory or `"none"`| where a run is kept in the mtest store's form, relative to the project; the default is `target/mtest`; `"none"` keeps nothing *(2026.11.9.1+)*|
2159
2162
2160
2163
The globs use the vocabulary of `[build] sources`. A test's name is its path
2161
2164
relative to the fixed directory of the first glob that matched it, without the
0 commit comments