diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-12-08 16:56:15 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-12-22 14:47:40 -0500 |
commit | 3ed909118126a93f03ef17fed52eaf602b91ae1b (patch) | |
tree | 669ce30095f26b440cab35daf006b102a4c7c48f /testsuite/tests/ghci | |
parent | 09b6cb45505c2c32ddaffcdb930fb3f7873b2cfc (diff) | |
download | haskell-3ed909118126a93f03ef17fed52eaf602b91ae1b.tar.gz |
testsuite: Remove reqlib modifier
The reqlib modifer was supposed to indicate that a test needed a certain
library in order to work. If the library happened to be installed then
the test would run as normal.
However, CI has never run these tests as the packages have not been
installed and we don't want out tests to depend on things which might
get externally broken by updating the compiler.
The new strategy is to run these tests in head.hackage, where the tests
have been cabalised as well as possible. Some tests couldn't be
transferred into the normal style testsuite but it's better than never
running any of the reqlib tests. https://gitlab.haskell.org/ghc/head.hackage/-/merge_requests/169
A few submodules also had reqlib tests and have been updated to remove
it.
Closes #16264 #20032 #17764 #16561
Diffstat (limited to 'testsuite/tests/ghci')
-rwxr-xr-x | testsuite/tests/ghci/scripts/all.T | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/testsuite/tests/ghci/scripts/all.T b/testsuite/tests/ghci/scripts/all.T index abecdcd76e..a5ca6d64d3 100755 --- a/testsuite/tests/ghci/scripts/all.T +++ b/testsuite/tests/ghci/scripts/all.T @@ -30,17 +30,15 @@ test('ghci010', skip, ghci_script, ['ghci010.script']) test('ghci011', normal, ghci_script, ['ghci011.script']) test('ghci012', normal, ghci_script, ['ghci012.script']) test('ghci013', normal, ghci_script, ['ghci013.script']) -test('ghci014', reqlib('QuickCheck'), ghci_script, ['ghci014.script']) # Ignore stderr from ghci015, the output is non-deterministic # (has occasional "thread blocked indefinitely" exceptions), and this # is part of the test. # But don't silence both stderr and stdout, as then the test would trivially # pass when ghci015.hs has errors. -test('ghci015', [reqlib('stm'), ignore_stderr], ghci_script, ['ghci015.script']) +test('ghci015', [ignore_stderr], ghci_script, ['ghci015.script']) test('ghci016', expect_broken(552), ghci_script, ['ghci016.script']) -test('ghci017', [reqlib('haskell98'), extra_run_opts('-hide-package haskell98')], ghci_script, ['ghci017.script']) test('ghci018', normal, ghci_script, ['ghci018.script']) test('ghci019', normal, ghci_script, ['ghci019.script']) test('ghci020', normal, ghci_script, ['ghci020.script']) @@ -137,8 +135,7 @@ test('Defer02', extra_files(['../../typecheck/should_run/Defer01.hs']), ghci_scr test('T5820', normal, ghci_script, ['T5820.script']) test('T5836', normal, ghci_script, ['T5836.script']) test('T5979', - [reqlib('transformers'), - normalise_slashes, + [normalise_slashes, normalise_version("transformers")], ghci_script, ['T5979.script']) test('T5975a', |