[Git][ghc/ghc][wip/ghc-fat-interface] 2 commits: fix some tests
Matthew Pickering (@mpickering)
gitlab at gitlab.haskell.org
Wed Aug 10 12:12:06 UTC 2022
Matthew Pickering pushed to branch wip/ghc-fat-interface at Glasgow Haskell Compiler / GHC
Commits:
6ef630e1 by Matthew Pickering at 2022-08-10T13:10:11+01:00
fix some tests
- - - - -
2680ed9c by Matthew Pickering at 2022-08-10T13:11:57+01:00
fix more tests
- - - - -
5 changed files:
- testsuite/tests/driver/fat-iface/Makefile
- + testsuite/tests/driver/fat-iface/fat014.script
- testsuite/tests/driver/fat-iface/fat014.stdout
- testsuite/tests/ghci/T16670/Makefile
- testsuite/tests/ghci/scripts/ghci024.stdout
Changes:
=====================================
testsuite/tests/driver/fat-iface/Makefile
=====================================
@@ -50,6 +50,6 @@ fat010: clean
"$(TEST_HC)" $(TEST_HC_OPTS) THC.hs -fhide-source-paths -fwrite-fat-interface -fprefer-bytecode
fat014: clean
- echo ":q" | "$(TEST_HC)" $(TEST_HC_OPTS_INTERACTIVE) -v1 -fno-code FatTH.hs
+ echo ":q" | "$(TEST_HC)" $(TEST_HC_OPTS_INTERACTIVE) -v0 -fno-code < fat014.script
=====================================
testsuite/tests/driver/fat-iface/fat014.script
=====================================
@@ -0,0 +1,2 @@
+:set -v1
+:l FatTH.hs
=====================================
testsuite/tests/driver/fat-iface/fat014.stdout
=====================================
@@ -1,5 +1,3 @@
-GHCi, version 9.5.20220801: https://www.haskell.org/ghc/ :? for help
[1 of 2] Compiling FatQuote ( FatQuote.hs, interpreted )
[2 of 2] Compiling FatTH ( FatTH.hs, interpreted )
Ok, two modules loaded.
-ghci> Leaving GHCi.
=====================================
testsuite/tests/ghci/T16670/Makefile
=====================================
@@ -19,6 +19,6 @@ T16670_th:
$(MAKE) -s --no-print-directory clean
mkdir my-odir
echo ":load T16670_th.hs" | "$(TEST_HC)" $(TEST_HC_OPTS_INTERACTIVE) \
- -v0 -fno-code -fwrite-interface -odir my-odir
+ -v0 -fno-code -fno-prefer-bytecode -fwrite-interface -odir my-odir
find . -name T16670_th.o
test -f my-odir/T16670_th.o
=====================================
testsuite/tests/ghci/scripts/ghci024.stdout
=====================================
@@ -13,6 +13,7 @@ other dynamic, non-language, flag settings:
-fimplicit-import-qualified
-fkeep-going
-fshow-warning-groups
+ -fprefer-bytecode
warning settings:
-Wsemigroup
-Wstar-is-type
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/21d739cb8bdcbe047141a2817303551b71e7ba27...2680ed9cda3637400a45984e19c515f5e1b0ede6
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/21d739cb8bdcbe047141a2817303551b71e7ba27...2680ed9cda3637400a45984e19c515f5e1b0ede6
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/20220810/5218abc9/attachment-0001.html>
More information about the ghc-commits
mailing list