summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGHC GitLab CI <ghc-ci@gitlab-haskell.org>2021-03-18 10:11:39 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-20 07:48:38 -0400
commitceef490b25dbff93860b121c58b0191b1a0c07bf (patch)
treed7c4f04a9fe979ffd16af51c7c9e01a8657ba273
parentadf937216edbb1fcdb2fd2c90d5fe6fca7c8055d (diff)
downloadhaskell-ceef490b25dbff93860b121c58b0191b1a0c07bf.tar.gz
testsuite: Normalise slashes
In the `comments` and `literals` tests, since they contain file paths.
-rw-r--r--testsuite/tests/ghc-api/annotations-literals/all.T2
-rw-r--r--testsuite/tests/ghc-api/annotations/all.T3
2 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/tests/ghc-api/annotations-literals/all.T b/testsuite/tests/ghc-api/annotations-literals/all.T
index 75284e5a97..88dd593bab 100644
--- a/testsuite/tests/ghc-api/annotations-literals/all.T
+++ b/testsuite/tests/ghc-api/annotations-literals/all.T
@@ -1,2 +1,2 @@
-test('literals', [extra_files(['LiteralsTest.hs'])], makefile_test, ['literals'])
+test('literals', [normalise_slashes, extra_files(['LiteralsTest.hs'])], makefile_test, ['literals'])
test('parsed', [extra_files(['LiteralsTest2.hs'])], makefile_test, ['parsed'])
diff --git a/testsuite/tests/ghc-api/annotations/all.T b/testsuite/tests/ghc-api/annotations/all.T
index 25b3abb4b4..b99afdab4a 100644
--- a/testsuite/tests/ghc-api/annotations/all.T
+++ b/testsuite/tests/ghc-api/annotations/all.T
@@ -1,3 +1,4 @@
-test('comments', [extra_files(['CommentsTest.hs']),
+test('comments', [normalise_slashes,
+ extra_files(['CommentsTest.hs']),
ignore_stderr], makefile_test, ['comments'])
test('InTreeAnnotations1',normal, compile, ['-dsuppress-uniques -ddump-parsed-ast'])