osx unit tests without specs

This commit is contained in:
Daniel Sipka 2015-10-13 11:22:22 +02:00
parent 35c059b726
commit c83c39e4ad
3 changed files with 6 additions and 2 deletions

View file

@ -96,7 +96,7 @@ matrix:
os: osx
- env:
- COMPILER=clang++
- WITH_UNIT_TESTS=OFF
- WITH_UNIT_TESTS=ON
os: osx
before_script:

View file

@ -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}")
if(NOT APPLE)
list(APPEND tests "specs_${test_name}")
endif()
endforeach(specs_file)
add_custom_command(

View file

@ -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