# Required variables
WORKSPACE=${WORKSPACE:-}
-arch=${arch:-}
+platform=${platform:-}
conf=${conf:-}
build=${build:-}
target_board=${target_board:-unix}
export LDFLAGS="-fsanitize=address"
# Set platform variables
-case "$arch" in
+case "$platform" in
*)
export MAKE=make
export TAR=tar
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")
UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning
UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
UNRESOLVED: gdb.base/symbol-without-target_section.exp: list -q main
+UNRESOLVED: gdb.base/symbol-without-target_section.exp: print symbol_without_target_section
UNRESOLVED: gdb.dwarf2/dw2-icc-opaque.exp: ptype p_struct
EOF
FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2
FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload)
FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload)
+FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: start trace experiment
+FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: tfind test frame
FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char
FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double
FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float
UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning
UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
UNRESOLVED: gdb.base/symbol-without-target_section.exp: list -q main
+UNRESOLVED: gdb.base/symbol-without-target_section.exp: print symbol_without_target_section
UNRESOLVED: gdb.dwarf2/dw2-icc-opaque.exp: ptype p_struct
FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
FAIL: gdb.dwarf2/clztest.exp: runto: run to main
FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2
FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload)
FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload)
+FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: start trace experiment
+FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: tfind test frame
FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char
FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double
FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float
FAIL: gdb.trace/pending.exp: ftrace works: (the program exited)
FAIL: gdb.trace/pending.exp: trace installed_in_trace: continue to marker 2
FAIL: gdb.trace/pending.exp: trace installed_in_trace: tfind test frame 0
-FAIL: gdb.trace/tspeed.exp: advance through tracing (the program is no longer running)
-FAIL: gdb.trace/tspeed.exp: advance through tracing (the program is no longer running)
-FAIL: gdb.trace/tspeed.exp: advance to trace begin (the program is no longer running)
-FAIL: gdb.trace/tspeed.exp: advance to trace begin (the program is no longer running)
-FAIL: gdb.trace/tspeed.exp: start trace experiment
-FAIL: gdb.trace/tspeed.exp: start trace experiment
+FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: advance through tracing (the program is no longer running)
+FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: advance to trace begin (the program is no longer running)
+FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: start trace experiment
+FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: advance through tracing (the program is no longer running)
+FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: advance to trace begin (the program is no longer running)
+FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: start trace experiment
FAIL: gdb.trace/unavailable.exp: collect globals: print object off: print derived_partial
FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_partial
FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object off: print derived_partial
UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning
UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
UNRESOLVED: gdb.base/symbol-without-target_section.exp: list -q main
+UNRESOLVED: gdb.base/symbol-without-target_section.exp: print symbol_without_target_section
UNRESOLVED: gdb.dwarf2/dw2-icc-opaque.exp: ptype p_struct
UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach (pass 2), pending signal catch
FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
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.