diff options
author | Brad King <brad.king@kitware.com> | 2013-01-25 21:39:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-30 15:04:54 (GMT) |
commit | 4befecc77caa97aeb450d9a2b6bcbe0985dc4054 (patch) | |
tree | 466fb00e26d9db362d64b530bc7bda952106e3d8 /Tests/Module/ExternalData/Data2/CMakeLists.txt | |
parent | bcd25808ac540d279a36a9e0f1b60f152fc0d6bb (diff) | |
download | CMake-4befecc77caa97aeb450d9a2b6bcbe0985dc4054.zip CMake-4befecc77caa97aeb450d9a2b6bcbe0985dc4054.tar.gz CMake-4befecc77caa97aeb450d9a2b6bcbe0985dc4054.tar.bz2 |
ExternalData: Add tests covering interfaces and errors
Add a Module.ExternalData test to verify data retrieval and test
argument DATA{} references.
Add a RunCMake.ExternalData test to verify error handling and automatic
transformation of a raw data to a content link and staged object.
Diffstat (limited to 'Tests/Module/ExternalData/Data2/CMakeLists.txt')
-rw-r--r-- | Tests/Module/ExternalData/Data2/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/Module/ExternalData/Data2/CMakeLists.txt b/Tests/Module/ExternalData/Data2/CMakeLists.txt new file mode 100644 index 0000000..f8eedff --- /dev/null +++ b/Tests/Module/ExternalData/Data2/CMakeLists.txt @@ -0,0 +1,10 @@ +set(ExternalData_SERIES_PARSE "([0-9]+)(_\\.my\\.dat)$") +set(ExternalData_SERIES_MATCH "[0-9]+") +ExternalData_Add_Test(Data2 + NAME Data2Check + COMMAND ${CMAKE_COMMAND} + -D Data2=DATA{../Data2.dat} + -D SeriesC=DATA{SeriesC_1_.my.dat,:} + -P ${CMAKE_CURRENT_SOURCE_DIR}/Data2Check.cmake + ) +ExternalData_Add_Target(Data2) |