blob: ee229343992031271d86a240382500263e33f899 (
plain)
1
2
3
4
5
6
7
8
9
10
|
def if_not_platform(platforms, f):
if not (config.platform in platforms):
return f
else:
return normal
skip_if_not_osx = if_not_platform(['i386-apple-darwin','x86_64-apple-darwin'], skip)
test('objc-hi', [ skip_if_not_osx, objc_src ],
compile_and_run, ['-framework Foundation'])
|