summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-15 18:34:51 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-16 12:03:35 (GMT)
commitfbead761fef491b88958ce8335c1b5aa10a99637 (patch)
tree35cb976e039c05d9aaf3346ad7a262cf0c911357 /Tests/RunCMake
parent64a8587332d1287757487f56f6d9bbeec095369f (diff)
downloadCMake-fbead761fef491b88958ce8335c1b5aa10a99637.zip
CMake-fbead761fef491b88958ce8335c1b5aa10a99637.tar.gz
CMake-fbead761fef491b88958ce8335c1b5aa10a99637.tar.bz2
Tests: Factor out RunCMake.GenEx-DEVICE_LINK test
Move the `DEVICE_LINK` cases out of `RunCMake.GeneratorExpression`.
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r--Tests/RunCMake/CMakeLists.txt1
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command-result.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_command-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_command-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command.cmake (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_command.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target-result.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target.cmake (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable-result.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_executable-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_executable-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable.cmake (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_executable.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library-result.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_library-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_library-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library.cmake (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_library.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test-result.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_test-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_test-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test.cmake (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_test.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install-result.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-install-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-install-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install.cmake (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-install.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends-result.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-link_depends-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-link_depends-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends.cmake (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-link_depends.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions-result.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_definitions-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_definitions-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions.cmake (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_definitions.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options-result.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_options-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_options-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options.cmake (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_options.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories-result.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_include_directories-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_include_directories-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories.cmake (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_include_directories.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories-result.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_directories-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_directories-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories.cmake (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_directories.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries-result.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_libraries-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_libraries-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries.cmake (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_libraries.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources-result.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_sources-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_sources-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources.cmake (renamed from Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_sources.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/RunCMakeTest.cmake17
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/empty.c0
-rw-r--r--Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake15
44 files changed, 21 insertions, 15 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index e66e325..0d82dac 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -224,6 +224,7 @@ add_RunCMake_test(GenEx-COMPILE_LANG_AND_ID)
add_RunCMake_test(GenEx-LINK_LANGUAGE)
add_RunCMake_test(GenEx-LINK_LANG_AND_ID)
add_RunCMake_test(GenEx-HOST_LINK)
+add_RunCMake_test(GenEx-DEVICE_LINK)
add_RunCMake_test(GeneratorExpression)
add_RunCMake_test(GeneratorInstance)
add_RunCMake_test(GeneratorPlatform)
diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/CMakeLists.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/CMakeLists.txt
new file mode 100644
index 0000000..b646c4a
--- /dev/null
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 3.18)
+project(${RunCMake_TEST} NONE)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_command-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_command-result.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_command-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command-stderr.txt
index eb15834..eb15834 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_command-stderr.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_command.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command.cmake
index 01b3784..01b3784 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_command.cmake
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target-result.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target-stderr.txt
index cdd3043..cdd3043 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target-stderr.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target.cmake
index 35728e9..35728e9 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_custom_target.cmake
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_executable-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_executable-result.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_executable-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable-stderr.txt
index 56b595c..56b595c 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_executable-stderr.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_executable.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable.cmake
index 899f8f6..899f8f6 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_executable.cmake
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_library-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_library-result.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_library-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library-stderr.txt
index 4477e00..4477e00 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_library-stderr.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_library.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library.cmake
index fc8547b..fc8547b 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_library.cmake
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_test-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_test-result.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_test-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test-stderr.txt
index 99561fe..99561fe 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_test-stderr.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_test.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test.cmake
index 87d6ba1..87d6ba1 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-add_test.cmake
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-install-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-install-result.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-install-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install-stderr.txt
index afb3090..afb3090 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-install-stderr.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-install.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install.cmake
index 4b6dbef..4b6dbef 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-install.cmake
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-link_depends-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-link_depends-result.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-link_depends-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends-stderr.txt
index 4fa0522..4fa0522 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-link_depends-stderr.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-link_depends.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends.cmake
index 8129514..8129514 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-link_depends.cmake
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_definitions-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_definitions-result.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_definitions-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions-stderr.txt
index c0185e3..c0185e3 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_definitions-stderr.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_definitions.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions.cmake
index aaa8efc..aaa8efc 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_definitions.cmake
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_options-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_options-result.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_options-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options-stderr.txt
index 34ca4f2..34ca4f2 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_options-stderr.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_options.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options.cmake
index a9cb7fd..a9cb7fd 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_compile_options.cmake
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_include_directories-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_include_directories-result.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_include_directories-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories-stderr.txt
index 4d1642d..4d1642d 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_include_directories-stderr.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_include_directories.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories.cmake
index 03cc413..03cc413 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_include_directories.cmake
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_directories-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_directories-result.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_directories-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories-stderr.txt
index d924916..d924916 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_directories-stderr.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_directories.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories.cmake
index e50d27d..e50d27d 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_directories.cmake
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_libraries-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_libraries-result.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_libraries-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries-stderr.txt
index 1436fa8..1436fa8 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_libraries-stderr.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_libraries.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries.cmake
index 971f562..971f562 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_link_libraries.cmake
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_sources-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_sources-result.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_sources-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources-stderr.txt
index c9b602d..c9b602d 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_sources-stderr.txt
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_sources.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources.cmake
index 94bac9e..94bac9e 100644
--- a/Tests/RunCMake/GeneratorExpression/DEVICE_LINK-target_sources.cmake
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources.cmake
diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/RunCMakeTest.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/RunCMakeTest.cmake
new file mode 100644
index 0000000..1e44601
--- /dev/null
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/RunCMakeTest.cmake
@@ -0,0 +1,17 @@
+include(RunCMake)
+
+run_cmake(DEVICE_LINK-add_custom_target)
+run_cmake(DEVICE_LINK-add_custom_command)
+run_cmake(DEVICE_LINK-install)
+run_cmake(DEVICE_LINK-add_executable)
+run_cmake(DEVICE_LINK-add_library)
+run_cmake(DEVICE_LINK-add_test)
+run_cmake(DEVICE_LINK-target_sources)
+run_cmake(DEVICE_LINK-target_compile_definitions)
+run_cmake(DEVICE_LINK-target_compile_options)
+run_cmake(DEVICE_LINK-target_include_directories)
+run_cmake(DEVICE_LINK-target_link_libraries)
+run_cmake(DEVICE_LINK-target_link_directories)
+if(RunCMake_GENERATOR MATCHES "(Ninja|Makefile)")
+ run_cmake(DEVICE_LINK-link_depends)
+endif()
diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/empty.c b/Tests/RunCMake/GenEx-DEVICE_LINK/empty.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/empty.c
diff --git a/Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake b/Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake
index dfe6695..a1eaf8c 100644
--- a/Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake
+++ b/Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake
@@ -23,21 +23,6 @@ run_cmake(NonValidTarget-TARGET_BUNDLE_DIR)
run_cmake(NonValidTarget-TARGET_BUNDLE_CONTENT_DIR)
run_cmake(NonValidTarget-TARGET_PROPERTY)
run_cmake(NonValidTarget-TARGET_POLICY)
-run_cmake(DEVICE_LINK-add_custom_target)
-run_cmake(DEVICE_LINK-add_custom_command)
-run_cmake(DEVICE_LINK-install)
-run_cmake(DEVICE_LINK-add_executable)
-run_cmake(DEVICE_LINK-add_library)
-run_cmake(DEVICE_LINK-add_test)
-run_cmake(DEVICE_LINK-target_sources)
-run_cmake(DEVICE_LINK-target_compile_definitions)
-run_cmake(DEVICE_LINK-target_compile_options)
-run_cmake(DEVICE_LINK-target_include_directories)
-run_cmake(DEVICE_LINK-target_link_libraries)
-run_cmake(DEVICE_LINK-target_link_directories)
-if(RunCMake_GENERATOR MATCHES "(Ninja|Makefile)")
- run_cmake(DEVICE_LINK-link_depends)
-endif()
run_cmake(TARGET_FILE-recursion)
run_cmake(OUTPUT_NAME-recursion)
run_cmake(TARGET_FILE_PREFIX)