Permalink
Browse files

Restore 'make tests' rule

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Oct 28, 2017
1 parent 2a973de commit 7ce59c9fbd5e99619a9ab0ac6177d21e6aca49c7
Showing with 6 additions and 1 deletion.
  1. +1 −1 .travis.yml
  2. +5 −0 testing/CMakeLists.txt
@@ -19,5 +19,5 @@ script:
- cd build
- cmake -G "Unix Makefiles" -Dbuild_doc=ON -Dbuild_wizard=ON ..
- make
- ctest -V
- make tests
- make docs
@@ -1,3 +1,8 @@
add_custom_target(tests
COMMENT "Running doxygen tests..."
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/testing/runtests.py --all --doxygen ${PROJECT_BINARY_DIR}/bin/doxygen --inputdir ${CMAKE_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing
DEPENDS doxygen
)
add_test(NAME suite
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/testing/runtests.py --all --doxygen $<TARGET_FILE:doxygen> --inputdir ${CMAKE_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing
)

0 comments on commit 7ce59c9

Please sign in to comment.