diff --git a/.travis.yml b/.travis.yml index 4cc245f..217b319 100644 --- a/.travis.yml +++ b/.travis.yml @@ -96,7 +96,7 @@ matrix: os: osx - env: - COMPILER=clang++ - - WITH_UNIT_TESTS=OFF + - WITH_UNIT_TESTS=ON os: osx before_script: diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index ec3e45d..02b0d3f 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -40,7 +40,9 @@ foreach(specs_file ${specs_files}) list(APPEND specsargs "-i${specs_file}") string(REGEX REPLACE "\\.json" "" test_name "${specs_file}") string(REGEX REPLACE "~" "" test_name "${test_name}") - list(APPEND tests "specs_${test_name}") + if(NOT APPLE) + list(APPEND tests "specs_${test_name}") + endif() endforeach(specs_file) add_custom_command( diff --git a/test/test_main.cpp b/test/test_main.cpp index c9f52e6..2a95918 100644 --- a/test/test_main.cpp +++ b/test/test_main.cpp @@ -97,6 +97,7 @@ MSTCH_TEST(unescaped) MSTCH_TEST(whitespace) MSTCH_TEST(zero_view) +#infdef __APPLE__ SPECS_TEST(comments) SPECS_TEST(delimiters) SPECS_TEST(interpolation) @@ -104,3 +105,4 @@ SPECS_TEST(inverted) SPECS_TEST(partials) SPECS_TEST(sections) SPECS_TEST(lambdas) +#endif