jjb: binutils-gdb: remove a bunch of DUPLICATEs from expected failures
[lttng-ci.git] / scripts / binutils-gdb / build.sh
CommitLineData
91ba8aa1
MJ
1#!/bin/bash
2#
3# Copyright (C) 2021 Michael Jeanson <mjeanson@efficios.com>
4#
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation, either version 3 of the License, or
8# (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18set -exu
19
20failed_configure() {
21 # Assume we are in the configured build directory
22 echo "#################### BEGIN config.log ####################"
23 cat config.log
24 echo "#################### END config.log ####################"
25 exit 1
26}
27
28sum2junit() {
29 local infile="$1"
30 local outfile="$2"
31
bcd0bdf1
SM
32cat <<EOF > sum2junit.py
33import sys
34from datetime import datetime
35import re
36from xml.etree.ElementTree import ElementTree, Element, SubElement
37
38line_re = re.compile(
39 r"^(PASS|XPASS|FAIL|XFAIL|KFAIL|DUPLICATE|UNTESTED|UNSUPPORTED|UNRESOLVED): (.*?\.exp): (.*)"
40)
41
42pass_count = 0
43fail_count = 0
44skip_count = 0
45error_count = 0
46now = datetime.now().isoformat(timespec="seconds")
47
48testsuites = Element(
49 "testsuites",
50 {
51 "xmlns": "https://raw.githubusercontent.com/windyroad/JUnit-Schema/master/JUnit.xsd"
52 },
53)
54testsuite = SubElement(
55 testsuites,
56 "testsuite",
57 {
58 "name": "GDB",
59 "package": "package",
60 "id": "0",
61 "time": "1",
62 "timestamp": now,
63 "hostname": "hostname",
64 },
65)
66SubElement(testsuite, "properties")
67
68for line in sys.stdin:
69 m = line_re.match(line)
70 if not m:
71 continue
72
73 state, exp_filename, test_name = m.groups()
74
75 testcase_name = "{} - {}".format(exp_filename, test_name)
76
77 testcase = SubElement(
78 testsuite,
79 "testcase",
80 {"name": testcase_name, "classname": "classname", "time": "0"},
81 )
82
83 if state in ("PASS", "XFAIL", "KFAIL"):
84 pass_count += 1
85 elif state in ("FAIL", "XPASS"):
6e30c08a 86 print("{}: {}".format(state, testcase_name), file=sys.stderr)
bcd0bdf1
SM
87 fail_count += 1
88 SubElement(testcase, "failure", {"type": state})
89 elif state in ("UNRESOLVED", "DUPLICATE"):
6e30c08a 90 print("{}: {}".format(state, testcase_name), file=sys.stderr)
bcd0bdf1
SM
91 error_count += 1
92 SubElement(testcase, "error", {"type": state})
93 elif state in ("UNTESTED", "UNSUPPORTED"):
94 skip_count += 1
95 SubElement(testcase, "skipped")
96 else:
97 assert False
98
99testsuite.attrib["tests"] = str(pass_count + fail_count + skip_count)
100testsuite.attrib["failures"] = str(fail_count)
101testsuite.attrib["skipped"] = str(skip_count)
102testsuite.attrib["errors"] = str(error_count)
103
104SubElement(testsuite, "system-out")
105SubElement(testsuite, "system-err")
106
107et = ElementTree(testsuites)
108et.write(sys.stdout, encoding="unicode")
109
110sys.exit(1 if fail_count > 0 or error_count > 0 else 0)
91ba8aa1
MJ
111EOF
112
bcd0bdf1 113 python3 sum2junit.py < "$infile" > "$outfile"
91ba8aa1
MJ
114}
115
116# Required variables
117WORKSPACE=${WORKSPACE:-}
118
119arch=${arch:-}
120conf=${conf:-}
121build=${build:-}
748dd275 122target_board=${target_board:-unix}
91ba8aa1
MJ
123
124
125SRCDIR="$WORKSPACE/src/binutils-gdb"
126TMPDIR="$WORKSPACE/tmp"
127PREFIX="/build"
128
129# Create tmp directory
130rm -rf "$TMPDIR"
131mkdir -p "$TMPDIR"
132
133export TMPDIR
134export CFLAGS="-O2 -fsanitize=address"
135export CXXFLAGS="-O2 -fsanitize=address -D_GLIBCXX_DEBUG=1"
136export LDFLAGS="-fsanitize=address"
137
138# Set platform variables
139case "$arch" in
140*)
141 export MAKE=make
142 export TAR=tar
143 export NPROC=nproc
144 ;;
145esac
146
147# Print build env details
148print_os || true
149print_tooling || true
150
151# Enter the source directory
152cd "$SRCDIR"
153
154# Run bootstrap in the source directory prior to configure
155#./bootstrap
156
157# Get source version from configure script
158#eval "$(grep '^PACKAGE_VERSION=' ./configure)"
159#PACKAGE_VERSION=${PACKAGE_VERSION//\-pre*/}
160
161# Set configure options and environment variables for each build
162# configuration.
163CONF_OPTS=("--prefix=$PREFIX")
164
165case "$conf" in
166*)
167 echo "Standard configuration"
168
169 # Use system tools
170 CONF_OPTS+=("--disable-binutils" "--disable-ld" "--disable-gold" "--disable-gas" "--disable-sim" "--disable-gprof")
171
172 # Use system libs
173 CONF_OPTS+=("--with-system-readline" "--with-system-zlib")
174
175 # Enable optional features
176 CONF_OPTS+=("--enable-targets=all" "--with-expat=yes" "--with-python=python3" "--with-guile=guile-2.2" "--enable-libctf")
177
178 CONF_OPTS+=("--enable-build-warnings" "--enable-gdb-build-warnings" "--enable-unit-tests")
179
180 ;;
181esac
182
183# Build type
184# oot : out-of-tree build
185# dist : build via make dist
186# oot-dist: build via make dist out-of-tree
187# * : normal tree build
188#
189# Make sure to move to the build directory and run configure
190# before continuing.
191case "$build" in
192*)
193 echo "Out of tree build"
194
195 # Create and enter a temporary build directory
196 builddir=$(mktemp -d)
197 cd "$builddir"
198
199 "$SRCDIR/configure" "${CONF_OPTS[@]}" || failed_configure
200 ;;
201esac
202
203# We are now inside a configured build directory
204
205# BUILD!
206$MAKE -j "$($NPROC)" V=1 MAKEINFO=/bin/true
207
208# Install in the workspace
209$MAKE install DESTDIR="$WORKSPACE"
210
748dd275
SM
211case "$target_board" in
212unix | native-gdbserver | native-extended-gdbserver)
213 RUNTESTFLAGS="--target_board=$target_board"
214 ;;
215
216*)
217 echo "Unknown \$target_board value: $target_board"
218 exit 1
219 ;;
220esac
221
bcd0bdf1
SM
222# Run tests, don't fail now, we know that "make check" is going to fail,
223# since some tests don't pass.
748dd275 224$MAKE -C gdb --keep-going check -j "$($NPROC)" RUNTESTFLAGS="$RUNTESTFLAGS" FORCE_PARALLEL="1" || true
91ba8aa1
MJ
225
226# Copy the dejagnu test results for archiving before cleaning the build dir
227mkdir "${WORKSPACE}/results"
f5dbc8e5 228cp gdb/testsuite/gdb.log "${WORKSPACE}/results/"
91ba8aa1 229cp gdb/testsuite/gdb.sum "${WORKSPACE}/results/"
bcd0bdf1 230
748dd275
SM
231# Filter out some known failures. There is one file per target board.
232cat <<'EOF' > known-failures-unix
795db243
SM
233FAIL: gdb.ada/interface.exp: print s
234FAIL: gdb.ada/iwide.exp: print d_access.all
235FAIL: gdb.ada/iwide.exp: print dp_access.all
236FAIL: gdb.ada/iwide.exp: print My_Drawable
237FAIL: gdb.ada/iwide.exp: print s_access.all
238FAIL: gdb.ada/iwide.exp: print sp_access.all
239FAIL: gdb.ada/mi_interface.exp: create ggg1 varobj (unexpected output)
240FAIL: gdb.ada/mi_interface.exp: list ggg1's children (unexpected output)
241FAIL: gdb.ada/tagged_access.exp: ptype c.all
242FAIL: gdb.ada/tagged_access.exp: ptype c.menu_name
243FAIL: gdb.ada/tagged.exp: print obj
244FAIL: gdb.ada/tagged.exp: ptype obj
245FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
246FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
247FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
248FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
249FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
250FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
251FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
252FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
253FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
254FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
255FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
256FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
257FAIL: gdb.base/share-env-with-gdbserver.exp: strange named var: print result of getenv for 'asd ='
eb8ae82a 258FAIL: gdb.base/step-over-syscall.exp: clone: displaced=off: single step over clone
795db243 259FAIL: gdb.cp/no-dmgl-verbose.exp: setting breakpoint at 'f(std::string)'
eb8ae82a 260FAIL: gdb.dwarf2/dw2-inline-param.exp: running to *0x608 in runto
795db243
SM
261FAIL: gdb.gdb/python-interrupts.exp: run until breakpoint at captured_command_loop
262FAIL: gdb.mi/mi-break.exp: mi-mode=main: test_explicit_breakpoints: -break-insert -c "foo == 3" --source basics.c --function main --label label (unexpected output)
263FAIL: gdb.mi/mi-break.exp: mi-mode=main: test_explicit_breakpoints: -break-insert --source basics.c --function foobar (unexpected output)
264FAIL: gdb.mi/mi-break.exp: mi-mode=main: test_explicit_breakpoints: -break-insert --source basics.c --function main --label foobar (unexpected output)
265FAIL: gdb.mi/mi-break.exp: mi-mode=main: test_explicit_breakpoints: -break-insert --source basics.c (unexpected output)
266FAIL: gdb.mi/mi-break.exp: mi-mode=separate: test_explicit_breakpoints: -break-insert -c "foo == 3" --source basics.c --function main --label label (unexpected output)
267FAIL: gdb.mi/mi-break.exp: mi-mode=separate: test_explicit_breakpoints: -break-insert --source basics.c --function foobar (unexpected output)
268FAIL: gdb.mi/mi-break.exp: mi-mode=separate: test_explicit_breakpoints: -break-insert --source basics.c --function main --label foobar (unexpected output)
269FAIL: gdb.mi/mi-break.exp: mi-mode=separate: test_explicit_breakpoints: -break-insert --source basics.c (unexpected output)
270FAIL: gdb.mi/mi-breakpoint-changed.exp: test_auto_disable: -break-enable count 1 2 (unexpected output)
271FAIL: gdb.mi/mi-breakpoint-changed.exp: test_auto_disable: -break-insert -f pendfunc1 (unexpected output)
eb8ae82a 272FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=host: target-non-stop=on: non-stop=on: displaced=off: iter 3: attach (GDB internal error)
795db243
SM
273UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning
274UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
275UNRESOLVED: gdb.base/symbol-without-target_section.exp: list -q main
276UNRESOLVED: gdb.dwarf2/dw2-icc-opaque.exp: ptype p_struct
eb8ae82a
SM
277UNRESOLVED: gdb.opencl/vec_comps.exp: OpenCL support not detected
278UNRESOLVED: gdb.threads/attach-many-short-lived-threads.exp: iter 8: detach
795db243
SM
279EOF
280
748dd275 281cat <<'EOF' > known-failures-native-gdbserver
748dd275
SM
282DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: awatch global
283DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: continue
284DUPLICATE: gdb.base/cond-eval-mode.exp: break: break foo
285DUPLICATE: gdb.base/cond-eval-mode.exp: break: continue
286DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: continue
287DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: hbreak foo
288DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: continue
289DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: rwatch global
290DUPLICATE: gdb.base/cond-eval-mode.exp: watch: continue
291DUPLICATE: gdb.base/cond-eval-mode.exp: watch: watch global
748dd275
SM
292DUPLICATE: gdb.trace/circ.exp: check whether setting trace buffer size is supported
293DUPLICATE: gdb.trace/ftrace-lock.exp: successfully compiled posix threads test case
294DUPLICATE: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified
295DUPLICATE: gdb.trace/signal.exp: get integer valueof "counter"
296DUPLICATE: gdb.trace/status-stop.exp: buffer_full_tstart: tstart
297DUPLICATE: gdb.trace/status-stop.exp: tstart_tstop_tstart: tstart
298DUPLICATE: gdb.trace/tfind.exp: 8.17: tfind none
299DUPLICATE: gdb.trace/trace-buffer-size.exp: set tracepoint at test_function
300DUPLICATE: gdb.trace/trace-buffer-size.exp: tstart
301DUPLICATE: gdb.trace/trace-mt.exp: successfully compiled posix threads test case
302FAIL: gdb.ada/interface.exp: print s
303FAIL: gdb.ada/iwide.exp: print d_access.all
304FAIL: gdb.ada/iwide.exp: print dp_access.all
305FAIL: gdb.ada/iwide.exp: print My_Drawable
306FAIL: gdb.ada/iwide.exp: print s_access.all
307FAIL: gdb.ada/iwide.exp: print sp_access.all
308FAIL: gdb.ada/mi_interface.exp: create ggg1 varobj (unexpected output)
309FAIL: gdb.ada/mi_interface.exp: list ggg1's children (unexpected output)
310FAIL: gdb.ada/tagged_access.exp: ptype c.all
311FAIL: gdb.ada/tagged_access.exp: ptype c.menu_name
312FAIL: gdb.ada/tagged.exp: print obj
313FAIL: gdb.ada/tagged.exp: ptype obj
314FAIL: gdb.ada/task_switch_in_core.exp: save a corefile (timeout)
315FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
316FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
317FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
318FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
319FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
320FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
321FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
322FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
323FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
324FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
325FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
326FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
327FAIL: gdb.base/compare-sections.exp: after reload: compare-sections
328FAIL: gdb.base/compare-sections.exp: after reload: compare-sections -r
329FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections
330FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections -r
331FAIL: gdb.base/compare-sections.exp: compare-sections .text
332FAIL: gdb.base/compare-sections.exp: read-only: compare-sections -r
333FAIL: gdb.base/interrupt-daemon.exp: bg: continue& (timeout)
334FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt cmd stops process (timeout)
335FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt (timeout)
336FAIL: gdb.base/interrupt-daemon.exp: fg: ctrl-c stops process (timeout)
337FAIL: gdb.cp/no-dmgl-verbose.exp: setting breakpoint at 'f(std::string)'
338FAIL: gdb.threads/forking-threads-plus-breakpoint.exp: cond_bp_target=0: detach_on_fork=on: displaced=off: inferior 1 exited (timeout)
339FAIL: gdb.threads/interrupted-hand-call.exp: continue until exit
340FAIL: gdb.threads/multiple-successive-infcall.exp: thread=3: created new thread
341FAIL: gdb.threads/multiple-successive-infcall.exp: thread=4: created new thread
342FAIL: gdb.threads/multiple-successive-infcall.exp: thread=5: created new thread
343FAIL: gdb.threads/non-ldr-exit.exp: program exits normally (timeout)
344FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
345FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:hw: continue (timeout)
346FAIL: gdb.threads/thread-specific-bp.exp: all-stop: continue to end (timeout)
347FAIL: gdb.threads/thread-specific-bp.exp: non-stop: continue to end (timeout)
348FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_asm_test
349FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_c_test
350FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_recursion_test 0
351FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 2
352FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 3
353FAIL: gdb.trace/change-loc.exp: 1 trace: tfind frame 0
354FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - installed (unload)
355FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - pending (unload)
356FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 1 (the program is no longer running)
357FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 2 (the program is no longer running)
358FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 3 (the program is no longer running)
359FAIL: gdb.trace/change-loc.exp: 2 ftrace: run to main (the program exited)
360FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 0
361FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 1
362FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 2
363FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with three locations
364FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - installed (unload)
365FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - pending (unload)
366FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstart
367FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstop
368FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 2
369FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 3
370FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2
371FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload)
372FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload)
373FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char
374FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double
375FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float
376FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local int
377FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member char
378FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member double
379FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member float
380FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member int
381FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #0
382FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #1
383FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #2
384FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #3
385FAIL: gdb.trace/collection.exp: collect register locals collectively: start trace experiment
386FAIL: gdb.trace/collection.exp: collect register locals collectively: tfind test frame
387FAIL: gdb.trace/collection.exp: collect register locals individually: collected local char
388FAIL: gdb.trace/collection.exp: collect register locals individually: collected local double
389FAIL: gdb.trace/collection.exp: collect register locals individually: collected local float
390FAIL: gdb.trace/collection.exp: collect register locals individually: collected local int
391FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member char
392FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member double
393FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member float
394FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member int
395FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #0
396FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #1
397FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #2
398FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #3
399FAIL: gdb.trace/collection.exp: collect register locals individually: define actions
400FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (unexpected output)
401FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected --var-print-values 2 --comp-print-values --simple-values --registers-format x --memory-contents (unexpected output)
402FAIL: gdb.trace/pending.exp: ftrace resolved: (the program exited)
403FAIL: gdb.trace/pending.exp: ftrace works: continue to marker (the program is no longer running)
404FAIL: gdb.trace/pending.exp: ftrace works: start trace experiment
405FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 0
406FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 1
407FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 2
408FAIL: gdb.trace/pending.exp: ftrace works: (the program exited)
409FAIL: gdb.trace/pending.exp: trace installed_in_trace: continue to marker 2
410FAIL: gdb.trace/pending.exp: trace installed_in_trace: tfind test frame 0
411FAIL: gdb.trace/unavailable.exp: collect globals: print object off: print derived_partial
412FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_partial
413FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object off: print derived_partial
414FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object on: print derived_partial
415FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: info locals
416FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: tfile: info locals
417FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: info locals
418FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locd
419FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locf
420FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: info locals
421FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locd
422FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locf
423FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: info locals
424FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: tfile: info locals
425UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning
426UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
427UNRESOLVED: gdb.base/symbol-without-target_section.exp: list -q main
428UNRESOLVED: gdb.dwarf2/dw2-icc-opaque.exp: ptype p_struct
429FAIL: gdb.arch/ftrace-insn-reloc.exp: running to main in runto
430FAIL: gdb.dwarf2/clztest.exp: running to main in runto
431FAIL: gdb.dwarf2/dw2-inline-param.exp: running to *0x608 in runto
432FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=1: running to all_started in runto
433FAIL: gdb.multi/multi-re-run.exp: re_run_inf=2: iter=1: running to all_started in runto
434KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
435FAIL: gdb.trace/change-loc.exp: 1 ftrace: running to main in runto
436FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: running to main in runto
437FAIL: gdb.trace/ftrace-lock.exp: running to main in runto
438FAIL: gdb.trace/ftrace.exp: running to main in runto
439FAIL: gdb.trace/pending.exp: ftrace action_resolved: running to main in runto
440FAIL: gdb.trace/pending.exp: ftrace disconn: running to main in runto
441FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: running to main in runto
442FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: running to main in runto
443FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: running to main in runto
444FAIL: gdb.trace/range-stepping.exp: running to main in runto
445FAIL: gdb.trace/trace-break.exp: running to main in runto
446FAIL: gdb.trace/trace-condition.exp: running to main in runto
447FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: running to main in runto
448FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: running to main in runto
449FAIL: gdb.trace/trace-mt.exp: running to main in runto
450FAIL: gdb.trace/tspeed.exp: running to main in runto
451EOF
452
453cat <<'EOF' > known-failures-native-extended-gdbserver
748dd275
SM
454DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: awatch global
455DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: continue
456DUPLICATE: gdb.base/cond-eval-mode.exp: break: break foo
457DUPLICATE: gdb.base/cond-eval-mode.exp: break: continue
458DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: continue
459DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: hbreak foo
460DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: continue
461DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: rwatch global
462DUPLICATE: gdb.base/cond-eval-mode.exp: watch: continue
463DUPLICATE: gdb.base/cond-eval-mode.exp: watch: watch global
748dd275
SM
464FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=2: continue until exit
465FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=2: print re_run_var_1
466FAIL: gdb.multi/multi-re-run.exp: re_run_inf=2: iter=2: continue until exit
467FAIL: gdb.multi/multi-re-run.exp: re_run_inf=2: iter=2: print re_run_var_2
468DUPLICATE: gdb.threads/attach-into-signal.exp: threaded: thread apply 2 print $_siginfo.si_signo
469DUPLICATE: gdb.trace/circ.exp: check whether setting trace buffer size is supported
470DUPLICATE: gdb.trace/ftrace-lock.exp: successfully compiled posix threads test case
471DUPLICATE: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified
472DUPLICATE: gdb.trace/signal.exp: get integer valueof "counter"
473DUPLICATE: gdb.trace/status-stop.exp: buffer_full_tstart: tstart
474DUPLICATE: gdb.trace/status-stop.exp: tstart_tstop_tstart: tstart
475DUPLICATE: gdb.trace/tfind.exp: 8.17: tfind none
476DUPLICATE: gdb.trace/trace-buffer-size.exp: set tracepoint at test_function
477DUPLICATE: gdb.trace/trace-buffer-size.exp: tstart
478DUPLICATE: gdb.trace/trace-mt.exp: successfully compiled posix threads test case
479DUPLICATE: gdb.trace/tspeed.exp: advance through tracing (the program is no longer running)
480DUPLICATE: gdb.trace/tspeed.exp: advance to trace begin (the program is no longer running)
481DUPLICATE: gdb.trace/tspeed.exp: check on trace status
482DUPLICATE: gdb.trace/tspeed.exp: print iters = init_iters
483DUPLICATE: gdb.trace/tspeed.exp: start trace experiment
484FAIL: gdb.ada/interface.exp: print s
485FAIL: gdb.ada/iwide.exp: print d_access.all
486FAIL: gdb.ada/iwide.exp: print dp_access.all
487FAIL: gdb.ada/iwide.exp: print My_Drawable
488FAIL: gdb.ada/iwide.exp: print s_access.all
489FAIL: gdb.ada/iwide.exp: print sp_access.all
490FAIL: gdb.ada/mi_interface.exp: create ggg1 varobj (unexpected output)
491FAIL: gdb.ada/mi_interface.exp: list ggg1's children (unexpected output)
492FAIL: gdb.ada/tagged_access.exp: ptype c.all
493FAIL: gdb.ada/tagged_access.exp: ptype c.menu_name
494FAIL: gdb.ada/tagged.exp: print obj
495FAIL: gdb.ada/tagged.exp: ptype obj
496FAIL: gdb.base/a2-run.exp: run "a2-run" with shell (timeout)
497FAIL: gdb.base/attach.exp: do_command_attach_tests: starting with --pid
498FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=IN: binprelink=NO: binsepdebug=NO: binpie=NO: INNER: symbol-less: entry point reached (the program is no longer running)
499FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=IN: binprelink=NO: binsepdebug=NO: binpie=NO: INNER: symbol-less: reach-(_dl_debug_state|dl_main)-3: reach
500FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=IN: binprelink=NO: binsepdebug=NO: binpie=YES: INNER: symbol-less: entry point reached (the program is no longer running)
501FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=IN: binprelink=NO: binsepdebug=NO: binpie=YES: INNER: symbol-less: reach-(_dl_debug_state|dl_main)-3: reach
502FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=IN: binprelink=NO: binsepdebug=NO: binpie=YES: INNER: symbol-less: reach-(_dl_debug_state|dl_main)-3: seen displacement message as NONZERO
503FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: binprelink=NO: binsepdebug=NO: binpie=NO: INNER: symbol-less: entry point reached (the program is no longer running)
504FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: binprelink=NO: binsepdebug=NO: binpie=NO: INNER: symbol-less: reach-(_dl_debug_state|dl_main)-3: reach
505FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: binprelink=NO: binsepdebug=NO: binpie=YES: INNER: symbol-less: entry point reached (the program is no longer running)
506FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: binprelink=NO: binsepdebug=NO: binpie=YES: INNER: symbol-less: reach-(_dl_debug_state|dl_main)-3: reach
507FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: binprelink=NO: binsepdebug=NO: binpie=YES: INNER: symbol-less: reach-(_dl_debug_state|dl_main)-3: seen displacement message as NONZERO
508FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: symbol-less: ld.so exit
509FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: symbol-less: seen displacement message as NONZERO
510FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
511FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
512FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
513FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
514FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
515FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
516FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
517FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
518FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
519FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
520FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
521FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
522FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections
523FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections -r
524FAIL: gdb.base/compare-sections.exp: read-only: compare-sections -r
525FAIL: gdb.base/gdbinit-history.exp: GDBHISTFILE is empty: show commands
526FAIL: gdb.base/gdbinit-history.exp: load default history file: show commands
527FAIL: gdb.base/gdbinit-history.exp: load GDBHISTFILE history file: show commands
528FAIL: gdb.base/interrupt-daemon.exp: bg: continue& (timeout)
529FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt cmd stops process (timeout)
530FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt (timeout)
531FAIL: gdb.base/interrupt-daemon.exp: fg: ctrl-c stops process (timeout)
532FAIL: gdb.base/share-env-with-gdbserver.exp: strange named var: print result of getenv for 'asd ='
533FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = $TEST: testing first argument
534FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = *.unique-extension: first argument expanded
535FAIL: gdb.base/with.exp: repeat: reinvoke with no previous command to relaunch
536FAIL: gdb.cp/annota2.exp: annotate-quit
537FAIL: gdb.cp/annota2.exp: break at main (got interactive prompt)
538FAIL: gdb.cp/annota2.exp: continue until exit (timeout)
539FAIL: gdb.cp/annota2.exp: delete bps
540FAIL: gdb.cp/annota2.exp: set watch on a.x (timeout)
541FAIL: gdb.cp/annota2.exp: watch triggered on a.x (timeout)
542FAIL: gdb.cp/annota3.exp: continue to exit (pattern 4)
543FAIL: gdb.cp/no-dmgl-verbose.exp: setting breakpoint at 'f(std::string)'
544FAIL: gdb.gdb/unittest.exp: executable loaded: maintenance selftest, failed none
545FAIL: gdb.gdb/unittest.exp: no executable loaded: maintenance selftest, failed none
546FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=0: breakpoint hit reported on console (timeout)
547FAIL: gdb.mi/mi-pending.exp: MI pending breakpoint on mi-pendshr.c:pendfunc2 if x==4 (unexpected output)
548FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=2: continue until exit
549FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=2: print re_run_var_1
550FAIL: gdb.python/py-events.exp: get current thread
551FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=delete: connection to GDBserver succeeded
552FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=permission: connection to GDBserver succeeded
553FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=delete: connection to GDBserver succeeded
554FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=permission: connection to GDBserver succeeded
555FAIL: gdb.threads/attach-into-signal.exp: threaded: thread apply 2 print $_siginfo.si_signo
556FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=host: target-non-stop=off: non-stop=off: displaced=off: iter 1: all threads running (GDB internal error)
557FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 1: stop with SIGUSR1 (timeout)
558FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 2: all threads running
559FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 2: stop with SIGUSR1 (timeout)
560FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 3: all threads running
561FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 3: attach (got interactive prompt)
562FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 3: stop with SIGUSR1 (timeout)
563FAIL: gdb.threads/forking-threads-plus-breakpoint.exp: cond_bp_target=0: detach_on_fork=on: displaced=off: inferior 1 exited (timeout)
564FAIL: gdb.threads/multiple-successive-infcall.exp: thread=3: created new thread
565FAIL: gdb.threads/multiple-successive-infcall.exp: thread=4: created new thread
566FAIL: gdb.threads/multiple-successive-infcall.exp: thread=5: created new thread
567FAIL: gdb.threads/non-ldr-exit.exp: program exits normally (timeout)
568FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
569FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:hw: continue (timeout)
570FAIL: gdb.threads/thread-specific-bp.exp: all-stop: continue to end (timeout)
571FAIL: gdb.threads/tls.exp: print a_thread_local
572FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_asm_test
573FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_c_test
574FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_recursion_test 0
575FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 2
576FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 3
577FAIL: gdb.trace/change-loc.exp: 1 trace: tfind frame 0
578FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - installed (unload)
579FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - pending (unload)
580FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 1 (the program is no longer running)
581FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 2 (the program is no longer running)
582FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 3 (the program is no longer running)
583FAIL: gdb.trace/change-loc.exp: 2 ftrace: run to main (the program exited)
584FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 0
585FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 1
586FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 2
587FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with three locations
588FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - installed (unload)
589FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - pending (unload)
590FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstart
591FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstop
592FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 2
593FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 3
594FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2
595FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload)
596FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload)
597FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char
598FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double
599FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float
600FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local int
601FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member char
602FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member double
603FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member float
604FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member int
605FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #0
606FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #1
607FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #2
608FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #3
609FAIL: gdb.trace/collection.exp: collect register locals collectively: start trace experiment
610FAIL: gdb.trace/collection.exp: collect register locals collectively: tfind test frame
611FAIL: gdb.trace/collection.exp: collect register locals individually: collected local char
612FAIL: gdb.trace/collection.exp: collect register locals individually: collected local double
613FAIL: gdb.trace/collection.exp: collect register locals individually: collected local float
614FAIL: gdb.trace/collection.exp: collect register locals individually: collected local int
615FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member char
616FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member double
617FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member float
618FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member int
619FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #0
620FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #1
621FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #2
622FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #3
623FAIL: gdb.trace/collection.exp: collect register locals individually: define actions
624FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (unexpected output)
625FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected --var-print-values 2 --comp-print-values --simple-values --registers-format x --memory-contents (unexpected output)
626FAIL: gdb.trace/pending.exp: ftrace resolved: (the program exited)
627FAIL: gdb.trace/pending.exp: ftrace works: continue to marker (the program is no longer running)
628FAIL: gdb.trace/pending.exp: ftrace works: start trace experiment
629FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 0
630FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 1
631FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 2
632FAIL: gdb.trace/pending.exp: ftrace works: (the program exited)
633FAIL: gdb.trace/pending.exp: trace installed_in_trace: continue to marker 2
634FAIL: gdb.trace/pending.exp: trace installed_in_trace: tfind test frame 0
635FAIL: gdb.trace/tspeed.exp: advance through tracing (the program is no longer running)
636FAIL: gdb.trace/tspeed.exp: advance through tracing (the program is no longer running)
637FAIL: gdb.trace/tspeed.exp: advance to trace begin (the program is no longer running)
638FAIL: gdb.trace/tspeed.exp: advance to trace begin (the program is no longer running)
639FAIL: gdb.trace/tspeed.exp: start trace experiment
640FAIL: gdb.trace/tspeed.exp: start trace experiment
641FAIL: gdb.trace/unavailable.exp: collect globals: print object off: print derived_partial
642FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_partial
643FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object off: print derived_partial
644FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object on: print derived_partial
645FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: info locals
646FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: tfile: info locals
647FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: info locals
648FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locd
649FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locf
650FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: info locals
651FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locd
652FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locf
653FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: info locals
654FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: tfile: info locals
655UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning
656UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
657UNRESOLVED: gdb.base/symbol-without-target_section.exp: list -q main
658UNRESOLVED: gdb.dwarf2/dw2-icc-opaque.exp: ptype p_struct
659UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=main: force-fail=1: run failure detected (eof)
660UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=separate: force-fail=1: run failure detected (eof)
661UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=main: force-fail=1: run failure detected (eof)
662UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=1: run failure detected (eof)
663UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach (pass 2), pending signal catch
664FAIL: gdb.arch/ftrace-insn-reloc.exp: running to main in runto
665FAIL: gdb.dwarf2/dw2-inline-param.exp: running to *0x608 in runto
666FAIL: gdb.multi/remove-inferiors.exp: running to main in runto
667FAIL: gdb.threads/access-mem-running-thread-exit.exp: non-stop: second inferior: running to main in runto
668FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted off: non-stop: running to main in runto
669FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted on: non-stop: running to main in runto
670FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted off: non-stop: running to main in runto
671FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted on: non-stop: running to main in runto
672FAIL: gdb.threads/gcore-stale-thread.exp: running to main in runto
673FAIL: gdb.threads/multi-create-ns-info-thr.exp: running to main in runto
674FAIL: gdb.threads/non-stop-fair-events.exp: running to main in runto
675KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
676FAIL: gdb.threads/thread-execl.exp: non-stop: running to main in runto
677FAIL: gdb.threads/thread-specific-bp.exp: non-stop: running to main in runto
678FAIL: gdb.trace/change-loc.exp: 1 ftrace: running to main in runto
679FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: running to main in runto
680FAIL: gdb.trace/ftrace-lock.exp: running to main in runto
681FAIL: gdb.trace/ftrace.exp: running to main in runto
682FAIL: gdb.trace/pending.exp: ftrace action_resolved: running to main in runto
683FAIL: gdb.trace/pending.exp: ftrace disconn: running to main in runto
684FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: running to main in runto
685FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: running to main in runto
686FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: running to main in runto
687FAIL: gdb.trace/range-stepping.exp: running to main in runto
688FAIL: gdb.trace/trace-break.exp: running to main in runto
689FAIL: gdb.trace/trace-condition.exp: running to main in runto
690FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: running to main in runto
691FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: running to main in runto
692FAIL: gdb.trace/trace-mt.exp: running to main in runto
693FAIL: gdb.trace/tspeed.exp: running to main in runto
694FAIL: gdb.trace/tspeed.exp: running to main in runto
695DUPLICATE: gdb.trace/tspeed.exp: running to main in runto
696EOF
697
698known_failures_file="known-failures-${target_board}"
699grep --invert-match --fixed-strings --file="$known_failures_file" "${WORKSPACE}/results/gdb.sum" > "${WORKSPACE}/results/gdb.filtered.sum"
795db243 700
f204fdf1
SM
701# For informational purposes: check if some known failure lines did not appear
702# in the gdb.sum.
703echo "Known failures that don't appear in gdb.sum:"
704while read line; do
705 if ! grep --silent --fixed-strings "$line" "${WORKSPACE}/results/gdb.sum"; then
706 echo "$line"
707 fi
708done < "$known_failures_file"
709
bcd0bdf1
SM
710# Convert results to JUnit format.
711failed_tests=0
795db243 712sum2junit "${WORKSPACE}/results/gdb.filtered.sum" "${WORKSPACE}/results/gdb.xml" || failed_tests=1
91ba8aa1
MJ
713
714# Clean the build directory
715$MAKE clean
716
91ba8aa1
MJ
717# Exit with failure if any of the tests failed
718exit $failed_tests
719
720# EOF
This page took 0.051021 seconds and 4 git commands to generate.