We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
swiftwasm
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 9608e46 commit 6628ef8Copy full SHA for 6628ef8
Plugins/PackageToJS/Templates/bin/test.js
@@ -42,7 +42,8 @@ const harnesses = {
42
let options = await nodePlatform.defaultNodeSetup({
43
args: testFrameworkArgs,
44
onExit: (code) => {
45
- if (code !== 0) {
+ // swift-testing returns EX_UNAVAILABLE (which is 69 in wasi-libc) for "no tests found"
46
+ if (code !== 0 && code !== 69) {
47
const stack = new Error().stack
48
console.error(`Test failed with exit code ${code}`)
49
console.error(stack)
0 commit comments