all.T 337 Bytes
Newer Older
1
2
setTestOpts(only_compiler_types(['ghc']))

Simon Marlow's avatar
Simon Marlow committed
3
4
5
6
7
if config.have_profiling:
    prof = '--enable-library-profiling'
else:
    prof = ''

8
9
10
11
12
if default_testopts.cleanup != '':
   cleanup = 'CLEANUP=1'
else:
   cleanup = ''

13
test('cabal01',
Ian Lynagh's avatar
Ian Lynagh committed
14
     alone,
15
16
     run_command, 
     ['$MAKE -s --no-print-directory cabal01 PROF=' + prof + ' ' + cleanup])