-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mptest isn't built with make all #36
Comments
Thanks for reporting. I guess this is technically a documentation bug, but there wasn't a convenient way to build and run all tests, so I added "make check" and "make tests" targets in #37 |
0378353 Add "make check" target to build and run tests (Russell Yanofsky) Pull request description: fanquake reported #36 that instructions for running tests in the README are wrong, and there isn't a convenient way to build and run tests, so this PR adds a "make check" custom target to make it more straightforward. The new "make check" target builds and runs all available tests, while the previous "make test" target (provided by CTest) only runs existing test binaries without building anything. This PR also: - Moves all test code and build rules to a new test/ subdirectory to separate test code from non-test code - Adds a new "make tests" target used internally by "make check" to build tests without running them Top commit has no ACKs. Tree-SHA512: f2355c23c6286c519169bf5e0c08c06296bfe009ef096edd37bbd447ff39cd39d1ab4bb7645d76dd0086e39ab6389c4d9b79649b5708e52880a693f7ead5d49e
Thanks for testing #37. Just merged that, so the problem should be resolved. The test still won't be built with "make all" but the convention for cmake (as per "make help") seems to be that "make all" is identical to "make", and it wouldn't make sense to build tests for the default target |
Following the installation instructions in the README on a new Debian system. It seems that
make all
doesn't build themptest
executable, so the tests don't run.If you build it with
make mptest
and then runmake test
everything works fine. Unsure if this a doc or CMake issue.The text was updated successfully, but these errors were encountered: