[GHC] #14412: Can't run tests with sdist -> bindist -> test

#14412: Can't run tests with sdist -> bindist -> test -------------------------------------+------------------------------------- Reporter: Fuuzetsu | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 8.2.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- 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. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14412 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14412: Can't run tests with sdist -> bindist -> test -------------------------------------+------------------------------------- Reporter: Fuuzetsu | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.4.1 Component: Build System | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * milestone: => 8.4.1 Comment: Alright, lacking a better idea I have reverted d9b6015d1942aa176e85bb71f34200bab54e1c9c since it breaks more than it fixes. Unfortunately this means that we still can't test binary distributions, but I'll try to fix this in Hadrian. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14412#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC