Better error message on ctest failure
envgap__microsoft__verona-114
01 / FAILURE SIGNATURE
As reported upstream
When running `ctest -R <test> -V` I noticed the error was:
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
02d21291c408e77613dbe22eb8e7f3b1a1cfecb5- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
microsoft/verona #114 · read the original issue
I tried to build Verona today and _all_ tests failed on master, which doesn't make sense. When running `ctest -R <test> -V` I noticed the error was: ``` 9: CMake Error at .../verona/testsuite/common.cmake:11 (message): 9: To run tests you must build the install target. ``` It's not a widespread practice to require `ninja install` before testing, but it's not uncommon either. The best "fix" would be to create a `ninja check` which depends on `install` and just runs `ctest`. Another option would be to not require installing and take the binaries and libraries from the build directory.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]