cmake: run the tests by default
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 5k
- Forks
- 622
- Avg merge
- 8h 37m
- Merged PRs (30d)
- 5
Description
The tests are not run by default from make test or make check. In theory adding these two lines to Test/CMakeLists.txt should do this, but I have not been able to get it to work.
enable_testing()
add_test(test test)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in Test/CMakeLists.txt and inspect how the make test and make check targets are wired. Check the existing test target and the issue's proposed CMake testing configuration, then run both commands. Done means the test suite runs automatically from make test and make check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100