forked from trilinos/Trilinos
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TrilinosATDMConfigTests package (trilinos#5939)
The ATDM Trilinos Configuration scripts have become complex enough and important enough that they need to be under automated testing.
- Loading branch information
1 parent
7dfe2e7
commit 2f01ee0
Showing
5 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TRIBITS_PACKAGE(TrilinosATDMConfigTests) | ||
TRIBITS_ADD_TEST_DIRECTORIES(test) | ||
TRIBITS_PACKAGE_POSTPROCESS() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TRIBITS_PACKAGE_DEFINE_DEPENDENCIES() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ADD_SUBDIRECTORY(unit_tests) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
TRIBITS_ADD_ADVANCED_TEST( atdm_match_keyword_unit_tests | ||
OVERALL_WORKING_DIRECTORY TEST_NAME | ||
OVERALL_NUM_MPI_PROCS 1 | ||
TEST_0 CMND env | ||
ARGS SHUNIT_COLOR=none ${CMAKE_CURRENT_SOURCE_DIR}/atdm_match_keyword_unit_tests.sh | ||
PASS_REGULAR_EXPRESSION_ALL "Ran 1 test" "[^]OK[$]" | ||
ALWAYS_FAIL_ON_NONZERO_RETURN | ||
) | ||
|
||
TRIBITS_ADD_ADVANCED_TEST( atdm_match_any_keyword_unit_tests | ||
OVERALL_WORKING_DIRECTORY TEST_NAME | ||
OVERALL_NUM_MPI_PROCS 1 | ||
TEST_0 CMND env | ||
ARGS SHUNIT_COLOR=none ${CMAKE_CURRENT_SOURCE_DIR}/atdm_match_any_keyword_unit_tests.sh | ||
PASS_REGULAR_EXPRESSION_ALL "Ran 1 test" "[^]OK[$]" | ||
ALWAYS_FAIL_ON_NONZERO_RETURN | ||
) | ||
|
||
TRIBITS_ADD_ADVANCED_TEST( set_build_options_unit_tests | ||
OVERALL_WORKING_DIRECTORY TEST_NAME | ||
OVERALL_NUM_MPI_PROCS 1 | ||
TEST_0 CMND env | ||
ARGS SHUNIT_COLOR=none ${CMAKE_CURRENT_SOURCE_DIR}/set_build_options_unit_tests.sh | ||
PASS_REGULAR_EXPRESSION_ALL "Ran 13 test" "[^]OK[$]" | ||
ALWAYS_FAIL_ON_NONZERO_RETURN | ||
) |