9d5fc75a5bf7910ef7cb92e3617a2f8e49a0aaeb
[ghc.git] / testsuite / tests / llvm / should_run / subsections_via_symbols / all.T
1 if config.os == 'darwin':
2   only_darwin = normal
3 else:
4   only_darwin = skip
5
6 def f( name, opts ):
7   opts.only_ways = ['optllvm', 'llvm', 'debugllvm']
8
9 setTestOpts(f)
10
11 # Note [_ffi_call_unix64]
12 #
13 # Please refer to https://ghc.haskell.org/trac/ghc/ticket/5019
14 # for the subsections_via_symbols.stderr
15
16 test('subsections_via_symbols',
17      [extra_clean(['SubsectionsViaSymbols.hi', 'SubsectionsViaSymbols.o', 'SymbolsViaSections_stub.h', 'subsections_via_symbols', 'SubsectionsViaSymbols.a', 'SymbolsViaSections.hi', 'SymbolsViaSections.o', 'subsections_via_symbols.o']),
18       only_darwin],
19      run_command, ['$MAKE -s --no-print-directory subsections_via_symbols_test'])