cmake
test_error
ai_generated
true
CTest: test failed with non-zero return code
ID: cmake/ctest-failure
82%Fix Rate
86%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3 | active | — | — | — |
Root Cause
CMake CTest test suite has failures.
genericWorkarounds
-
90% success Run with verbose: ctest --output-on-failure -V
-
88% success Debug specific test: ctest -R test_name --verbose
Dead Ends
Common approaches that don't work:
-
Skip failing tests with CTEST_EXCLUDE_REGEX
78% fail
Hides real failures
-
Set CTEST_OUTPUT_ON_FAILURE off
72% fail
No diagnostic output