[ovs-dev,v2,python3,1/6] travis: Obtain testsuite logs from the correct directory.
diff mbox series

Message ID 20190918233322.24305-2-blp@ovn.org
State New
Headers show
Series
  • Remove Python 2 support
Related show

Commit Message

Ben Pfaff Sept. 18, 2019, 11:33 p.m. UTC
These days Automake uses _build/sub for its distcheck builds, not
plain _build.  (I don't know whether that is a change from previous
versions.)

Signed-off-by: Ben Pfaff <blp@ovn.org>
---
 .travis/linux-build.sh | 2 +-
 .travis/osx-build.sh   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch
diff mbox series

diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh
index 1577ae51659d..661d5e89ed70 100755
--- a/.travis/linux-build.sh
+++ b/.travis/linux-build.sh
@@ -172,7 +172,7 @@  if [ "$TESTSUITE" ]; then
     export DISTCHECK_CONFIGURE_FLAGS="$OPTS"
     if ! make distcheck TESTSUITEFLAGS=-j4 RECHECK=yes; then
         # testsuite.log is necessary for debugging.
-        cat */_build/tests/testsuite.log
+        cat */_build/sub/tests/testsuite.log
         exit 1
     fi
 else
diff --git a/.travis/osx-build.sh b/.travis/osx-build.sh
index f11d7b9af5d6..909173061a71 100755
--- a/.travis/osx-build.sh
+++ b/.travis/osx-build.sh
@@ -20,7 +20,7 @@  fi
 if [ "$TESTSUITE" ] && [ "$CC" != "clang" ]; then
     if ! make distcheck RECHECK=yes; then
         # testsuite.log is necessary for debugging.
-        cat */_build/tests/testsuite.log
+        cat */_build/sub/tests/testsuite.log
         exit 1
     fi
 fi