summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-04-28 15:11:31 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-04-29 04:12:05 -0400
commit0198841877f6f04269d6050892b98b5c3807ce4c (patch)
tree4f15a447a23ca87b09fdbc23c5452d19a1527f74
parent0235ff02285c2265e478b9056e9536f15745f4c9 (diff)
downloadhaskell-0198841877f6f04269d6050892b98b5c3807ce4c.tar.gz
testsuite: Normalise package versions in UnusedPackages test
-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, [''])