-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from issp-center-dev/autotest
introduce ctest
- Loading branch information
Showing
14 changed files
with
123 additions
and
28 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,4 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
project(ODAT-SE) | ||
enable_testing() | ||
add_subdirectory(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,65 @@ | ||
add_test( | ||
NAME bayes | ||
COMMAND sh do.sh | ||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/bayes | ||
) | ||
|
||
add_test( | ||
NAME exchange | ||
COMMAND sh do.sh | ||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/exchange | ||
) | ||
|
||
add_test( | ||
NAME exchange_mesh | ||
COMMAND sh do.sh | ||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/exchange_mesh | ||
) | ||
|
||
add_test( | ||
NAME mapper | ||
COMMAND sh do.sh | ||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/mapper | ||
) | ||
|
||
add_test( | ||
NAME minsearch | ||
COMMAND sh do.sh | ||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/minsearch | ||
) | ||
|
||
add_test( | ||
NAME pamc | ||
COMMAND sh do.sh | ||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/pamc | ||
) | ||
|
||
add_test( | ||
NAME transform | ||
COMMAND sh do.sh | ||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/transform | ||
) | ||
|
||
add_test( | ||
NAME bayes_continue | ||
COMMAND sh do.sh | ||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/bayes_continue | ||
) | ||
|
||
add_test( | ||
NAME exchange_continue | ||
COMMAND sh do.sh | ||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/exchange_continue | ||
) | ||
|
||
add_test( | ||
NAME mapper_resume | ||
COMMAND sh do.sh | ||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/mapper_resume | ||
) | ||
|
||
add_test( | ||
NAME pamc_continue | ||
COMMAND sh do.sh | ||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/pamc_continue | ||
) |
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/bin/sh | ||
|
||
export PYTHONUNBUFFERED=1 | ||
|
||
# Remove the output directory if it exists | ||
rm -rf output | ||
|
||
|
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
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
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
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
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