Closed KGB99 closed 1 week ago
Maybe you can find another way to test this? Or remove tests that make the build fail?
I started working on a patch where i just remove the tests that fail. Should be working soon hopefully :)
Looks good to me although I couldn't really see if the tests are executed or not.
The tests indeed did not run before. I tried a lot of things in the recipe such as:
tests:
- script:
- node bin/test_geos_unit.js
requirements:
build:
- nodejs
files:
source:
- tests/
- bin/test_geos_unit.js
However I constantly get file not found errors regarding bin/test_geos_unit.js
. I think there is something im not understanding right.
I will add some existence tests for now.
Hey @KGB99 - that's because the tests are not installed into the final package. You would have to execute them as part of your build script.
You might be able to invoke them with CMake / ctest
.
This seems to be a longer existing problem in emscripten: https://github.com/emscripten-core/emscripten/issues/22005 https://github.com/emscripten-core/emscripten/pull/11087 https://github.com/Keno/julia-wasm/issues/27
If cmake is executed with
-DBUILD_TESTING=OFF
the build seems to succeed, however im not sure how wise it is to ignore all tests.