X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fbinutils-gdb%2Fbuild.sh;h=60e4c58fbdf3d46233e8c34a19e06fc0c213389e;hb=6549901ddee05a04c5b665a788a446e78617236a;hp=3d5c6358ffca09ebdc1c91a67436b81f535d9e91;hpb=04047f448dc286098b43acd90bf55e1e3bdc6e13;p=lttng-ci.git diff --git a/scripts/binutils-gdb/build.sh b/scripts/binutils-gdb/build.sh index 3d5c635..60e4c58 100755 --- a/scripts/binutils-gdb/build.sh +++ b/scripts/binutils-gdb/build.sh @@ -116,7 +116,7 @@ EOF # Required variables WORKSPACE=${WORKSPACE:-} -arch=${arch:-} +platform=${platform:-} conf=${conf:-} build=${build:-} target_board=${target_board:-unix} @@ -136,7 +136,7 @@ export CXXFLAGS="-O2 -fsanitize=address -D_GLIBCXX_DEBUG=1" export LDFLAGS="-fsanitize=address" # Set platform variables -case "$arch" in +case "$platform" in *) export MAKE=make export TAR=tar @@ -173,7 +173,7 @@ case "$conf" in CONF_OPTS+=("--with-system-readline" "--with-system-zlib") # Enable optional features - CONF_OPTS+=("--enable-targets=all" "--with-expat=yes" "--with-python=python3" "--with-guile=guile-2.2" "--enable-libctf") + CONF_OPTS+=("--enable-targets=all" "--with-expat=yes" "--with-python=python3" "--with-guile" "--enable-libctf") CONF_OPTS+=("--enable-build-warnings" "--enable-gdb-build-warnings" "--enable-unit-tests" "--enable-ubsan") @@ -624,6 +624,7 @@ EOF known_failures_file="known-failures-${target_board}" grep --invert-match --fixed-strings --file="$known_failures_file" "${WORKSPACE}/results/gdb.sum" > "${WORKSPACE}/results/gdb.filtered.sum" +grep --extended-regexp --regexp="^(FAIL|XPASS|UNRESOLVED|DUPLICATE):" "${WORKSPACE}/results/gdb.filtered.sum" > "${WORKSPACE}/results/gdb.fail.sum" || true # For informational purposes: check if some known failure lines did not appear # in the gdb.sum.