[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
|
||||
|
||||
compiled_tests = {
|
||||
'test-algs': ['test-algs.cc', 'hb-static.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-ot-tag': 'hb-ot-tag.cc',
|
||||
'test-unicode-ranges': 'test-unicode-ranges.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
|
||||
test(name, executable(name, source,
|
||||
include_directories: incconfig,
|
||||
|
|
Loading…
Reference in New Issue