diff options
author | Brad King <brad.king@kitware.com> | 2018-04-16 13:12:30 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-04-16 13:12:34 (GMT) |
commit | 5e4c5b53e165fe6dd87eb766d3d21889914086dd (patch) | |
tree | 329a35a081c6410d54557cd105a1bd0549466fad /Tests | |
parent | 77db645ab8c70fd680c4cc613d4995b632606240 (diff) | |
parent | bb66cea6c510b85f8c84e047f9e8a25ef1ada17c (diff) | |
download | CMake-5e4c5b53e165fe6dd87eb766d3d21889914086dd.zip CMake-5e4c5b53e165fe6dd87eb766d3d21889914086dd.tar.gz CMake-5e4c5b53e165fe6dd87eb766d3d21889914086dd.tar.bz2 |
Merge topic 'test-ExternalData-dedup'
bb66cea6c5 Tests: Avoid duplicate rules in ExternalData test
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1958
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Module/ExternalData/Data5/CMakeLists.txt | 6 | ||||
-rw-r--r-- | Tests/Module/ExternalData/Data5/Data5.dat.md5 | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Tests/Module/ExternalData/Data5/CMakeLists.txt b/Tests/Module/ExternalData/Data5/CMakeLists.txt index 13c7fab..ea67f05 100644 --- a/Tests/Module/ExternalData/Data5/CMakeLists.txt +++ b/Tests/Module/ExternalData/Data5/CMakeLists.txt @@ -2,21 +2,21 @@ ExternalData_Add_Test(Data5.A NAME Data5Check.A COMMAND ${CMAKE_COMMAND} - -D Data5=DATA{../Data.dat} + -D Data5=DATA{Data5.dat} -P ${CMAKE_CURRENT_SOURCE_DIR}/Data5Check.cmake ) ExternalData_Add_Target(Data5.A) ExternalData_Add_Test(Data5.B NAME Data5Check.B COMMAND ${CMAKE_COMMAND} - -D Data5=DATA{../Data.dat} + -D Data5=DATA{Data5.dat} -P ${CMAKE_CURRENT_SOURCE_DIR}/Data5Check.cmake ) ExternalData_Add_Target(Data5.B) ExternalData_Add_Test(Data5.C NAME Data5Check.C COMMAND ${CMAKE_COMMAND} - -D Data5=DATA{../Data.dat} + -D Data5=DATA{Data5.dat} -P ${CMAKE_CURRENT_SOURCE_DIR}/Data5Check.cmake ) ExternalData_Add_Target(Data5.C) diff --git a/Tests/Module/ExternalData/Data5/Data5.dat.md5 b/Tests/Module/ExternalData/Data5/Data5.dat.md5 new file mode 100644 index 0000000..70e39bd --- /dev/null +++ b/Tests/Module/ExternalData/Data5/Data5.dat.md5 @@ -0,0 +1 @@ +8c018830e3efa5caf3c7415028335a57 |