[meson] Don't compile test-{algs,iter,meta} on msvc
This commit is contained in:
parent
3385afacd3
commit
2db8279162
|
@ -401,15 +401,20 @@ foreach name, source : check_programs
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
compiled_tests = {
|
compiled_tests = {
|
||||||
'test-algs': ['test-algs.cc', 'hb-static.cc'],
|
|
||||||
'test-array': 'test-array.cc',
|
'test-array': 'test-array.cc',
|
||||||
'test-iter': ['test-iter.cc', 'hb-static.cc'],
|
|
||||||
'test-meta': ['test-meta.cc', 'hb-static.cc'],
|
|
||||||
'test-number': ['test-number.cc', 'hb-number.cc'],
|
'test-number': ['test-number.cc', 'hb-number.cc'],
|
||||||
'test-ot-tag': 'hb-ot-tag.cc',
|
'test-ot-tag': 'hb-ot-tag.cc',
|
||||||
'test-unicode-ranges': 'test-unicode-ranges.cc',
|
'test-unicode-ranges': 'test-unicode-ranges.cc',
|
||||||
'test-bimap': ['test-bimap.cc', 'hb-static.cc'],
|
'test-bimap': ['test-bimap.cc', 'hb-static.cc'],
|
||||||
}
|
}
|
||||||
|
if cpp.get_id() != 'msvc'
|
||||||
|
# TODO: MSVC doesn't like these, fix them
|
||||||
|
compiled_tests += {
|
||||||
|
'test-algs': ['test-algs.cc', 'hb-static.cc'],
|
||||||
|
'test-iter': ['test-iter.cc', 'hb-static.cc'],
|
||||||
|
'test-meta': ['test-meta.cc', 'hb-static.cc'],
|
||||||
|
}
|
||||||
|
endif
|
||||||
foreach name, source : compiled_tests
|
foreach name, source : compiled_tests
|
||||||
test(name, executable(name, source,
|
test(name, executable(name, source,
|
||||||
include_directories: incconfig,
|
include_directories: incconfig,
|
||||||
|
|
Loading…
Reference in New Issue