add tests from GHC testsuite
[packages/unix.git] / tests / all.T
1 if config.platform == 'i386-unknown-mingw32':
2    conf = skip
3 else:
4    conf = normal
5
6 test('signals001',  conf, compile_and_run, ['-package unix -cpp'])
7 test('signals002',  compose(only_compiler_types(['ghc']), conf),
8         compile_and_run, ['-package unix'])
9 test('fileexist01', conf, compile_and_run, ['-package unix'])
10 test('forkprocess01', compose(only_compiler_types(['ghc']), 
11                       compose(expect_fail_for('threaded2'), conf)),
12         compile_and_run, ['-package unix'])
13
14 if config.platform == 'i386-unknown-freebsd':
15         conf = expect_fail
16
17 test('queryfdoption01', compose(omit_ways(['ghci']), compose(only_compiler_types(['ghc']), conf)),
18         compile_and_run, ['-package unix'])
19 test('getEnvironment01', conf, compile_and_run, ['-package unix'])
20