diff options
author | Reid Barton <rwbarton@gmail.com> | 2017-02-24 21:14:50 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-02-26 17:30:48 -0500 |
commit | 3415bcaa0b1903b5e12dfaadb5b774718e406eab (patch) | |
tree | f87cea33d55f1b196069e213e413019d8e9c6c3a /testsuite/tests/ghci.debugger | |
parent | 98119f5a5224d321a1765f262c8c76dfd1b8ed35 (diff) | |
download | haskell-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/ghci.debugger')
-rw-r--r-- | testsuite/tests/ghci.debugger/scripts/all.T | 92 | ||||
-rw-r--r-- | testsuite/tests/ghci.debugger/scripts/break022/all.T | 2 | ||||
-rw-r--r-- | testsuite/tests/ghci.debugger/scripts/break023/all.T | 2 |
3 files changed, 50 insertions, 46 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/all.T b/testsuite/tests/ghci.debugger/scripts/all.T index ef17450e89..96de3a334b 100644 --- a/testsuite/tests/ghci.debugger/scripts/all.T +++ b/testsuite/tests/ghci.debugger/scripts/all.T @@ -2,53 +2,55 @@ setTestOpts([extra_run_opts('-ignore-dot-ghci'), normalise_slashes]) test('print001', normal, ghci_script, ['print001.script']) -test('print002', normal, ghci_script, ['print002.script']) -test('print003', normal, ghci_script, ['print003.script']) +test('print002', extra_files(['../Test.hs']), ghci_script, ['print002.script']) +test('print003', extra_files(['../Test.hs']), ghci_script, ['print003.script']) test('print004', normal, ghci_script, ['print004.script']) -test('print005', normal, ghci_script, ['print005.script']) -test('print006', normal, ghci_script, ['print006.script']) -test('print007', normal, ghci_script, ['print007.script']) -test('print008', normal, ghci_script, ['print008.script']) +test('print005', extra_files(['../QSort.hs']), ghci_script, ['print005.script']) +test('print006', extra_files(['../Test.hs']), ghci_script, ['print006.script']) +test('print007', extra_files(['../Test.hs']), ghci_script, ['print007.script']) +test('print008', extra_files(['../Test.hs']), ghci_script, ['print008.script']) test('print009', normal, ghci_script, ['print009.script']) -test('print010', normal, ghci_script, ['print010.script']) -test('print011', normal, ghci_script, ['print011.script']) -test('print012', normal, ghci_script, ['print012.script']) -test('print013', normal, ghci_script, ['print013.script']) -test('print014', normal, ghci_script, ['print014.script']) -test('print016', normal, ghci_script, ['print016.script']) -test('print017', normal, ghci_script, ['print017.script']) -test('print018', normal, ghci_script, ['print018.script']) -test('print019', normal, ghci_script, ['print019.script']) -test('print020', normal, ghci_script, ['print020.script']) +test('print010', extra_files(['../Test.hs']), ghci_script, ['print010.script']) +test('print011', extra_files(['../Test.hs']), ghci_script, ['print011.script']) +test('print012', extra_files(['../GADT.hs', '../Test.hs']), ghci_script, ['print012.script']) +test('print013', extra_files(['../GADT.hs']), ghci_script, ['print013.script']) +test('print014', extra_files(['../GADT.hs']), ghci_script, ['print014.script']) +test('print016', extra_files(['../Test.hs']), ghci_script, ['print016.script']) +test('print017', extra_files(['../Test.hs']), ghci_script, ['print017.script']) +test('print018', extra_files(['../Test.hs']), ghci_script, ['print018.script']) +test('print019', extra_files(['../Test.hs']), ghci_script, ['print019.script']) +test('print020', extra_files(['../HappyTest.hs']), ghci_script, ['print020.script']) test('print021', normal, ghci_script, ['print021.script']) test('print022', when(arch('powerpc64'), expect_broken(11262)), ghci_script, ['print022.script']) -test('print023', normal, ghci_script, ['print023.script']) -test('print024', normal, ghci_script, ['print024.script']) +test('print023', extra_files(['../Test.hs']), ghci_script, ['print023.script']) +test('print024', extra_files(['../Test.hs']), ghci_script, ['print024.script']) test('print025', normal, ghci_script, ['print025.script']) test('print026', normal, ghci_script, ['print026.script']) test('print027', normal, ghci_script, ['print027.script']) test('print028', normal, ghci_script, ['print028.script']) test('print029', normal, ghci_script, ['print029.script']) -test('print030', normal, ghci_script, ['print030.script']) +test('print030', extra_files(['print029.hs']), ghci_script, ['print030.script']) test('print031', normal, ghci_script, ['print031.script']) -test('print032', normal, ghci_script, ['print032.script']) +test('print032', extra_files(['print029.hs']), ghci_script, ['print032.script']) test('print033', normal, ghci_script, ['print033.script']) -test('print034', normal, ghci_script, ['print034.script']) -test('print035', normal, ghci_script, ['print035.script']) +test('print034', extra_files(['../GADT.hs', '../Test.hs']), ghci_script, ['print034.script']) +test('print035', extra_files(['../Unboxed.hs']), ghci_script, ['print035.script']) test('print036', expect_broken(9046), ghci_script, ['print036.script']) -test('break001', normal, ghci_script, ['break001.script']) -test('break002', normal, ghci_script, ['break002.script']) -test('break003', normal, ghci_script, ['break003.script']) -test('break005', normal, ghci_script, ['break005.script']) -test('break006', normal, ghci_script, ['break006.script']) -test('break007', [], ghci_script, ['break007.script']) -test('break008', normal, ghci_script, ['break008.script']) -test('break009', combined_output, ghci_script, ['break009.script']) -test('break010', normal, ghci_script, ['break010.script']) +test('break001', extra_files(['../Test2.hs']), ghci_script, ['break001.script']) +test('break002', extra_files(['../Test2.hs']), ghci_script, ['break002.script']) +test('break003', extra_files(['../Test3.hs']), ghci_script, ['break003.script']) +test('break005', extra_files(['../QSort.hs']), ghci_script, ['break005.script']) +test('break006', extra_files(['../Test3.hs']), ghci_script, ['break006.script']) +test('break007', [extra_files(['Break007.hs'])], ghci_script, ['break007.script']) +test('break008', extra_files(['../Test3.hs']), ghci_script, ['break008.script']) +test('break009', [extra_files(['../Test6.hs']), + combined_output], ghci_script, ['break009.script']) +test('break010', extra_files(['../Test6.hs']), ghci_script, ['break010.script']) test('break011', - [combined_output, + [extra_files(['../Test7.hs']), + combined_output, when(msys(), expect_broken(12712))], ghci_script, ['break011.script']) test('break012', normal, ghci_script, ['break012.script']) @@ -56,21 +58,22 @@ test('break013', normal, ghci_script, ['break013.script']) test('break014', normal, ghci_script, ['break014.script']) test('break015', expect_broken(1532), ghci_script, ['break015.script']) test('break016', combined_output, ghci_script, ['break016.script']) -test('break017', combined_output, ghci_script, ['break017.script']) -test('break018', normal, ghci_script, ['break018.script']) -test('break019', normal, ghci_script, ['break019.script']) -test('break020', normal, ghci_script, ['break020.script']) -test('break021', normal, ghci_script, ['break021.script']) +test('break017', [extra_files(['../QSort.hs']), + combined_output], ghci_script, ['break017.script']) +test('break018', extra_files(['../mdo.hs']), ghci_script, ['break018.script']) +test('break019', extra_files(['../Test2.hs']), ghci_script, ['break019.script']) +test('break020', extra_files(['Break020b.hs']), ghci_script, ['break020.script']) +test('break021', extra_files(['Break020b.hs', 'break020.hs']), ghci_script, ['break021.script']) test('break024', combined_output, ghci_script, ['break024.script']) test('break025', normal, ghci_script, ['break025.script']) test('break026', normal, ghci_script, ['break026.script']) -test('break027', normal, ghci_script, ['break027.script']) +test('break027', extra_files(['../QSort.hs']), ghci_script, ['break027.script']) test('break028', normal, ghci_script, ['break028.script']) -test('dynbrk001', normal, ghci_script, ['dynbrk001.script']) -test('dynbrk002', normal, ghci_script, ['dynbrk002.script']) +test('dynbrk001', extra_files(['../QSort.hs']), ghci_script, ['dynbrk001.script']) +test('dynbrk002', extra_files(['../QSort.hs']), ghci_script, ['dynbrk002.script']) test('dynbrk003', normal, ghci_script, ['dynbrk003.script']) -test('dynbrk004', normal, ghci_script, ['dynbrk004.script']) +test('dynbrk004', extra_files(['../mdo.hs']), ghci_script, ['dynbrk004.script']) test('dynbrk005', [extra_files(['TupleN.hs']), expect_broken(1530)], ghci_script, ['dynbrk005.script']) test('dynbrk007', normal, ghci_script, ['dynbrk007.script']) @@ -79,14 +82,15 @@ test('dynbrk009', normal, ghci_script, ['dynbrk009.script']) test('result001', normal, ghci_script, ['result001.script']) -test('listCommand001', combined_output, ghci_script, ['listCommand001.script']) +test('listCommand001', [extra_files(['../Test3.hs']), + combined_output], ghci_script, ['listCommand001.script']) test('listCommand002', normal, ghci_script, ['listCommand002.script']) -test('hist001', normal, ghci_script, ['hist001.script']) +test('hist001', extra_files(['../Test3.hs']), ghci_script, ['hist001.script']) test('T2740', normal, ghci_script, ['T2740.script']) -test('getargs', normal, ghci_script, ['getargs.script']) +test('getargs', extra_files(['../getargs.hs']), ghci_script, ['getargs.script']) test('T7386', normal, ghci_script, ['T7386.script']) test('T8557', normal, ghci_script, ['T8557.script']) test('T12458', normal, ghci_script, ['T12458.script']) diff --git a/testsuite/tests/ghci.debugger/scripts/break022/all.T b/testsuite/tests/ghci.debugger/scripts/break022/all.T index bbecaba442..a4acedea38 100644 --- a/testsuite/tests/ghci.debugger/scripts/break022/all.T +++ b/testsuite/tests/ghci.debugger/scripts/break022/all.T @@ -1,3 +1,3 @@ setTestOpts(extra_run_opts('-ignore-dot-ghci')) -test('break022', [], ghci_script, ['break022.script']) +test('break022', [extra_files(['A1.hs', 'B.hs', 'B.hs-boot', 'C.hs'])], ghci_script, ['break022.script']) diff --git a/testsuite/tests/ghci.debugger/scripts/break023/all.T b/testsuite/tests/ghci.debugger/scripts/break023/all.T index bc6502239d..7a5dd1b3cb 100644 --- a/testsuite/tests/ghci.debugger/scripts/break023/all.T +++ b/testsuite/tests/ghci.debugger/scripts/break023/all.T @@ -1,3 +1,3 @@ setTestOpts(extra_run_opts('-ignore-dot-ghci')) -test('break023', [], ghci_script, ['break023.script']) +test('break023', [extra_files(['A1.hs', 'B.hs', 'B.hs-boot', 'C.hs'])], ghci_script, ['break023.script']) |