hadrian tests fail because of assumption of /home/ghc/
Summary
Using hadrian to run the tests on a local machine, a set of tests fail with file not found errors in the python driver.
e.g.
FileNotFoundError: [Errno 2] No such file or directory: '/home/alanz/mysrc/git.haskell.org/ghc/testsuite/tests/generics/GFunctor/GFunctor1.run/Main.hs'
Traceback (most recent call last):
File "/home/alanz/mysrc/git.haskell.org/ghc/testsuite/driver/testlib.py", line 925, in test_common_work
do_test(name, way, func, args, files)
...
If I look at that specific file, I find it has been symlinked as
Main.hs -> /home/ghc/testsuite/tests/generics/GFunctor/Main.hs
Write a brief description of the issue.
Steps to reproduce
./boot
./configure
./hadrian/build.sh -j9 test
Expected behavior
The tests run without a framework error
Environment
- GHC version used: master at 2d2cc76f
Optional:
- Operating System:
- System Architecture: