Can't run tests with sdist -> bindist -> test
If you want to make source dist, compile it into bindist then run tests with the bindist, it fails.
mk/get-win32-tarballs.sh download all
./boot
./configure "$@"
make sdist
mkdir -p sdist-build-dir
pushd sdist-build-dir
shopt -s extglob
tar xvfJ ../sdistprep/ghc-*+([[:digit:]])-src.tar.xz sdist-build-dir
cd ghc-*
./boot
./configure "$@"
make -j$THREADS
make binary-dist
popd
mkdir -p bdist-test-dir
pushd bdist-test-dir
tar xvfJ ../sdist-build-dir/ghc-*/ghc-*.tar.xz
tar xvfJ ../sdistprep/ghc*testsuite.tar.xz
cd ghc-*
./configure
make test
I do not have the failure error on hand but it had to do with Haddock trying to read its version from .cabal file which was not included in the bindist/sdist. I have communicated this problem to Ben at the time and this ticket is just to track progress.
Trac metadata
Trac field | Value |
---|---|
Version | 8.2.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |