Running Audacity tests #5841
-
Hello everyone, I really fear I am missing something but so far I didn't manage to run any meaningful tests for Audacity:
The tests are executed like this: ctest --test-dir build --output-on-failure I tried to explicitly build with
Any help would be appreciated and don't fear to just RTFM me if I just didn't find the right doc page! 🤗 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I am also running into this issue and cannot figure out what is different in CI! |
Beta Was this translation helpful? Give feedback.
-
Never mind, I got it. It's because of the rule in
I don't know if this was on purpose or if it would be OK to remove this dependency? I think the reasoning might have been for pulling in catch2 via conan, but everything works fine if catch2 is installed via system package manager. |
Beta Was this translation helpful? Give feedback.
Never mind, I got it. It's because of the rule in
CMakeLists.txt
that makesaudacity_has_tests
dependent onaudacity_conan_enabled
, and I guess just disables it silently otherwise. I don't understand why this was added in #2536 . But I have worked around it with this patch: