blob: 299b0b8a0625f7d2fc27e140dc961919919551be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
setTestOpts(only_compiler_types(['ghc']))
if config.have_profiling:
prof = '--enable-library-profiling'
else:
prof = ''
if default_testopts.cleanup != '':
cleanup = 'CLEANUP=1'
else:
cleanup = ''
test('cabal01',
normal,
run_command,
['$MAKE -s --no-print-directory cabal01 PROF=' + prof + ' ' + cleanup])
|