Hadrian: testing stage1 compiler doesn't work
Summary
Testing stage1 compiler doesn't work.
Steps to reproduce
> # git clone HEAD (6c59cc71dc20f26d5a6650b16a82faeae72f2065)
> ./hadrian/build.stack.sh -c -j test --only=T2324 --test-compiler=stage1 --test-way=normal
...
Error when running Shake build system:
at want, called at src/Main.hs:89:30 in main:Main
* Depends on: test
at need, called at src/Rules/Test.hs:170:9 in main:Rules.Test
* Depends on: _build/stage0/bin/check-ppr
at error, called at src/Rules/Program.hs:42:29 in main:Rules.Program
* Raised the exception:
Unknown program "_build/stage0/bin/check-ppr"
Expected behavior
The test should be run with stage1 compiler (just like it does with stage2).
Environment
- GHC version used: HEAD
- Operating System: linux
- System Architecture: x86-64