summaryrefslogtreecommitdiff
path: root/testsuite/tests/generics
diff options
context:
space:
mode:
authorReid Barton <rwbarton@gmail.com>2017-02-24 21:14:50 -0500
committerBen Gamari <ben@smart-cactus.org>2017-02-26 17:30:48 -0500
commit3415bcaa0b1903b5e12dfaadb5b774718e406eab (patch)
treef87cea33d55f1b196069e213e413019d8e9c6c3a /testsuite/tests/generics
parent98119f5a5224d321a1765f262c8c76dfd1b8ed35 (diff)
downloadhaskell-3415bcaa0b1903b5e12dfaadb5b774718e406eab.tar.gz
tests: remove extra_files.py (#12223)
The script I used is included as testsuite/driver/kill_extra_files.py, though at this point it is for mostly historical interest. Some of the tests in libraries/hpc relied on extra_files.py, so this commit includes an update to that submodule. One test in libraries/process also relies on extra_files.py, but we cannot update that submodule so easily, so for now we special-case it in the test driver.
Diffstat (limited to 'testsuite/tests/generics')
-rw-r--r--testsuite/tests/generics/GFunctor/test.T2
-rw-r--r--testsuite/tests/generics/GMap/test.T2
-rw-r--r--testsuite/tests/generics/GShow/test.T2
-rw-r--r--testsuite/tests/generics/Uniplate/test.T2
4 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/generics/GFunctor/test.T b/testsuite/tests/generics/GFunctor/test.T
index b18e2ee67a..5d8e405eee 100644
--- a/testsuite/tests/generics/GFunctor/test.T
+++ b/testsuite/tests/generics/GFunctor/test.T
@@ -1 +1 @@
-test('GFunctor1', [], multimod_compile_and_run, ['Main', ''])
+test('GFunctor1', [extra_files(['GFunctor.hs', 'Main.hs'])], multimod_compile_and_run, ['Main', ''])
diff --git a/testsuite/tests/generics/GMap/test.T b/testsuite/tests/generics/GMap/test.T
index 79536c0e43..4f3683e357 100644
--- a/testsuite/tests/generics/GMap/test.T
+++ b/testsuite/tests/generics/GMap/test.T
@@ -1 +1 @@
-test('GMap1', [], multimod_compile_and_run, ['Main', ''])
+test('GMap1', [extra_files(['GMap.hs', 'Main.hs'])], multimod_compile_and_run, ['Main', ''])
diff --git a/testsuite/tests/generics/GShow/test.T b/testsuite/tests/generics/GShow/test.T
index af1dc279db..d2bc82a3f9 100644
--- a/testsuite/tests/generics/GShow/test.T
+++ b/testsuite/tests/generics/GShow/test.T
@@ -1 +1 @@
-test('GShow1', [], multimod_compile_and_run, ['Main', ''])
+test('GShow1', [extra_files(['GShow.hs', 'Main.hs'])], multimod_compile_and_run, ['Main', ''])
diff --git a/testsuite/tests/generics/Uniplate/test.T b/testsuite/tests/generics/Uniplate/test.T
index 1e99941bd4..6a71d09f81 100644
--- a/testsuite/tests/generics/Uniplate/test.T
+++ b/testsuite/tests/generics/Uniplate/test.T
@@ -1 +1 @@
-test('GUniplate1', [], multimod_compile_and_run, ['Main', ''])
+test('GUniplate1', [extra_files(['GUniplate.hs', 'Main.hs'])], multimod_compile_and_run, ['Main', ''])