waveygang/wfmash

Run tests using `make test`

Opened this issue · 1 comments

Make it so that tests can be run with make test, make check or similar. This would be more compatible with standard practice, and make it easy to package wfmash for Guix without having to put in a custom check phase.

Thank you!

This is what I see when I run make test:

Running tests...
/gnu/store/jjxafj2r8np0ay9q6y554xj7b32dxn98-cmake-minimal-3.24.2/bin/ctest --force-new-ctest-process 
CMake Error at /tmp/guix-build-wfmash-0.21.0.drv-0/build/CTestCustom.cmake:1:
  Parse error.  Expected a command name, got unquoted argument with text
  "CTestCustom.cmake".


Problem reading custom configuration: /tmp/guix-build-wfmash-0.21.0.drv-0/build/CTestCustom.cmake
Test project /tmp/guix-build-wfmash-0.21.0.drv-0/build
Errors while running CTest
make: *** [Makefile:74: test] Error 8

Test suite failed, dumping logs.