Skip to content
Merged
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 tslang/test/suites.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ export const makeSuites = (defaultLibRepo) => ({
dir: path.join(repo, "tslang/test/tester/tests"),
files: testerFiles,
compileArgs: ["--no-default-lib"],
// a test that ctest does not run under own says so on its first line, as the default library's do
marker: (source, leg) =>
source.split(/\r?\n/, 1)[0].startsWith("// not own") && leg.mm === "own" ? "marked '// not own'" : null,
passed: (run) => run.code === 0 && (run.stdout + run.stderr).includes("done.") ? null
: run.code !== 0 ? `exit code ${run.code}` : "no 'done.' msg.",
},
Expand Down
Loading