summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-04-28 15:11:31 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2022-04-28 15:11:31 +0100
commit824e8442bd64594ccb54c9f602616c6443b7c855 (patch)
treefdc6f28b17c06efdc5daa5711a652177c2947302
parent6be3038254c4d650cec1b2e9ec808bc7cb8a8be1 (diff)
downloadhaskell-wip/bump-bytestring.tar.gz
testsuite: Normalise package versions in UnusedPackages testwip/bump-bytestring
-rw-r--r--testsuite/tests/warnings/should_compile/all.T5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/tests/warnings/should_compile/all.T b/testsuite/tests/warnings/should_compile/all.T
index 3c514245fe..9ec8029fe6 100644
--- a/testsuite/tests/warnings/should_compile/all.T
+++ b/testsuite/tests/warnings/should_compile/all.T
@@ -33,7 +33,10 @@ test('StarBinder', normal, compile, [''])
test('Overflow', expect_broken_for(16543, ['hpc']), compile, [''])
-test('UnusedPackages', normal, multimod_compile,
+test('UnusedPackages', [normalise_version('bytestring')
+ , normalise_version('base')
+ , normalise_version('process')
+ ], multimod_compile,
['UnusedPackages.hs', '-package=bytestring -package=base -package=process -package=ghc -Wunused-packages'])
test('T18402', normal, compile, [''])