blob: 1d5d134173e76de5b033c3a235ec4079f6bd3181 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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,
expect_fail_for(['ghci']) ],
compile_and_run, ['-framework Foundation'])
test('objcpp-hi',
[ skip_if_not_osx,
objcpp_src,
expect_fail_for(['ghci']) ],
compile_and_run, ['-framework Foundation -lc++'])
|