cmake/tribits/examples/TribitsExampleProject/packages/simple_cxx/test/CMakeLists.txt
raw| 1 | tribits_include_directories( REQUIRED_DURING_INSTALLATION_TESTING |
| 2 | ${CMAKE_CURRENT_SOURCE_DIR}/inc ) |
| 3 | |
| 4 | tribits_add_executable_and_test( |
| 5 | HelloWorldTests |
| 6 | SOURCES |
| 7 | SimpleCxx_HelloWorld_Tests.cpp |
| 8 | NUM_MPI_PROCS 1 |
| 9 | STANDARD_PASS_OUTPUT |
| 10 | ) |
| 11 | |
| 12 | tribits_add_test(simplecxx-helloworld NOEXEPREFIX NOEXESUFFIX |
| 13 | NAME HelloWorldProg |
| 14 | DIRECTORY ${PACKAGE_BINARY_DIR}/src |
| 15 | NUM_MPI_PROCS 1 |
| 16 | PASS_REGULAR_EXPRESSION "Hello World" |
| 17 | ) |