Sven Tennie pushed to branch wip/supersven/cross-testsuite at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • .gitlab/ci.sh
    ... ... @@ -730,11 +730,13 @@ EOF
    730 730
           chmod +x "${iserv_wrapper}"
    
    731 731
           export EXTRA_HC_OPTS="${EXTRA_HC_OPTS:+${EXTRA_HC_OPTS} }-fexternal-interpreter -pgmi ${iserv_wrapper}"
    
    732 732
         fi
    
    733
    +    local cross_arch="${CROSS_TARGET%%-*}"
    
    733 734
         run_hadrian \
    
    734 735
           test \
    
    735 736
           --summary-junit=./junit.xml \
    
    736 737
           --test-have-intree-files \
    
    737 738
           --test-compiler="${test_compiler}" \
    
    739
    +      "runtest.opts+=-e config.arch='${cross_arch}'" \
    
    738 740
           "runtest.opts+=${RUNTEST_ARGS:-}" \
    
    739 741
           "runtest.opts+=--unexpected-output-dir=$TOP/unexpected-test-output" \
    
    740 742
           || fail "hadrian cross-compiled testsuite ($CROSS_TARGET)"