X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fbinutils-gdb%2Fbuild.sh;h=e96422081d81eccc5dadad6de6fe1f3cdbc0150e;hb=8c956c4b96b713f755e647d8aff2661fd1ab1ed9;hp=c7d42c291e6898492c84347df7c7fd0abce3d7ad;hpb=d05689409fa65cb9c3850117afa4169c79c037d2;p=lttng-ci.git diff --git a/scripts/binutils-gdb/build.sh b/scripts/binutils-gdb/build.sh index c7d42c2..e964220 100755 --- a/scripts/binutils-gdb/build.sh +++ b/scripts/binutils-gdb/build.sh @@ -200,6 +200,8 @@ macos-*) esac # Print build env details +print_header "Build environment details" +print_hardware || true print_os || true print_tooling || true @@ -275,7 +277,7 @@ esac $MAKE -j "$($NPROC)" V=1 MAKEINFO=true # Install in the workspace -$MAKE install DESTDIR="$WORKSPACE" +$MAKE install DESTDIR="$WORKSPACE" MAKEINFO=true case "$platform" in macos-*) @@ -300,7 +302,7 @@ esac $MAKE -C gdb/testsuite site.exp # shellcheck disable=SC2016 echo 'set gdb_test_timeout [expr 5 * $timeout]' >> gdb/testsuite/site.exp -$MAKE -C gdb --keep-going check -j "$($NPROC)" RUNTESTFLAGS="$RUNTESTFLAGS" FORCE_PARALLEL="1" || true +$MAKE -C gdb --keep-going check RUNTESTFLAGS="$RUNTESTFLAGS" || true # Copy the dejagnu test results for archiving before cleaning the build dir mkdir "${WORKSPACE}/results" @@ -950,7 +952,7 @@ grep --extended-regexp --regexp="^(FAIL|XPASS|UNRESOLVED|DUPLICATE|ERROR):" "${W # For informational purposes: check if some known failure lines did not appear # in the gdb.sum. echo "Known failures that don't appear in gdb.sum:" -while read line; do +while read -r line; do if ! grep --silent --fixed-strings "$line" "${WORKSPACE}/results/gdb.sum"; then echo "$line" fi