fix test runner repo path handling

This commit is contained in:
root
2026-06-21 21:05:51 +00:00
parent 4a6fc46ec8
commit 1770323a2a
2 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ RENDER(Request& context)
};
site_tests_page_start("API Coverage Manifest", "Repository-level guard that public wasm-unit APIs have an explicit test/doc/internal decision.");
String out = shell_exec("cd /Code/uce.openfu.com/uce && python3 scripts/api_coverage_manifest.py");
String repo_root = process_start_directory();
String out = shell_exec("cd " + shell_escape(repo_root) + " && python3 scripts/api_coverage_manifest.py");
check("api coverage manifest", contains(out, "API coverage manifest ok"), out);
site_tests_summary(passed, failed, skipped, "This page runs only on trusted/local test requests.");
site_tests_page_end();