[Git][ghc/ghc][wip/junit-fixes] Fix T12674

Ben Gamari gitlab at gitlab.haskell.org
Sun Jun 23 23:37:28 UTC 2019



Ben Gamari pushed to branch wip/junit-fixes at Glasgow Haskell Compiler / GHC


Commits:
1edfb6a1 by Ben Gamari at 2019-06-23T23:37:18Z
Fix T12674

- - - - -


2 changed files:

- + testsuite/tests/driver/T12674/Makefile
- testsuite/tests/driver/T12674/all.T


Changes:

=====================================
testsuite/tests/driver/T12674/Makefile
=====================================
@@ -0,0 +1,11 @@
+TOP=../..
+include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/test.mk
+
+# Uses Makefile to ensure that the testsuite driver doesn't normalize away the ./
+T12674:
+	$(TEST_HC) $(TEST_HC_OPTS) -v0 ./-T12674.hs ././-T12674.c
+
+T12674w:
+	$(TEST_HC) $(TEST_HC_OPTS) -v0 .\\\-T12674.hs .\\\.\\\-T12674.c
+


=====================================
testsuite/tests/driver/T12674/all.T
=====================================
@@ -1,5 +1,4 @@
-test('T12674', [extra_files(['-T12674.hs', '-T12674c.c'])],
-                multi_compile, ['./-T12674.hs', [('././-T12674c.c', '')], '-v0'])
+test('T12674', [extra_files(['-T12674.hs', '-T12674c.c'])], makefile_test, [])
 test('T12674w', [extra_files(['-T12674.hs', '-T12674c.c']),
                 unless(opsys('mingw32'), skip)],
-                multi_compile, ['.\\\-T12674.hs', [('.\\\.\\\-T12674c.c', '')], '-v0'])
+                makefile_test, [])



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/1edfb6a164680b43ac245db58f29248744cdec34

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/1edfb6a164680b43ac245db58f29248744cdec34
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190623/65180511/attachment.html>


More information about the ghc-commits mailing list