[Git][ghc/ghc][wip/javascript-backend] Don't run the full testsuite until Hadrian supports it

Sylvain Henry (@hsyl20) gitlab at gitlab.haskell.org
Thu Nov 17 14:54:02 UTC 2022



Sylvain Henry pushed to branch wip/javascript-backend at Glasgow Haskell Compiler / GHC


Commits:
d43595a1 by Sylvain Henry at 2022-11-17T15:57:33+01:00
Don't run the full testsuite until Hadrian supports it

- - - - -


1 changed file:

- .gitlab/ci.sh


Changes:

=====================================
.gitlab/ci.sh
=====================================
@@ -602,13 +602,13 @@ function test_hadrian() {
   if [[ "${CROSS_EMULATOR:-}" == "NOT_SET" ]]; then
     info "Cannot test cross-compiled build without CROSS_EMULATOR being set."
     return
-  elif [ -n "${CROSS_EMULATOR:-}" ]; then
+  elif [ -n "${CROSS_TARGET:-}" ]; then
     local instdir="$TOP/_build/install"
     local test_compiler="$instdir/bin/${cross_prefix}ghc$exe"
     install_bindist _build/bindist/ghc-*/ "$instdir"
     echo 'main = putStrLn "hello world"' > expected
     run "$test_compiler" -package ghc "$TOP/.gitlab/hello.hs" -o hello
-    $CROSS_EMULATOR ./hello > actual
+    ${CROSS_EMULATOR:-} ./hello > actual
     run diff expected actual
   elif [[ -n "${REINSTALL_GHC:-}" ]]; then
     run_hadrian \



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d43595a1d491adeca09bb3dc8327f90d9ce8291e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d43595a1d491adeca09bb3dc8327f90d9ce8291e
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/20221117/a71a6c48/attachment-0001.html>


More information about the ghc-commits mailing list