Fixes #12504: Double-escape paths used to build call to hsc_line
[ghc.git] / testsuite / tests / hsc2hs / all.T
1
2 test('hsc2hs001',
3      extra_clean(['hsc2hs001.hs', 'hsc2hs001_hsc_make.c']),
4      run_command,
5      ['$MAKE -s --no-print-directory hsc2hs001'])
6
7 test('hsc2hs002',
8      extra_clean(['hsc2hs002.hs', 'hsc2hs002_hsc_make.c']),
9      run_command,
10      ['$MAKE -s --no-print-directory hsc2hs002'])
11
12 test('hsc2hs003',
13      extra_clean(['hsc2hs003.hs', 'hsc2hs003_hsc_make.c']),
14      run_command,
15      ['$MAKE -s --no-print-directory hsc2hs003'])
16
17 test('hsc2hs004',
18      extra_clean(['hsc2hs004.hs', 'hsc2hs004_hsc_make.c']),
19      run_command,
20      ['$MAKE -s --no-print-directory hsc2hs004'])
21
22
23 test('T3837',
24      [extra_clean(['T3837.hs', 'T3837_hsc_make.c'])],
25      run_command,
26      ['$MAKE -s --no-print-directory T3837'])
27
28 test('T4340',
29      [extra_clean(['T4340.hs', 'T4340_hsc_make.c',
30                    'T4340_hsc.c', 'T4340_hsc.h'])],
31      run_command,
32      ['$MAKE -s --no-print-directory T4340'])
33
34 test('T10272',
35      [extra_clean(['T10272.hs', 'T10272_hsc_make.c'])],
36      run_command,
37      ['$MAKE -s --no-print-directory T10272'])
38
39 test('T12504',
40      [extra_clean(['T12504/path/to/T12504.hs']),
41       extra_files(['T12504'])],
42      run_command,
43      ['$MAKE -s --no-print-directory T12504'])