File tree Expand file tree Collapse file tree 4 files changed +11
-9
lines changed
Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -188,11 +188,13 @@ version of cabal-install:
188188 defining a library built with GHC 8.0.1 on 64-bit Linux is
189189 ``dist-newstyle/build/x86_64-linux/ghc-8.0.1/p-0.1 ``. When
190190 per-component builds are enabled (any non-Custom package), a
191- subcomponent like an executable or test suite named ``pexe `` will be
191+ subcomponent like an executable or named ``pexe `` will be
192192 stored at
193- ``dist-newstyle/build/x86_64-linux/ghc-8.0.1/p-0.1/c /pexe ``; thus,
193+ ``dist-newstyle/build/x86_64-linux/ghc-8.0.1/p-0.1/x /pexe ``; thus,
194194 the full path of the executable is
195- ``dist-newstyle/build/x86_64-linux/ghc-8.0.1/p-0.1/c/pexe/build/pexe/pexe ``
195+ ``dist-newstyle/build/x86_64-linux/ghc-8.0.1/p-0.1/x/pexe/build/pexe/pexe ``.
196+ If a component is a test suite, `x ` is replaced with `t `, and for benchmarks
197+ with `b ` - so you get paths like `.../t/ptest/... ` and `.../b/pbench/... `
196198 (you can see why we want this to be an implementation detail!)
197199
198200The paths are a bit longer in HEAD but the benefit is that you can
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ CABAL_TESTSUITE_BDIR="${TRAVIS_BUILD_DIR}/dist-newstyle/build/$ARCH/ghc-$GHCVER/
1616CABAL_INSTALL_BDIR=" ${TRAVIS_BUILD_DIR} /dist-newstyle/build/$ARCH /ghc-$GHCVER /cabal-install-${CABAL_VERSION} "
1717CABAL_INSTALL_SETUP=" ${CABAL_INSTALL_BDIR} /setup/setup"
1818SOLVER_BENCHMARKS_BDIR=" ${TRAVIS_BUILD_DIR} /dist-newstyle/build/$ARCH /ghc-$GHCVER /solver-benchmarks-${CABAL_VERSION} "
19- HACKAGE_REPO_TOOL_BDIR=" ${TRAVIS_BUILD_DIR} /dist-newstyle/build/$ARCH /ghc-$GHCVER /hackage-repo-tool-${HACKAGE_REPO_TOOL_VERSION} /c /hackage-repo-tool"
19+ HACKAGE_REPO_TOOL_BDIR=" ${TRAVIS_BUILD_DIR} /dist-newstyle/build/$ARCH /ghc-$GHCVER /hackage-repo-tool-${HACKAGE_REPO_TOOL_VERSION} /x /hackage-repo-tool"
2020
2121# ---------------------------------------------------------------------
2222# Timing / diagnostic output
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ timed ${CABAL_INSTALL_BDIR}/build/cabal/cabal update
179179
180180if [ " x$TEST_SOLVER_BENCHMARKS " = " xYES" ]; then
181181 timed cabal new-build $jobs solver-benchmarks:hackage-benchmark solver-benchmarks:unit-tests
182- timed ${SOLVER_BENCHMARKS_BDIR} /c /unit-tests/build/unit-tests/unit-tests $TEST_OPTIONS
182+ timed ${SOLVER_BENCHMARKS_BDIR} /t /unit-tests/build/unit-tests/unit-tests $TEST_OPTIONS
183183fi
184184
185185unset CABAL_BUILDDIR
Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ cp $TRAVIS_BUILD_DIR/travis/id_rsa .
7070cp $TRAVIS_BUILD_DIR /travis-install.sh .
7171cp $TRAVIS_BUILD_DIR /travis-common.sh .
7272# The binaries to test (statically linked, of course!)
73- cp ${CABAL_BDIR} /c /unit-tests/build/unit-tests/unit-tests Cabal
74- cp ${CABAL_BDIR} /c /check-tests/build/check-tests/check-tests Cabal
75- cp ${CABAL_BDIR} /c /parser-tests/build/parser-tests/parser-tests Cabal
76- cp ${CABAL_BDIR} /c /hackage-tests/build/hackage-tests/hackage-tests Cabal
73+ cp ${CABAL_BDIR} /t /unit-tests/build/unit-tests/unit-tests Cabal
74+ cp ${CABAL_BDIR} /t /check-tests/build/check-tests/check-tests Cabal
75+ cp ${CABAL_BDIR} /t /parser-tests/build/parser-tests/parser-tests Cabal
76+ cp ${CABAL_BDIR} /t /hackage-tests/build/hackage-tests/hackage-tests Cabal
7777if [ " x$CABAL_LIB_ONLY " != " xYES" ]; then
7878 cp ${CABAL_INSTALL_BDIR} /build/cabal/cabal cabal-install
7979fi
You can’t perform that action at this time.
0 commit comments