osx unit tests without specs
This commit is contained in:
parent
35c059b726
commit
c83c39e4ad
@ -96,7 +96,7 @@ matrix:
|
|||||||
os: osx
|
os: osx
|
||||||
- env:
|
- env:
|
||||||
- COMPILER=clang++
|
- COMPILER=clang++
|
||||||
- WITH_UNIT_TESTS=OFF
|
- WITH_UNIT_TESTS=ON
|
||||||
os: osx
|
os: osx
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
@ -40,7 +40,9 @@ foreach(specs_file ${specs_files})
|
|||||||
list(APPEND specsargs "-i${specs_file}")
|
list(APPEND specsargs "-i${specs_file}")
|
||||||
string(REGEX REPLACE "\\.json" "" test_name "${specs_file}")
|
string(REGEX REPLACE "\\.json" "" test_name "${specs_file}")
|
||||||
string(REGEX REPLACE "~" "" test_name "${test_name}")
|
string(REGEX REPLACE "~" "" test_name "${test_name}")
|
||||||
|
if(NOT APPLE)
|
||||||
list(APPEND tests "specs_${test_name}")
|
list(APPEND tests "specs_${test_name}")
|
||||||
|
endif()
|
||||||
endforeach(specs_file)
|
endforeach(specs_file)
|
||||||
|
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
|
@ -97,6 +97,7 @@ MSTCH_TEST(unescaped)
|
|||||||
MSTCH_TEST(whitespace)
|
MSTCH_TEST(whitespace)
|
||||||
MSTCH_TEST(zero_view)
|
MSTCH_TEST(zero_view)
|
||||||
|
|
||||||
|
#infdef __APPLE__
|
||||||
SPECS_TEST(comments)
|
SPECS_TEST(comments)
|
||||||
SPECS_TEST(delimiters)
|
SPECS_TEST(delimiters)
|
||||||
SPECS_TEST(interpolation)
|
SPECS_TEST(interpolation)
|
||||||
@ -104,3 +105,4 @@ SPECS_TEST(inverted)
|
|||||||
SPECS_TEST(partials)
|
SPECS_TEST(partials)
|
||||||
SPECS_TEST(sections)
|
SPECS_TEST(sections)
|
||||||
SPECS_TEST(lambdas)
|
SPECS_TEST(lambdas)
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user