osx unit tests without specs
This commit is contained in:
parent
35c059b726
commit
c83c39e4ad
3 changed files with 6 additions and 2 deletions
|
@ -96,7 +96,7 @@ matrix:
|
|||
os: osx
|
||||
- env:
|
||||
- COMPILER=clang++
|
||||
- WITH_UNIT_TESTS=OFF
|
||||
- WITH_UNIT_TESTS=ON
|
||||
os: osx
|
||||
|
||||
before_script:
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue