diff --git a/out/test.js b/out/test.js index 2c261b8..4745f72 100644 --- a/out/test.js +++ b/out/test.js @@ -31,6 +31,9 @@ function runTests(buildDirPath) { process.exit(1); } yield qt.removeNonLinking(); + /// On macOS and Windows we don't have ldd or equivalent, so we can't check if the test links to QtTest + /// Use the help way instead + yield qt.removeByRunningHelp(); // 1. Test that the executable test names are correct: var i = 0; for (var executable of qt.qtTestExecutables) { diff --git a/src/test.ts b/src/test.ts index b719a6e..8ca45b9 100644 --- a/src/test.ts +++ b/src/test.ts @@ -26,6 +26,10 @@ async function runTests(buildDirPath: string) { await qt.removeNonLinking(); + /// On macOS and Windows we don't have ldd or equivalent, so we can't check if the test links to QtTest + /// Use the help way instead + await qt.removeByRunningHelp(); + // 1. Test that the executable test names are correct: var i = 0; for (var executable of qt.qtTestExecutables) {