Skip to content

Commit

Permalink
Rename "test" target to "check". Some CMake versions complain.
Browse files Browse the repository at this point in the history
  • Loading branch information
blinry committed Nov 13, 2014
1 parent 00f60b4 commit c6a3ac1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -11,4 +11,4 @@ before_script:
- cmake ..
script:
- make
- make test
- make check
5 changes: 2 additions & 3 deletions CMakeLists.txt
Expand Up @@ -42,7 +42,6 @@ install(FILES nordlicht.h DESTINATION include)
install(FILES ${CMAKE_BINARY_DIR}/nordlicht.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
install(FILES ${CMAKE_BINARY_DIR}/nordlicht.1 DESTINATION share/man/man1)

cmake_policy(SET CMP0037 OLD)
add_custom_target(test testsuite)
add_custom_target(check testsuite)
add_custom_target(download_testfile ${CMAKE_COMMAND} -P ${CMAKE_SOURCE_DIR}/cmake/download_testfile.cmake)
add_dependencies(test download_testfile)
add_dependencies(check download_testfile)

0 comments on commit c6a3ac1

Please sign in to comment.