testsuite: Make ghc_built_by_llvm check more precise

Authored by bgamari on Dec 9 2019, 2:32 PM.

Description

testsuite: Make ghc_built_by_llvm check more precise

Previously it would hackily look at the flavour name to determine
whether LLVM was used to build stage2 ghc. However, this didn't work at
all with Hadrian and would miss cases like ARM where we use the LLVM
backend by default.

See Trac #16087 for the motivation for why ghc_built_by_llvm is needed at
all. This should catch one of the ARMv7 failures described in Trac #17555.

Details

Committed
Marge Bot <ben+marge-bot@smart-cactus.org>Dec 17 2019, 6:24 AM
Parents
rGHC7cef0b7d707c: testsuite: Mark T14028 as broken on ARMv7
Branches
Unknown
Tags
Unknown
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC6ea4eb4babf0: testsuite: Make ghc_built_by_llvm check more precise (authored by bgamari).Dec 17 2019, 6:24 AM