Matthew Woehlke 66c70cd9f1 cmake_parse_arguments: Add additional unit tests
Add additional unit tests for some corner cases in argument splitting.
2016-09-28 15:20:42 -04:00

22 lines
320 B
CMake

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)
TEST(asdf "some;list")