Last change
on this file since 9026 was
9025,
checked in by landauf, 13 years ago
|
- added CTestCustom.cmake to add dependencies to $PATH when executing tests with ctest
- added ARGS parameter for "test" target in make to pass command line options to ctest (make test ARGS="—some-ctest-option")
- added unit tests for math functions in util library
|
File size:
247 bytes
|
Line | |
---|
1 | ADD_EXECUTABLE( |
---|
2 | util_test |
---|
3 | EXCLUDE_FROM_ALL |
---|
4 | ${GMOCK_MAIN} |
---|
5 | MathTest.cc |
---|
6 | ) |
---|
7 | TARGET_LINK_LIBRARIES(util_test util gmock_orxonox) |
---|
8 | ADD_DEPENDENCIES(test util_test) |
---|
9 | |
---|
10 | ADD_TEST(util_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/util_test) |
---|
Note: See
TracBrowser
for help on using the repository browser.