![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | tsear |
Could someone help me out with running unit tests on Windows, please? I’m following the docs here, but with no success - Unit testing — Godot Engine (latest) documentation in English
- I have a locally built Godot executable I made with
scons p=windows vsproj=yes
- I then compile tests by running
scons test=yes
- I attempt to execute tests by running
./bin/godot.windows.tools.64.exe --test --test-case="*[String]*" --success
, as the documentation suggests - A Godot GUI opens, and no tests are run
I have two other observations, though I don’t know if they’re red herrings.
- The docs suggest that I could just build everything with
scons dev=yes
. But this build fails on a fresh check-out ofmaster
. - When I try to execute tests, the console gives me an error -
ERROR: Condition "default_certs != nullptr" is true [ at: CryptoMbedTLS::load_default_certificates (modules\mbedtls\crypto_mbedtls.cpp:236]
" . The GUI opens up just fine though, so it doesn’t look like it has anything to do with the actual test run.