[Git][ghc/ghc][wip/T24634-oneshot-bytecode] compile exe in test with core bindings to avoid recompilation of Hello
Torsten Schmits (@torsten.schmits)
gitlab at gitlab.haskell.org
Fri Jul 26 17:44:24 UTC 2024
Torsten Schmits pushed to branch wip/T24634-oneshot-bytecode at Glasgow Haskell Compiler / GHC
Commits:
26e5520d by Torsten Schmits at 2024-07-26T19:44:17+02:00
compile exe in test with core bindings to avoid recompilation of Hello
- - - - -
3 changed files:
- testsuite/tests/bytecode/T24634/Makefile
- testsuite/tests/bytecode/T24634/T24634.stdout
- testsuite/tests/bytecode/T24634/all.T
Changes:
=====================================
testsuite/tests/bytecode/T24634/Makefile
=====================================
@@ -5,5 +5,5 @@ include $(TOP)/mk/test.mk
T24634:
$(TEST_HC) -c -dynamic hello_c.c -o hello_c.o
$(TEST_HC) -c -fbyte-code-and-object-code Hello.hs
- $(TEST_HC) -fprefer-byte-code hello_c.o Main.hs
+ $(TEST_HC) -fbyte-code-and-object-code -fprefer-byte-code hello_c.o Main.hs
./Main
=====================================
testsuite/tests/bytecode/T24634/T24634.stdout
=====================================
@@ -1,3 +1,3 @@
-[2 of 3] Compiling Main ( Main.hs, Main.o )
+[2 of 3] Compiling Main ( Main.hs, Main.o, interpreted )
[3 of 3] Linking Main
42
=====================================
testsuite/tests/bytecode/T24634/all.T
=====================================
@@ -2,7 +2,6 @@ test('T24634',
[extra_files(['hello_c.h', 'hello_c.c', 'Hello.hs', 'Main.hs']),
req_c,
req_th,
- ignore_stderr
],
makefile_test,
[])
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/26e5520db301b01225f36959673af5c9eec24992
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/26e5520db301b01225f36959673af5c9eec24992
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/20240726/22688a60/attachment-0001.html>
More information about the ghc-commits
mailing list