summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/list/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorDaniel Franke <franke@edf-online.de>2018-05-11 15:36:49 (GMT)
committerBrad King <brad.king@kitware.com>2018-06-13 18:06:29 (GMT)
commit49a51a61d75741645c824e45abeac215483b297e (patch)
treec2d940fad6ee090299f788495bfc3bb6880fd3de /Tests/RunCMake/list/RunCMakeTest.cmake
parentf31d4ac7d68a1939d22ab7246b51e0ac10842bec (diff)
downloadCMake-49a51a61d75741645c824e45abeac215483b297e.zip
CMake-49a51a61d75741645c824e45abeac215483b297e.tar.gz
CMake-49a51a61d75741645c824e45abeac215483b297e.tar.bz2
list: Add options to control the SORT comparison operation
Diffstat (limited to 'Tests/RunCMake/list/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/list/RunCMakeTest.cmake14
1 files changed, 13 insertions, 1 deletions
diff --git a/Tests/RunCMake/list/RunCMakeTest.cmake b/Tests/RunCMake/list/RunCMakeTest.cmake
index bdc23a4..a8a0b57 100644
--- a/Tests/RunCMake/list/RunCMakeTest.cmake
+++ b/Tests/RunCMake/list/RunCMakeTest.cmake
@@ -20,7 +20,6 @@ run_cmake(JOIN-TooManyArguments)
run_cmake(LENGTH-TooManyArguments)
run_cmake(REMOVE_DUPLICATES-TooManyArguments)
run_cmake(REVERSE-TooManyArguments)
-run_cmake(SORT-TooManyArguments)
run_cmake(SUBLIST-TooManyArguments)
run_cmake(FILTER-NotList)
@@ -84,3 +83,16 @@ run_cmake(TRANSFORM-GENEX_STRIP)
run_cmake(TRANSFORM-APPEND)
run_cmake(TRANSFORM-PREPEND)
run_cmake(TRANSFORM-REPLACE)
+
+# argument tests
+run_cmake(SORT-WrongOption)
+run_cmake(SORT-BadCaseOption)
+run_cmake(SORT-BadCompareOption)
+run_cmake(SORT-BadOrderOption)
+run_cmake(SORT-DuplicateOrderOption)
+run_cmake(SORT-DuplicateCompareOption)
+run_cmake(SORT-DuplicateCaseOption)
+run_cmake(SORT-NoCaseOption)
+
+# Successful tests
+run_cmake(SORT)