-
Notifications
You must be signed in to change notification settings - Fork 573
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 #7558 from trilinos/Trilinos/master_merge_20200619…
…_000614 Automatically Merged using Trilinos Master Merge AutoTester PR Title: Trilinos Master Merge PR Generator: Auto PR created to promote from master_merge_20200619_000614 branch to master PR Author: trilinos-autotester
- Loading branch information
Showing
37 changed files
with
371 additions
and
121 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,11 @@ | ||
TRIBITS_ADD_ADVANCED_TEST( cts1empire_custom_builds_unit_tests | ||
OVERALL_WORKING_DIRECTORY TEST_NAME | ||
OVERALL_NUM_MPI_PROCS 1 | ||
TEST_0 CMND env | ||
ARGS SHUNIT_COLOR=none ${CMAKE_CURRENT_SOURCE_DIR}/custom_builds_unit_tests.sh | ||
PASS_REGULAR_EXPRESSION_ALL | ||
"ERROR: A supported compiler was not selected for 'cts1empire' env - anything-intell" | ||
"Ran 1 test" | ||
"[^]OK[$]" | ||
ALWAYS_FAIL_ON_NONZERO_RETURN | ||
) |
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,55 @@ | ||
#!/bin/bash | ||
|
||
if [[ "$(uname)" == "Darwin" ]]; then | ||
ATDM_CONFIG_SCRIPT_DIR=".." | ||
source "${ATDM_CONFIG_SCRIPT_DIR}/utils/define_atdm_match_keyword.sh" | ||
SHUNIT2_DIR="${ATDM_CONFIG_SCRIPT_DIR}/../../../commonTools/test/shunit2" | ||
else | ||
CURRENT_SCRIPTS_DIR=`echo $BASH_SOURCE | sed "s/\(.*\)\/.*\.sh/\1/g"` | ||
ATDM_CONFIG_SCRIPT_DIR=`readlink -f ${CURRENT_SCRIPTS_DIR}/..` | ||
SHUNIT2_DIR=`readlink -f ${ATDM_CONFIG_SCRIPT_DIR}/../../../commonTools/test/shunit2` | ||
fi | ||
|
||
# | ||
# Test compiler parsing | ||
# | ||
|
||
testAll() { | ||
|
||
ATDM_CONFIG_SYSTEM_DIR=${ATDM_CONFIG_SCRIPT_DIR}/cts1empire | ||
|
||
ATDM_CONFIG_BUILD_NAME=before-intel-18.0.2-openmpi-4.0.1_after | ||
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh | ||
${_ASSERT_EQUALS_} INTEL-18.0.2_OPENMPI-4.0.1 ${ATDM_CONFIG_COMPILER} | ||
|
||
ATDM_CONFIG_BUILD_NAME=before-intel-18.0.2_openmpi-4.0.1-after | ||
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh | ||
${_ASSERT_EQUALS_} INTEL-18.0.2_OPENMPI-4.0.1 ${ATDM_CONFIG_COMPILER} | ||
|
||
ATDM_CONFIG_BUILD_NAME=before_intel-18.0.2-after | ||
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh | ||
${_ASSERT_EQUALS_} INTEL-18.0.2_OPENMPI-4.0.1 ${ATDM_CONFIG_COMPILER} | ||
|
||
ATDM_CONFIG_BUILD_NAME=default | ||
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh | ||
${_ASSERT_EQUALS_} INTEL-18.0.2_OPENMPI-4.0.1 ${ATDM_CONFIG_COMPILER} | ||
|
||
ATDM_CONFIG_BUILD_NAME=before-intel-after | ||
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh | ||
${_ASSERT_EQUALS_} INTEL-18.0.2_OPENMPI-4.0.1 ${ATDM_CONFIG_COMPILER} | ||
|
||
ATDM_CONFIG_BUILD_NAME=BEFORE-INTEL-AFTER | ||
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh | ||
${_ASSERT_EQUALS_} INTEL-18.0.2_OPENMPI-4.0.1 ${ATDM_CONFIG_COMPILER} | ||
|
||
ATDM_CONFIG_BUILD_NAME=anything-intell | ||
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh | ||
${_ASSERT_EQUALS_} DEFAULT ${ATDM_CONFIG_COMPILER} | ||
|
||
} | ||
|
||
|
||
# | ||
# Run the unit tests | ||
# | ||
. ${SHUNIT2_DIR}/shunit2 |
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
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
Oops, something went wrong.