tests: remove extra_files.py (#12223)
[ghc.git] / testsuite / tests / cabal / cabal04 / all.T
1 if config.have_vanilla:
2     vanilla = '--enable-library-vanilla'
3 else:
4     vanilla = '--disable-library-vanilla'
5
6 if config.have_profiling:
7     prof = '--enable-library-profiling'
8 else:
9     prof = '--disable-library-profiling'
10
11 if not config.compiler_profiled and config.have_shared_libs:
12     dyn = '--enable-shared'
13 else:
14     dyn = '--disable-shared'
15
16 if config.cleanup:
17    cleanup = 'CLEANUP=1'
18 else:
19    cleanup = 'CLEANUP=0'
20
21 test('cabal04',
22      extra_files(['Library.hs', 'Setup.lhs', 'TH.hs', 'thtest.cabal']),
23      run_command,
24      ['$MAKE -s --no-print-directory cabal04 VANILLA=' + vanilla + ' PROF=' + prof + ' DYN=' + dyn + ' ' + cleanup])