Test cases that involve Setup.hs doesn't work for cross GHCs yet
Some test cases like ImpSafe*
require custom pre_cmd
that compiles and uses a custom Setup.hs
. The current test suite driver still doesn't handle test cases that require both native/cross GHCs yet, and it'll fail as a framework failure:
*** framework failure for ImpSafeOnly01(normal) pre_cmd failed: 2
** pre_cmd was "$MAKE -s --no-print-directory mkPackageDatabase.ImpSafeOnly01 VANILLA=--enable-library-vanilla PROF=--enable-library-profiling DYN=--disable-shared".
stdout:
stderr: gmake: pdb.ImpSafeOnly01/setup: No such file or directory
gmake: *** [Makefile:18: mkPackageDatabase.ImpSafeOnly01] Error 127
I believe this is also the root cause of #22350 (closed).