diff options
author | Brad King <brad.king@kitware.com> | 2020-06-16 15:02:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-17 12:13:57 (GMT) |
commit | 5f97e449122804c2f34a1f8b119ca76faf0e7773 (patch) | |
tree | 81421ceea7cf08efcf3efa7f78de35729249d4ba /Tests | |
parent | 0951b1fe072da311e9adb55337ef364e2b6c01d0 (diff) | |
download | CMake-5f97e449122804c2f34a1f8b119ca76faf0e7773.zip CMake-5f97e449122804c2f34a1f8b119ca76faf0e7773.tar.gz CMake-5f97e449122804c2f34a1f8b119ca76faf0e7773.tar.bz2 |
Tests: Shorten case names in RunCMake.target_link_libraries-* tests
Drop the portion of the case names that repeats the name of the
containing test.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/RunCMakeTest.cmake | 32 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-mix-lang-result.txt (renamed from Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-bad-mix-lang-result.txt) | 0 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-mix-lang-stderr.txt (renamed from Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-bad-mix-lang-stderr.txt) | 0 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-mix-lang.cmake (renamed from Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-mix-lang.cmake) | 0 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-usage-result.txt (renamed from Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-usage-result.txt) | 0 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-usage-stderr.txt (renamed from Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-usage-stderr.txt) | 2 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-usage.cmake (renamed from Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-usage.cmake) | 0 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex.cmake (renamed from Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE.cmake) | 0 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/RunCMakeTest.cmake | 28 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/bad-mix-lang-result.txt (renamed from Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-mix-lang-result.txt) | 0 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/bad-mix-lang-stderr.txt (renamed from Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-mix-lang-stderr.txt) | 0 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/bad-mix-lang.cmake (renamed from Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-bad-mix-lang.cmake) | 0 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/basic-result.txt (renamed from Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-interface-result.txt) | 0 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/exe_c-result.txt (renamed from Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-exe_cxx-result.txt) | 0 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/exe_cxx-result.txt (renamed from Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-exe_c-result.txt) | 0 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex.cmake (renamed from Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID.cmake) | 0 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/interface-result.txt (renamed from Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-basic-result.txt) | 0 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/no_language-result.txt (renamed from Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-no_language-result.txt) | 0 |
18 files changed, 31 insertions, 31 deletions
diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/RunCMakeTest.cmake b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/RunCMakeTest.cmake index 487bf25..0f0e5d8 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/RunCMakeTest.cmake +++ b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/RunCMakeTest.cmake @@ -9,31 +9,31 @@ macro(run_cmake_target test subtest target) unset(RunCMake_TEST_NO_CLEAN) endmacro() -run_cmake(genex_LINK_LANGUAGE-bad-usage) +run_cmake(bad-usage) if (RunCMake_GENERATOR MATCHES "Makefiles|Ninja|Visual Studio|Xcode|Watcom WMake") - run_cmake(genex_LINK_LANGUAGE-bad-mix-lang) + run_cmake(bad-mix-lang) set(RunCMake_TEST_OUTPUT_MERGE TRUE) if (NOT RunCMake_GENERATOR_IS_MULTI_CONFIG) set(RunCMake_TEST_OPTIONS -DCMAKE_BUILD_TYPE=Release) endif() - run_cmake(genex_LINK_LANGUAGE) - - run_cmake_target(genex_LINK_LANGUAGE lib LinkLibraries_lib --config Release) - run_cmake_target(genex_LINK_LANGUAGE lib2 LinkLibraries_lib2 --config Release) - run_cmake_target(genex_LINK_LANGUAGE lib3 LinkLibraries_lib3 --config Release) - run_cmake_target(genex_LINK_LANGUAGE exe LinkLibraries_exe --config Release) - run_cmake_target(genex_LINK_LANGUAGE C_import LinkLibraries_C_import --config Release) - run_cmake_target(genex_LINK_LANGUAGE CXX_import LinkLibraries_CXX_import --config Release) - run_cmake_target(genex_LINK_LANGUAGE C_interface LinkLibraries_C_interface --config Release) - run_cmake_target(genex_LINK_LANGUAGE CXX_interface LinkLibraries_CXX_interface --config Release) - run_cmake_target(genex_LINK_LANGUAGE C_interface2 LinkLibraries_C_interface2 --config Release) - run_cmake_target(genex_LINK_LANGUAGE CXX_interface2 LinkLibraries_CXX_interface2 --config Release) - run_cmake_target(genex_LINK_LANGUAGE C_static LinkLibraries_C_static --config Release) - run_cmake_target(genex_LINK_LANGUAGE CXX_static LinkLibraries_CXX_static --config Release) + run_cmake(genex) + + run_cmake_target(genex lib LinkLibraries_lib --config Release) + run_cmake_target(genex lib2 LinkLibraries_lib2 --config Release) + run_cmake_target(genex lib3 LinkLibraries_lib3 --config Release) + run_cmake_target(genex exe LinkLibraries_exe --config Release) + run_cmake_target(genex C_import LinkLibraries_C_import --config Release) + run_cmake_target(genex CXX_import LinkLibraries_CXX_import --config Release) + run_cmake_target(genex C_interface LinkLibraries_C_interface --config Release) + run_cmake_target(genex CXX_interface LinkLibraries_CXX_interface --config Release) + run_cmake_target(genex C_interface2 LinkLibraries_C_interface2 --config Release) + run_cmake_target(genex CXX_interface2 LinkLibraries_CXX_interface2 --config Release) + run_cmake_target(genex C_static LinkLibraries_C_static --config Release) + run_cmake_target(genex CXX_static LinkLibraries_CXX_static --config Release) unset(RunCMake_TEST_OPTIONS) unset(RunCMake_TEST_OUTPUT_MERGE) diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-bad-mix-lang-result.txt b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-mix-lang-result.txt index d00491f..d00491f 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-bad-mix-lang-result.txt +++ b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-mix-lang-result.txt diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-bad-mix-lang-stderr.txt b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-mix-lang-stderr.txt index 2ecdc0c..2ecdc0c 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-bad-mix-lang-stderr.txt +++ b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-mix-lang-stderr.txt diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-mix-lang.cmake b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-mix-lang.cmake index e8efa75..e8efa75 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-mix-lang.cmake +++ b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-mix-lang.cmake diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-usage-result.txt b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-usage-result.txt index d00491f..d00491f 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-usage-result.txt +++ b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-usage-result.txt diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-usage-stderr.txt b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-usage-stderr.txt index 469f1fe..d61f789 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-usage-stderr.txt +++ b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-usage-stderr.txt @@ -1,4 +1,4 @@ -CMake Error at genex_LINK_LANGUAGE-bad-usage.cmake:4 \(target_link_libraries\): +CMake Error at bad-usage.cmake:4 \(target_link_libraries\): Error evaluating generator expression: \$<LINK_LANGUAGE> diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-usage.cmake b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-usage.cmake index 81cfb0c..81cfb0c 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-usage.cmake +++ b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/bad-usage.cmake diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE.cmake b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex.cmake index f3fe955..f3fe955 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE.cmake +++ b/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex.cmake diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/RunCMakeTest.cmake b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/RunCMakeTest.cmake index 7cbc922..3b16f9e 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/RunCMakeTest.cmake +++ b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/RunCMakeTest.cmake @@ -11,26 +11,26 @@ endmacro() if (RunCMake_GENERATOR MATCHES "Makefiles|Ninja|Visual Studio|Xcode|Watcom WMake") - run_cmake(genex_LINK_LANG_AND_ID-bad-mix-lang) + run_cmake(bad-mix-lang) set(RunCMake_TEST_OUTPUT_MERGE TRUE) if (NOT RunCMake_GENERATOR_IS_MULTI_CONFIG) set(RunCMake_TEST_OPTIONS -DCMAKE_BUILD_TYPE=Release) endif() - run_cmake(genex_LINK_LANG_AND_ID) - - run_cmake_target(genex_LINK_LANG_AND_ID lib LinkLibraries_lib --config Release) - run_cmake_target(genex_LINK_LANG_AND_ID lib2 LinkLibraries_lib2 --config Release) - run_cmake_target(genex_LINK_LANG_AND_ID lib3 LinkLibraries_lib3 --config Release) - run_cmake_target(genex_LINK_LANG_AND_ID exe LinkLibraries_exe --config Release) - run_cmake_target(genex_LINK_LANG_AND_ID C_import LinkLibraries_C_import --config Release) - run_cmake_target(genex_LINK_LANG_AND_ID CXX_import LinkLibraries_CXX_import --config Release) - run_cmake_target(genex_LINK_LANG_AND_ID C_interface LinkLibraries_C_interface --config Release) - run_cmake_target(genex_LINK_LANG_AND_ID CXX_interface LinkLibraries_CXX_interface --config Release) - run_cmake_target(genex_LINK_LANG_AND_ID C_interface2 LinkLibraries_C_interface2 --config Release) - run_cmake_target(genex_LINK_LANG_AND_ID CXX_interface2 LinkLibraries_CXX_interface2 --config Release) - run_cmake_target(genex_LINK_LANG_AND_ID CXX_static LinkLibraries_CXX_static --config Release) + run_cmake(genex) + + run_cmake_target(genex lib LinkLibraries_lib --config Release) + run_cmake_target(genex lib2 LinkLibraries_lib2 --config Release) + run_cmake_target(genex lib3 LinkLibraries_lib3 --config Release) + run_cmake_target(genex exe LinkLibraries_exe --config Release) + run_cmake_target(genex C_import LinkLibraries_C_import --config Release) + run_cmake_target(genex CXX_import LinkLibraries_CXX_import --config Release) + run_cmake_target(genex C_interface LinkLibraries_C_interface --config Release) + run_cmake_target(genex CXX_interface LinkLibraries_CXX_interface --config Release) + run_cmake_target(genex C_interface2 LinkLibraries_C_interface2 --config Release) + run_cmake_target(genex CXX_interface2 LinkLibraries_CXX_interface2 --config Release) + run_cmake_target(genex CXX_static LinkLibraries_CXX_static --config Release) unset(RunCMake_TEST_OPTIONS) unset(RunCMake_TEST_OUTPUT_MERGE) diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-mix-lang-result.txt b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/bad-mix-lang-result.txt index d00491f..d00491f 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-mix-lang-result.txt +++ b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/bad-mix-lang-result.txt diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-mix-lang-stderr.txt b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/bad-mix-lang-stderr.txt index 2ecdc0c..2ecdc0c 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/genex_LINK_LANGUAGE-bad-mix-lang-stderr.txt +++ b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/bad-mix-lang-stderr.txt diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-bad-mix-lang.cmake b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/bad-mix-lang.cmake index f80010a..f80010a 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-bad-mix-lang.cmake +++ b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/bad-mix-lang.cmake diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-interface-result.txt b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/basic-result.txt index 8d98f9d..8d98f9d 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-interface-result.txt +++ b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/basic-result.txt diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-exe_cxx-result.txt b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/exe_c-result.txt index 8d98f9d..8d98f9d 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-exe_cxx-result.txt +++ b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/exe_c-result.txt diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-exe_c-result.txt b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/exe_cxx-result.txt index 8d98f9d..8d98f9d 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-exe_c-result.txt +++ b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/exe_cxx-result.txt diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID.cmake b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex.cmake index 9feccd0..9feccd0 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID.cmake +++ b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex.cmake diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-basic-result.txt b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/interface-result.txt index 8d98f9d..8d98f9d 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-basic-result.txt +++ b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/interface-result.txt diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-no_language-result.txt b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/no_language-result.txt index 573541a..573541a 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/genex_LINK_LANG_AND_ID-no_language-result.txt +++ b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/no_language-result.txt |