hadrian/testsuite: implement config.cross logic
This commit implements the config.cross field in the testsuite driver. It comes from the "cross compiling" ghc info field for both in-tree/out-of-tree GHC, and is an accurate predicate of whether we're cross-compiling or not (compared to the precense of target emulator), and is useful to implement predicates to assert the precense of internal interpreter (only available on non-cross GHC) for tests that do require it (e.g. plugins). (cherry picked from commit 2956a3f7) (cherry picked from commit 5500e1b3)
Showing
- hadrian/src/Oracles/TestSettings.hs 2 additions, 1 deletionhadrian/src/Oracles/TestSettings.hs
- hadrian/src/Settings/Builders/RunTest.hs 3 additions, 0 deletionshadrian/src/Settings/Builders/RunTest.hs
- testsuite/driver/testglobals.py 3 additions, 0 deletionstestsuite/driver/testglobals.py
- testsuite/ghc-config/ghc-config.hs 1 addition, 0 deletionstestsuite/ghc-config/ghc-config.hs
Please register or sign in to comment