summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/cmake_parse_arguments/Utils.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/cmake_parse_arguments/Utils.cmake')
-rw-r--r--Tests/RunCMake/cmake_parse_arguments/Utils.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/Tests/RunCMake/cmake_parse_arguments/Utils.cmake b/Tests/RunCMake/cmake_parse_arguments/Utils.cmake
new file mode 100644
index 0000000..3bbf115
--- /dev/null
+++ b/Tests/RunCMake/cmake_parse_arguments/Utils.cmake
@@ -0,0 +1,20 @@
+include(${CMAKE_CURRENT_LIST_DIR}/test_utils.cmake)
+
+# test the TEST macro itself
+
+TEST(asdf UNDEFINED)
+
+SET (asdf FALSE)
+TEST(asdf FALSE)
+
+SET (asdf TRUE)
+TEST(asdf TRUE)
+
+SET (asdf TRUE)
+TEST(asdf TRUE)
+
+SET (asdf "some value")
+TEST(asdf "some value")
+
+SET (asdf some list)
+TEST(asdf "some;list")