Sven Tennie pushed to branch wip/supersven/cross-compiler-manual-test-jobs at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • .gitlab/ci.sh
    ... ... @@ -708,6 +708,17 @@ function test_hadrian() {
    708 708
         # ---
    
    709 709
         # > main = putStrLn "hello world"
    
    710 710
         run diff -w expected actual
    
    711
    +
    
    712
    +    if [[ "${CI_MERGE_REQUEST_LABELS:-}" == *"cross-run-testsuite"* ]]; then
    
    713
    +      EXTRA_HC_OPTS="-fexternal-interpreter" run_hadrian \
    
    714
    +        test \
    
    715
    +        --summary-junit=./junit.xml \
    
    716
    +        --test-have-intree-files \
    
    717
    +        --test-compiler="${test_compiler}" \
    
    718
    +        "runtest.opts+=${RUNTEST_ARGS:-}" \
    
    719
    +        "runtest.opts+=--unexpected-output-dir=$TOP/unexpected-test-output" \
    
    720
    +        || fail "hadrian cross full testsuite"
    
    721
    +    fi
    
    711 722
       elif [[ -n "${REINSTALL_GHC:-}" ]]; then
    
    712 723
         run_hadrian \
    
    713 724
           test \