Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 11158_indirect_idr_facility_based_tabs_logic
Refs #11158
- Loading branch information
Showing
927 changed files
with
5,688 additions
and
1,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
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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,32 @@ | ||
########################################################################### | ||
# Define targets to download the data | ||
########################################################################### | ||
include ( MantidExternalData ) | ||
|
||
# None of our tests reference files directly as arguments so we have to manually | ||
# call ExternalData_Expand_Arguments to register the files with the ExternalData | ||
# mechanism | ||
function(_create_data_target _targetname _content_link_patterns) | ||
get_filename_component ( EXTERNALDATATEST_SOURCE_DIR ${PROJECT_SOURCE_DIR} ABSOLUTE ) | ||
foreach(_pattern ${_content_link_patterns}) | ||
file( GLOB_RECURSE _content_links | ||
RELATIVE "${EXTERNALDATATEST_SOURCE_DIR}" ${_pattern} ) | ||
foreach(link ${_content_links}) | ||
string( REGEX REPLACE "\\.md5$" "" link ${link} ) | ||
ExternalData_Expand_Arguments( ${_targetname} | ||
link_location | ||
DATA{${link}} | ||
) | ||
endforeach() | ||
endforeach() | ||
# Create target to download data from the StandardTestData group. This must come after | ||
# all tests have been added that reference the group, so we put it last. | ||
ExternalData_Add_Target(${_targetname}) | ||
set_target_properties(${_targetname} PROPERTIES EXCLUDE_FROM_ALL TRUE) | ||
endfunction() | ||
|
||
# We'll create two targets: | ||
# - StandardTestData: data required by the unit tests and documentation tests | ||
# - SystemTestData: data required for the system tests | ||
_create_data_target(StandardTestData "Testing/Data/DocTest/*.md5;Testing/Data/UnitTest/*.md5") | ||
_create_data_target(SystemTestData "Testing/Data/SystemTest/*.md5;Testing/SystemTests/tests/analysis/reference/*.md5") |
Oops, something went wrong.