We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3fab07 commit d7fa39bCopy full SHA for d7fa39b
emscripten/runner.js
@@ -82,6 +82,7 @@ const testDir = pkgDir + "/tests";
82
async function main() {
83
const wheelName = await findWheel(distDir);
84
const wheelURL = `file:${distDir}/${wheelName}`;
85
+ let errcode = 1;
86
87
try {
88
pyodide = await loadPyodide();
@@ -94,11 +95,12 @@ async function main() {
94
95
const micropip = pyodide.pyimport("micropip");
96
await micropip.install(wheelURL);
97
const pytest = pyodide.pyimport("pytest");
- errcode = pytest.main(pyodide.toPy(["/test_dir", "-vv"]));
98
+ errcode = pytest.main(pyodide.toPy(["/test_dir"]));
99
} catch (e) {
100
console.error(e);
101
process.exit(1);
102
}
103
+ process.exit(errcode);
104
105
106
main();
0 commit comments