summaryrefslogtreecommitdiff
path: root/libraries/base/tests
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/tests')
-rw-r--r--libraries/base/tests/IO/all.T4
-rw-r--r--libraries/base/tests/all.T15
2 files changed, 12 insertions, 7 deletions
diff --git a/libraries/base/tests/IO/all.T b/libraries/base/tests/IO/all.T
index 5dab48f95d..0de530bc2c 100644
--- a/libraries/base/tests/IO/all.T
+++ b/libraries/base/tests/IO/all.T
@@ -88,7 +88,7 @@ test('hDuplicateTo001', [], compile_and_run, [''])
test('countReaders001', [], compile_and_run, [''])
test('concio001', normal, run_command, ['$MAKE -s --no-print-directory test.concio001'])
-test('concio001.thr', normal, run_command, ['$MAKE -s --no-print-directory test.concio001.thr'])
+test('concio001.thr', extra_files(['concio001.hs']), run_command, ['$MAKE -s --no-print-directory test.concio001.thr'])
test('concio002', reqlib('process'), compile_and_run, [''])
@@ -112,7 +112,7 @@ test('encoding001', [], compile_and_run, [''])
test('encoding002', normal, compile_and_run, [''])
test('encoding003', normal, compile_and_run, [''])
-test('encoding004', normal, compile_and_run, [''])
+test('encoding004', extra_files(['encoded-data/']), compile_and_run, [''])
test('encoding005', normal, compile_and_run, [''])
test('environment001', [], run_command,
diff --git a/libraries/base/tests/all.T b/libraries/base/tests/all.T
index 7125b636f8..13049f751c 100644
--- a/libraries/base/tests/all.T
+++ b/libraries/base/tests/all.T
@@ -79,9 +79,12 @@ test('dynamic004', omit_ways(['normal', 'threaded1', 'ghci']), compile_and_
test('dynamic005', normal, compile_and_run, [''])
enum_setups = [when(fast(), skip)]
-test('enum01', enum_setups, compile_and_run, [''])
-test('enum02', enum_setups, compile_and_run, [''])
-test('enum03', enum_setups, compile_and_run, [''])
+test('enum01', [extra_files(['enum_processor.bat', 'enum_processor.py']),
+ enum_setups], compile_and_run, [''])
+test('enum02', [extra_files(['enum_processor.bat', 'enum_processor.py']),
+ enum_setups], compile_and_run, [''])
+test('enum03', [extra_files(['enum_processor.bat', 'enum_processor.py']),
+ enum_setups], compile_and_run, [''])
test('enum04', normal, compile_and_run, [''])
test('exceptionsrun001', normal, compile_and_run, [''])
@@ -92,10 +95,12 @@ test('list002', when(fast(), skip), compile_and_run, [''])
test('list003', when(fast(), skip), compile_and_run, [''])
test('isSuffixOf', normal, compile_and_run, [''])
-test('memo001', [extra_run_opts('+RTS -A10k -RTS')], multimod_compile_and_run,
+test('memo001', [extra_files(['Memo1.lhs']),
+ extra_run_opts('+RTS -A10k -RTS')], multimod_compile_and_run,
['memo001', ''])
-test('memo002', [extra_run_opts('20')], multimod_compile_and_run,
+test('memo002', [extra_files(['Memo2.lhs']),
+ extra_run_opts('20')], multimod_compile_and_run,
['memo002', ''])
test('stableptr001',