jjb: binutils-gdb: build with debug info
[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)
e9ba7f91
SM
41running_re = re.compile(r"^Running .*/(gdb\.[^/]+/.*\.exp)")
42error_re = re.compile(r"^ERROR: (.*)")
bcd0bdf1
SM
43
44pass_count = 0
45fail_count = 0
46skip_count = 0
47error_count = 0
48now = datetime.now().isoformat(timespec="seconds")
49
50testsuites = Element(
51 "testsuites",
52 {
53 "xmlns": "https://raw.githubusercontent.com/windyroad/JUnit-Schema/master/JUnit.xsd"
54 },
55)
56testsuite = SubElement(
57 testsuites,
58 "testsuite",
59 {
60 "name": "GDB",
61 "package": "package",
62 "id": "0",
63 "time": "1",
64 "timestamp": now,
65 "hostname": "hostname",
66 },
67)
68SubElement(testsuite, "properties")
69
e9ba7f91
SM
70cur_test = None
71
bcd0bdf1 72for line in sys.stdin:
e9ba7f91
SM
73 m = running_re.match(line)
74 if m:
75 cur_test = m.group(1)
76 continue
77
78 m = error_re.match(line)
79 if m:
80 test = cur_test if cur_test else "<unknown test>"
81 msg = m.group(1)
82 print("ERROR: {} - {}".format(test, msg), file=sys.stderr)
83 error_count += 1
84
85 testcase_name = test
86 testcase = SubElement(
87 testsuite,
88 "testcase",
89 {"name": testcase_name, "classname": "classname", "time": "0"},
90 )
91 SubElement(testcase, "error", {"type": "ERROR"})
92
bcd0bdf1
SM
93 m = line_re.match(line)
94 if not m:
95 continue
96
97 state, exp_filename, test_name = m.groups()
98
99 testcase_name = "{} - {}".format(exp_filename, test_name)
100
101 testcase = SubElement(
102 testsuite,
103 "testcase",
104 {"name": testcase_name, "classname": "classname", "time": "0"},
105 )
106
107 if state in ("PASS", "XFAIL", "KFAIL"):
108 pass_count += 1
109 elif state in ("FAIL", "XPASS"):
6e30c08a 110 print("{}: {}".format(state, testcase_name), file=sys.stderr)
bcd0bdf1
SM
111 fail_count += 1
112 SubElement(testcase, "failure", {"type": state})
113 elif state in ("UNRESOLVED", "DUPLICATE"):
6e30c08a 114 print("{}: {}".format(state, testcase_name), file=sys.stderr)
bcd0bdf1
SM
115 error_count += 1
116 SubElement(testcase, "error", {"type": state})
117 elif state in ("UNTESTED", "UNSUPPORTED"):
118 skip_count += 1
119 SubElement(testcase, "skipped")
120 else:
121 assert False
122
e9ba7f91 123testsuite.attrib["tests"] = str(pass_count + fail_count + skip_count + error_count)
bcd0bdf1
SM
124testsuite.attrib["failures"] = str(fail_count)
125testsuite.attrib["skipped"] = str(skip_count)
126testsuite.attrib["errors"] = str(error_count)
127
128SubElement(testsuite, "system-out")
129SubElement(testsuite, "system-err")
130
131et = ElementTree(testsuites)
132et.write(sys.stdout, encoding="unicode")
133
134sys.exit(1 if fail_count > 0 or error_count > 0 else 0)
91ba8aa1
MJ
135EOF
136
bcd0bdf1 137 python3 sum2junit.py < "$infile" > "$outfile"
91ba8aa1
MJ
138}
139
140# Required variables
141WORKSPACE=${WORKSPACE:-}
142
e901a9db 143platform=${platform:-}
91ba8aa1
MJ
144conf=${conf:-}
145build=${build:-}
748dd275 146target_board=${target_board:-unix}
91ba8aa1
MJ
147
148
149SRCDIR="$WORKSPACE/src/binutils-gdb"
150TMPDIR="$WORKSPACE/tmp"
151PREFIX="/build"
152
153# Create tmp directory
154rm -rf "$TMPDIR"
155mkdir -p "$TMPDIR"
156
157export TMPDIR
f561bfa0
SM
158export CFLAGS="-O2 -g -fsanitize=address"
159export CXXFLAGS="-O2 -g -fsanitize=address -D_GLIBCXX_DEBUG=1"
91ba8aa1 160export LDFLAGS="-fsanitize=address"
83068918
SM
161export CC="ccache cc"
162export CXX="ccache c++"
91ba8aa1
MJ
163
164# Set platform variables
e901a9db 165case "$platform" in
91ba8aa1
MJ
166*)
167 export MAKE=make
168 export TAR=tar
169 export NPROC=nproc
170 ;;
171esac
172
173# Print build env details
174print_os || true
175print_tooling || true
176
83068918
SM
177if use_ccache; then
178 ccache -c
179fi
180
91ba8aa1
MJ
181# Enter the source directory
182cd "$SRCDIR"
183
184# Run bootstrap in the source directory prior to configure
185#./bootstrap
186
187# Get source version from configure script
188#eval "$(grep '^PACKAGE_VERSION=' ./configure)"
189#PACKAGE_VERSION=${PACKAGE_VERSION//\-pre*/}
190
191# Set configure options and environment variables for each build
192# configuration.
193CONF_OPTS=("--prefix=$PREFIX")
194
195case "$conf" in
196*)
197 echo "Standard configuration"
198
199 # Use system tools
1c76805c 200 CONF_OPTS+=("--disable-binutils" "--disable-ld" "--disable-gold" "--disable-gas" "--disable-sim" "--disable-gprof" "--disable-gprofng")
91ba8aa1
MJ
201
202 # Use system libs
203 CONF_OPTS+=("--with-system-readline" "--with-system-zlib")
204
205 # Enable optional features
6549901d 206 CONF_OPTS+=("--enable-targets=all" "--with-expat=yes" "--with-python=python3" "--with-guile" "--enable-libctf")
91ba8aa1 207
b91b655f 208 CONF_OPTS+=("--enable-build-warnings" "--enable-gdb-build-warnings" "--enable-unit-tests" "--enable-ubsan")
91ba8aa1
MJ
209
210 ;;
211esac
212
213# Build type
214# oot : out-of-tree build
215# dist : build via make dist
216# oot-dist: build via make dist out-of-tree
217# * : normal tree build
218#
219# Make sure to move to the build directory and run configure
220# before continuing.
221case "$build" in
222*)
223 echo "Out of tree build"
224
225 # Create and enter a temporary build directory
226 builddir=$(mktemp -d)
227 cd "$builddir"
228
229 "$SRCDIR/configure" "${CONF_OPTS[@]}" || failed_configure
230 ;;
231esac
232
233# We are now inside a configured build directory
234
235# BUILD!
236$MAKE -j "$($NPROC)" V=1 MAKEINFO=/bin/true
237
238# Install in the workspace
239$MAKE install DESTDIR="$WORKSPACE"
240
748dd275
SM
241case "$target_board" in
242unix | native-gdbserver | native-extended-gdbserver)
243 RUNTESTFLAGS="--target_board=$target_board"
244 ;;
245
246*)
247 echo "Unknown \$target_board value: $target_board"
248 exit 1
249 ;;
250esac
251
bcd0bdf1
SM
252# Run tests, don't fail now, we know that "make check" is going to fail,
253# since some tests don't pass.
748dd275 254$MAKE -C gdb --keep-going check -j "$($NPROC)" RUNTESTFLAGS="$RUNTESTFLAGS" FORCE_PARALLEL="1" || true
91ba8aa1
MJ
255
256# Copy the dejagnu test results for archiving before cleaning the build dir
257mkdir "${WORKSPACE}/results"
f5dbc8e5 258cp gdb/testsuite/gdb.log "${WORKSPACE}/results/"
91ba8aa1 259cp gdb/testsuite/gdb.sum "${WORKSPACE}/results/"
bcd0bdf1 260
748dd275
SM
261# Filter out some known failures. There is one file per target board.
262cat <<'EOF' > known-failures-unix
d05fa6f1
SM
263FAIL: gdb.ada/mi_var_access.exp: Create varobj (unexpected output)
264FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output)
265FAIL: gdb.ada/packed_array_assign.exp: value of pra
795db243
SM
266FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
267FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
268FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
269FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
270FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
271FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
272FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
273FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
274FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
275FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
276FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
277FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
d05fa6f1
SM
278FAIL: gdb.base/coredump-filter.exp: loading and testing corefile for non-Private-Shared-Anon-File: no binary: disassemble function with corefile and without a binary
279FAIL: gdb.base/ending-run.exp: step out of main
280FAIL: gdb.base/ending-run.exp: step to end of run
281FAIL: gdb.base/gdb-sigterm.exp: pass=16: expect eof (GDB internal error)
795db243 282FAIL: gdb.base/share-env-with-gdbserver.exp: strange named var: print result of getenv for 'asd ='
d05fa6f1
SM
283FAIL: gdb.base/step-over-syscall.exp: clone: displaced=off: single step over clone
284FAIL: gdb.compile/compile-cplus.exp: bt
285FAIL: gdb.compile/compile-cplus.exp: compile code extern int globalshadow; globalshadow += 5;
286FAIL: gdb.compile/compile-cplus.exp: print 'compile-cplus.c'::globalshadow
287FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var ()
288FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var ()
289FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<unsigned long> (1))
290FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<unsigned long> (1))
291FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<int> (1))
292FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<int> (1))
293FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<float> (1))
294FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<float> (1))
295FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<void *> (a))
296FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<void *> (a))
297FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*a)
298FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*a)
299FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*ac)
300FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*ac)
301FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (1)
302FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (1)
303FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (1, 2)
304FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (1, 2)
305FAIL: gdb.compile/compile-cplus-method.exp: compile code A::get_1 (a->get_var ())
306FAIL: gdb.compile/compile-cplus-method.exp: result of compile code A::get_1 (a->get_var ())
307FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (a->get_var () - 16)
308FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (a->get_var () - 16)
309FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (a->get_var (), A::get_1 (2))
310FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (a->get_var (), A::get_1 (2))
311FAIL: gdb.compile/compile-cplus-method.exp: compile code get_value (a)
312FAIL: gdb.compile/compile-cplus-method.exp: result of compile code get_value (a)
313FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->*pmf) (1)
314FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->*pmf) (1)
315FAIL: gdb.compile/compile-cplus-method.exp: compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
316FAIL: gdb.compile/compile-cplus-method.exp: result of compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
317FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->**pmf_p) (1)
318FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->**pmf_p) (1)
319FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit ()
320FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit2 ()
812328f9 321FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
d05fa6f1
SM
322FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 1
323FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 2
324FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 3
325FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 4
795db243 326FAIL: gdb.gdb/python-interrupts.exp: run until breakpoint at captured_command_loop
d05fa6f1
SM
327FAIL: gdb.mi/list-thread-groups-available.exp: list available thread groups with filter (unexpected output)
328FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt
329FAIL: gdb.threads/clone-attach-detach.exp: bg attach 2: attach (timeout)
330FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: detach: continue
331FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
332FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:hw: continue
333FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over no: signal SIGUSR1
334FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over yes: signal SIGUSR1
335FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler
336FAIL: gdb.threads/signal-while-stepping-over-bp-other-thread.exp: step (pattern 3)
337UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40
338UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: runto: run to foo.adb:40 (eof)
339UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof)
340UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40
341UNRESOLVED: gdb.ada/exprs.exp: runto: run to p.adb:40 (eof)
342UNRESOLVED: gdb.ada/exprs.exp: Long_Long_Integer ** Y
343UNRESOLVED: gdb.ada/exprs.exp: long_float'min
344UNRESOLVED: gdb.ada/exprs.exp: long_float'max
345UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 (eof)
346UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test
347UNRESOLVED: gdb.ada/packed_array_assign.exp: runto: run to aggregates.run_test (eof)
348UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test (eof)
349UNRESOLVED: gdb.ada/packed_array_assign.exp: value of pra
350UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) := pr
351UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1)
352UNRESOLVED: gdb.ada/packed_array_assign.exp: value of npr
353UNRESOLVED: gdb.base/gdb-sigterm.exp: 50 SIGTERM passes
795db243 354UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
d05fa6f1
SM
355UNRESOLVED: gdb.python/py-disasm.exp: global_disassembler=GlobalPreInfoDisassembler: disassemble main
356EOF
357
358cat <<'EOF' > known-failures-re-unix
359FAIL: gdb.base/gdb-sigterm.exp: pass=[0-9]+: expect eof \(GDB internal error\)
360FAIL: gdb.threads/step-N-all-progress.exp: non-stop=on: target-non-stop=on: next .*
795db243
SM
361EOF
362
748dd275 363cat <<'EOF' > known-failures-native-gdbserver
748dd275
SM
364DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: awatch global
365DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: continue
366DUPLICATE: gdb.base/cond-eval-mode.exp: break: break foo
367DUPLICATE: gdb.base/cond-eval-mode.exp: break: continue
368DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: continue
369DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: hbreak foo
370DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: continue
371DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: rwatch global
372DUPLICATE: gdb.base/cond-eval-mode.exp: watch: continue
373DUPLICATE: gdb.base/cond-eval-mode.exp: watch: watch global
748dd275
SM
374DUPLICATE: gdb.trace/circ.exp: check whether setting trace buffer size is supported
375DUPLICATE: gdb.trace/ftrace-lock.exp: successfully compiled posix threads test case
376DUPLICATE: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified
377DUPLICATE: gdb.trace/signal.exp: get integer valueof "counter"
378DUPLICATE: gdb.trace/status-stop.exp: buffer_full_tstart: tstart
379DUPLICATE: gdb.trace/status-stop.exp: tstart_tstop_tstart: tstart
380DUPLICATE: gdb.trace/tfind.exp: 8.17: tfind none
381DUPLICATE: gdb.trace/trace-buffer-size.exp: set tracepoint at test_function
382DUPLICATE: gdb.trace/trace-buffer-size.exp: tstart
383DUPLICATE: gdb.trace/trace-mt.exp: successfully compiled posix threads test case
d05fa6f1
SM
384FAIL: gdb.ada/mi_var_access.exp: Create varobj (unexpected output)
385FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output)
386FAIL: gdb.ada/packed_array_assign.exp: value of pra
387FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
748dd275
SM
388FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
389FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
390FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
391FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
392FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
393FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
394FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
395FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
396FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
397FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
398FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
399FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
400FAIL: gdb.base/compare-sections.exp: after reload: compare-sections
401FAIL: gdb.base/compare-sections.exp: after reload: compare-sections -r
402FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections
403FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections -r
404FAIL: gdb.base/compare-sections.exp: compare-sections .text
405FAIL: gdb.base/compare-sections.exp: read-only: compare-sections -r
d05fa6f1
SM
406FAIL: gdb.base/coredump-filter.exp: loading and testing corefile for non-Private-Shared-Anon-File: no binary: disassemble function with corefile and without a binary
407FAIL: gdb.base/ending-run.exp: step out of main
408FAIL: gdb.base/ending-run.exp: step to end of run
748dd275
SM
409FAIL: gdb.base/interrupt-daemon.exp: bg: continue& (timeout)
410FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt cmd stops process (timeout)
411FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt (timeout)
412FAIL: gdb.base/interrupt-daemon.exp: fg: ctrl-c stops process (timeout)
d05fa6f1
SM
413FAIL: gdb.base/options.exp: test-backtrace: cmd complete "backtrace "
414FAIL: gdb.base/options.exp: test-backtrace: tab complete "backtrace " (clearing input line) (timeout)
415FAIL: gdb.base/range-stepping.exp: step over func: next: vCont;r=2
416FAIL: gdb.compile/compile-cplus.exp: bt
417FAIL: gdb.compile/compile-cplus.exp: compile code extern int globalshadow; globalshadow += 5;
418FAIL: gdb.compile/compile-cplus.exp: print 'compile-cplus.c'::globalshadow
419FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var ()
420FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var ()
421FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<unsigned long> (1))
422FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<unsigned long> (1))
423FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<int> (1))
424FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<int> (1))
425FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<float> (1))
426FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<float> (1))
427FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<void *> (a))
428FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<void *> (a))
429FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*a)
430FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*a)
431FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*ac)
432FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*ac)
433FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (1)
434FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (1)
435FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (1, 2)
436FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (1, 2)
437FAIL: gdb.compile/compile-cplus-method.exp: compile code A::get_1 (a->get_var ())
438FAIL: gdb.compile/compile-cplus-method.exp: result of compile code A::get_1 (a->get_var ())
439FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (a->get_var () - 16)
440FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (a->get_var () - 16)
441FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (a->get_var (), A::get_1 (2))
442FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (a->get_var (), A::get_1 (2))
443FAIL: gdb.compile/compile-cplus-method.exp: compile code get_value (a)
444FAIL: gdb.compile/compile-cplus-method.exp: result of compile code get_value (a)
445FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->*pmf) (1)
446FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->*pmf) (1)
447FAIL: gdb.compile/compile-cplus-method.exp: compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
448FAIL: gdb.compile/compile-cplus-method.exp: result of compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
449FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->**pmf_p) (1)
450FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->**pmf_p) (1)
451FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit ()
452FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit2 ()
812328f9 453FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
d05fa6f1
SM
454FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 1
455FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 2
456FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 3
457FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 4
458FAIL: gdb.dwarf2/clztest.exp: runto: run to main
748dd275
SM
459FAIL: gdb.threads/multiple-successive-infcall.exp: thread=3: created new thread
460FAIL: gdb.threads/multiple-successive-infcall.exp: thread=4: created new thread
461FAIL: gdb.threads/multiple-successive-infcall.exp: thread=5: created new thread
748dd275 462FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
d05fa6f1
SM
463FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over no: signal SIGUSR1
464FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over yes: signal SIGUSR1
465FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler
748dd275
SM
466FAIL: gdb.threads/thread-specific-bp.exp: all-stop: continue to end (timeout)
467FAIL: gdb.threads/thread-specific-bp.exp: non-stop: continue to end (timeout)
468FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_asm_test
469FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_c_test
470FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_recursion_test 0
d05fa6f1 471FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main
748dd275
SM
472FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 2
473FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 3
474FAIL: gdb.trace/change-loc.exp: 1 trace: tfind frame 0
475FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - installed (unload)
476FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - pending (unload)
477FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 1 (the program is no longer running)
478FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 2 (the program is no longer running)
479FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 3 (the program is no longer running)
480FAIL: gdb.trace/change-loc.exp: 2 ftrace: run to main (the program exited)
481FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 0
482FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 1
483FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 2
484FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with three locations
485FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - installed (unload)
486FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - pending (unload)
487FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstart
488FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstop
489FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 2
490FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 3
491FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2
492FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload)
493FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload)
d05fa6f1 494FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main
748dd275
SM
495FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char
496FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double
497FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float
498FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local int
499FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member char
500FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member double
501FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member float
502FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member int
503FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #0
504FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #1
505FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #2
506FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #3
d05fa6f1
SM
507FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: start trace experiment
508FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: tfind test frame
748dd275
SM
509FAIL: gdb.trace/collection.exp: collect register locals collectively: start trace experiment
510FAIL: gdb.trace/collection.exp: collect register locals collectively: tfind test frame
511FAIL: gdb.trace/collection.exp: collect register locals individually: collected local char
512FAIL: gdb.trace/collection.exp: collect register locals individually: collected local double
513FAIL: gdb.trace/collection.exp: collect register locals individually: collected local float
514FAIL: gdb.trace/collection.exp: collect register locals individually: collected local int
515FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member char
516FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member double
517FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member float
518FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member int
519FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #0
520FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #1
521FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #2
522FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #3
523FAIL: gdb.trace/collection.exp: collect register locals individually: define actions
d05fa6f1
SM
524FAIL: gdb.trace/ftrace.exp: runto: run to main
525FAIL: gdb.trace/ftrace-lock.exp: runto: run to main
748dd275
SM
526FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (unexpected output)
527FAIL: 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)
d05fa6f1
SM
528FAIL: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified (unexpected output)
529FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main
530FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main
531FAIL: gdb.trace/pending.exp: ftrace disconn: runto: run to main
532FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: runto: run to main
533FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: runto: run to main
748dd275
SM
534FAIL: gdb.trace/pending.exp: ftrace resolved: (the program exited)
535FAIL: gdb.trace/pending.exp: ftrace works: continue to marker (the program is no longer running)
536FAIL: gdb.trace/pending.exp: ftrace works: start trace experiment
537FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 0
538FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 1
539FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 2
540FAIL: gdb.trace/pending.exp: ftrace works: (the program exited)
541FAIL: gdb.trace/pending.exp: trace installed_in_trace: continue to marker 2
542FAIL: gdb.trace/pending.exp: trace installed_in_trace: tfind test frame 0
d05fa6f1
SM
543FAIL: gdb.trace/range-stepping.exp: runto: run to main
544FAIL: gdb.trace/trace-break.exp: runto: run to main
545FAIL: gdb.trace/trace-condition.exp: runto: run to main
546FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: runto: run to main
547FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: runto: run to main
548FAIL: gdb.trace/trace-mt.exp: runto: run to main
549FAIL: gdb.trace/tspeed.exp: runto: run to main
748dd275
SM
550FAIL: gdb.trace/unavailable.exp: collect globals: print object off: print derived_partial
551FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_partial
552FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object off: print derived_partial
553FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object on: print derived_partial
d05fa6f1
SM
554FAIL: gdb.trace/unavailable.exp: collect globals: tfile: <unavailable> is not the same as 0 in array element repetitions
555FAIL: gdb.trace/unavailable.exp: collect globals: <unavailable> is not the same as 0 in array element repetitions
748dd275
SM
556FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: info locals
557FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: tfile: info locals
558FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: info locals
559FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locd
560FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locf
561FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: info locals
562FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locd
563FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locf
564FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: info locals
565FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: tfile: info locals
748dd275 566KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
d05fa6f1
SM
567UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40
568UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: runto: run to foo.adb:40 (eof)
569UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40
570UNRESOLVED: gdb.ada/exprs.exp: runto: run to p.adb:40 (eof)
571UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test
572UNRESOLVED: gdb.ada/packed_array_assign.exp: runto: run to aggregates.run_test (eof)
573UNRESOLVED: gdb.ada/exprs.exp: Long_Long_Integer ** Y
574UNRESOLVED: gdb.ada/exprs.exp: long_float'min
575UNRESOLVED: gdb.ada/exprs.exp: long_float'max
576UNRESOLVED: gdb.ada/packed_array_assign.exp: value of pra
577UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) := pr
578UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1)
579UNRESOLVED: gdb.ada/packed_array_assign.exp: value of npr
580UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof)
581UNRESOLVED: gdb.ada/array_return.exp: gdb_breakpoint: set breakpoint at main (eof)
582UNRESOLVED: gdb.ada/array_subscript_addr.exp: gdb_breakpoint: set breakpoint at p.adb:27 (eof)
583UNRESOLVED: gdb.ada/cond_lang.exp: gdb_breakpoint: set breakpoint at c_function (eof)
584UNRESOLVED: gdb.ada/dyn_loc.exp: gdb_breakpoint: set breakpoint at pack.adb:25 (eof)
585UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 (eof)
586UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test (eof)
587UNRESOLVED: gdb.ada/ref_tick_size.exp: gdb_breakpoint: set breakpoint at p.adb:26 (eof)
588UNRESOLVED: gdb.ada/set_wstr.exp: gdb_breakpoint: set breakpoint at a.adb:23 (eof)
589UNRESOLVED: gdb.ada/taft_type.exp: gdb_breakpoint: set breakpoint at p.adb:22 (eof)
590UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning
591EOF
592
593cat <<'EOF' > known-failures-re-native-gdbserver
748dd275
SM
594EOF
595
596cat <<'EOF' > known-failures-native-extended-gdbserver
748dd275
SM
597DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: awatch global
598DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: continue
599DUPLICATE: gdb.base/cond-eval-mode.exp: break: break foo
600DUPLICATE: gdb.base/cond-eval-mode.exp: break: continue
601DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: continue
602DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: hbreak foo
603DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: continue
604DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: rwatch global
605DUPLICATE: gdb.base/cond-eval-mode.exp: watch: continue
606DUPLICATE: gdb.base/cond-eval-mode.exp: watch: watch global
748dd275
SM
607DUPLICATE: gdb.threads/attach-into-signal.exp: threaded: thread apply 2 print $_siginfo.si_signo
608DUPLICATE: gdb.trace/circ.exp: check whether setting trace buffer size is supported
609DUPLICATE: gdb.trace/ftrace-lock.exp: successfully compiled posix threads test case
610DUPLICATE: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified
611DUPLICATE: gdb.trace/signal.exp: get integer valueof "counter"
612DUPLICATE: gdb.trace/status-stop.exp: buffer_full_tstart: tstart
613DUPLICATE: gdb.trace/status-stop.exp: tstart_tstop_tstart: tstart
614DUPLICATE: gdb.trace/tfind.exp: 8.17: tfind none
615DUPLICATE: gdb.trace/trace-buffer-size.exp: set tracepoint at test_function
616DUPLICATE: gdb.trace/trace-buffer-size.exp: tstart
617DUPLICATE: gdb.trace/trace-mt.exp: successfully compiled posix threads test case
618DUPLICATE: gdb.trace/tspeed.exp: advance through tracing (the program is no longer running)
619DUPLICATE: gdb.trace/tspeed.exp: advance to trace begin (the program is no longer running)
620DUPLICATE: gdb.trace/tspeed.exp: check on trace status
621DUPLICATE: gdb.trace/tspeed.exp: print iters = init_iters
d05fa6f1 622DUPLICATE: gdb.trace/tspeed.exp: runto: run to main
748dd275 623DUPLICATE: gdb.trace/tspeed.exp: start trace experiment
d05fa6f1
SM
624FAIL: gdb.ada/mi_var_access.exp: Create varobj (unexpected output)
625FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output)
626FAIL: gdb.ada/packed_array_assign.exp: value of pra
627FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
748dd275 628FAIL: gdb.base/a2-run.exp: run "a2-run" with shell (timeout)
d05fa6f1
SM
629FAIL: gdb.base/attach.exp: do_command_attach_tests: gdb_spawn_attach_cmdline: info thread (no thread)
630FAIL: gdb.base/attach.exp: do_command_attach_tests: gdb_spawn_attach_cmdline: start gdb with --pid
748dd275
SM
631FAIL: 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)
632FAIL: 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
633FAIL: 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)
634FAIL: 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
635FAIL: 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
636FAIL: 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)
637FAIL: 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
638FAIL: 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)
639FAIL: 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
640FAIL: 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
641FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: symbol-less: ld.so exit
642FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: symbol-less: seen displacement message as NONZERO
643FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
644FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
645FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
646FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
647FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
648FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
649FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
650FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
651FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
652FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
653FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
654FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
655FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections
656FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections -r
657FAIL: gdb.base/compare-sections.exp: read-only: compare-sections -r
d05fa6f1
SM
658FAIL: gdb.base/coredump-filter.exp: loading and testing corefile for non-Private-Shared-Anon-File: no binary: disassemble function with corefile and without a binary
659FAIL: gdb.base/ending-run.exp: step out of main
660FAIL: gdb.base/ending-run.exp: step to end of run
748dd275
SM
661FAIL: gdb.base/gdbinit-history.exp: GDBHISTFILE is empty: show commands
662FAIL: gdb.base/gdbinit-history.exp: load default history file: show commands
663FAIL: gdb.base/gdbinit-history.exp: load GDBHISTFILE history file: show commands
664FAIL: gdb.base/interrupt-daemon.exp: bg: continue& (timeout)
665FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt cmd stops process (timeout)
666FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt (timeout)
667FAIL: gdb.base/interrupt-daemon.exp: fg: ctrl-c stops process (timeout)
d05fa6f1 668FAIL: gdb.base/range-stepping.exp: step over func: next: vCont;r=2
748dd275 669FAIL: gdb.base/share-env-with-gdbserver.exp: strange named var: print result of getenv for 'asd ='
d05fa6f1 670FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = off; run_args = *.unique-extension: first argument not expanded
748dd275
SM
671FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = $TEST: testing first argument
672FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = *.unique-extension: first argument expanded
673FAIL: gdb.base/with.exp: repeat: reinvoke with no previous command to relaunch
d05fa6f1
SM
674FAIL: gdb.compile/compile-cplus.exp: bt
675FAIL: gdb.compile/compile-cplus.exp: compile code extern int globalshadow; globalshadow += 5;
676FAIL: gdb.compile/compile-cplus.exp: print 'compile-cplus.c'::globalshadow
677FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var ()
678FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var ()
679FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<unsigned long> (1))
680FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<unsigned long> (1))
681FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<int> (1))
682FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<int> (1))
683FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<float> (1))
684FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<float> (1))
685FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<void *> (a))
686FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<void *> (a))
687FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*a)
688FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*a)
689FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*ac)
690FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*ac)
691FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (1)
692FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (1)
693FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (1, 2)
694FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (1, 2)
695FAIL: gdb.compile/compile-cplus-method.exp: compile code A::get_1 (a->get_var ())
696FAIL: gdb.compile/compile-cplus-method.exp: result of compile code A::get_1 (a->get_var ())
697FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (a->get_var () - 16)
698FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (a->get_var () - 16)
699FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (a->get_var (), A::get_1 (2))
700FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (a->get_var (), A::get_1 (2))
701FAIL: gdb.compile/compile-cplus-method.exp: compile code get_value (a)
702FAIL: gdb.compile/compile-cplus-method.exp: result of compile code get_value (a)
703FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->*pmf) (1)
704FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->*pmf) (1)
705FAIL: gdb.compile/compile-cplus-method.exp: compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
706FAIL: gdb.compile/compile-cplus-method.exp: result of compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
707FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->**pmf_p) (1)
708FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->**pmf_p) (1)
709FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit ()
710FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit2 ()
748dd275
SM
711FAIL: gdb.cp/annota2.exp: annotate-quit
712FAIL: gdb.cp/annota2.exp: break at main (got interactive prompt)
713FAIL: gdb.cp/annota2.exp: continue until exit (timeout)
714FAIL: gdb.cp/annota2.exp: delete bps
715FAIL: gdb.cp/annota2.exp: set watch on a.x (timeout)
716FAIL: gdb.cp/annota2.exp: watch triggered on a.x (timeout)
717FAIL: gdb.cp/annota3.exp: continue to exit (pattern 4)
812328f9 718FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
d05fa6f1
SM
719FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 1
720FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 2
721FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 3
722FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 4
748dd275
SM
723FAIL: gdb.gdb/unittest.exp: executable loaded: maintenance selftest, failed none
724FAIL: gdb.gdb/unittest.exp: no executable loaded: maintenance selftest, failed none
dfa2dcd2 725FAIL: gdb.gdb/unittest.exp: reversed initialization: maintenance selftest, failed none
d05fa6f1
SM
726FAIL: gdb.guile/scm-ports.exp: buffered: test byte at sp, before flush
727FAIL: gdb.mi/list-thread-groups-available.exp: list available thread groups with filter (unexpected output)
748dd275
SM
728FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=0: breakpoint hit reported on console (timeout)
729FAIL: gdb.mi/mi-pending.exp: MI pending breakpoint on mi-pendshr.c:pendfunc2 if x==4 (unexpected output)
d05fa6f1 730FAIL: gdb.multi/remove-inferiors.exp: runto: run to main
748dd275
SM
731FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=delete: connection to GDBserver succeeded
732FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=permission: connection to GDBserver succeeded
733FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=delete: connection to GDBserver succeeded
734FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=permission: connection to GDBserver succeeded
d05fa6f1 735FAIL: gdb.threads/access-mem-running-thread-exit.exp: non-stop: access mem (print global_var after writing again, inf=2, iter=1)
748dd275 736FAIL: gdb.threads/attach-into-signal.exp: threaded: thread apply 2 print $_siginfo.si_signo
d05fa6f1
SM
737FAIL: gdb.threads/attach-non-stop.exp: target-non-stop=off: non-stop=off: cmd=attach&: all threads running
738FAIL: gdb.threads/attach-non-stop.exp: target-non-stop=off: non-stop=off: cmd=attach&: detach
739FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt
740FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted off: non-stop: runto: run to main
741FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted on: non-stop: runto: run to main
742FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted off: non-stop: runto: run to main
743FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted on: non-stop: runto: run to main
744FAIL: gdb.threads/gcore-stale-thread.exp: runto: run to main
745FAIL: gdb.threads/multi-create-ns-info-thr.exp: runto: run to main
748dd275
SM
746FAIL: gdb.threads/multiple-successive-infcall.exp: thread=3: created new thread
747FAIL: gdb.threads/multiple-successive-infcall.exp: thread=4: created new thread
748FAIL: gdb.threads/multiple-successive-infcall.exp: thread=5: created new thread
d05fa6f1 749FAIL: gdb.threads/non-stop-fair-events.exp: runto: run to main
748dd275 750FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
d05fa6f1
SM
751FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over yes: signal SIGUSR1
752FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over no: signal SIGUSR1
753FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler
754FAIL: gdb.threads/thread-execl.exp: non-stop: runto: run to main
748dd275 755FAIL: gdb.threads/thread-specific-bp.exp: all-stop: continue to end (timeout)
d05fa6f1 756FAIL: gdb.threads/thread-specific-bp.exp: non-stop: runto: run to main
748dd275
SM
757FAIL: gdb.threads/tls.exp: print a_thread_local
758FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_asm_test
759FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_c_test
760FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_recursion_test 0
d05fa6f1 761FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main
748dd275
SM
762FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 2
763FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 3
764FAIL: gdb.trace/change-loc.exp: 1 trace: tfind frame 0
765FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - installed (unload)
766FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - pending (unload)
767FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 1 (the program is no longer running)
768FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 2 (the program is no longer running)
769FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 3 (the program is no longer running)
770FAIL: gdb.trace/change-loc.exp: 2 ftrace: run to main (the program exited)
771FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 0
772FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 1
773FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 2
774FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with three locations
775FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - installed (unload)
776FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - pending (unload)
777FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstart
778FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstop
779FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 2
780FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 3
781FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2
782FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload)
783FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload)
d05fa6f1 784FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main
748dd275
SM
785FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char
786FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double
787FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float
788FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local int
789FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member char
790FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member double
791FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member float
792FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member int
793FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #0
794FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #1
795FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #2
796FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #3
d05fa6f1
SM
797FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: start trace experiment
798FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: tfind test frame
748dd275
SM
799FAIL: gdb.trace/collection.exp: collect register locals collectively: start trace experiment
800FAIL: gdb.trace/collection.exp: collect register locals collectively: tfind test frame
801FAIL: gdb.trace/collection.exp: collect register locals individually: collected local char
802FAIL: gdb.trace/collection.exp: collect register locals individually: collected local double
803FAIL: gdb.trace/collection.exp: collect register locals individually: collected local float
804FAIL: gdb.trace/collection.exp: collect register locals individually: collected local int
805FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member char
806FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member double
807FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member float
808FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member int
809FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #0
810FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #1
811FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #2
812FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #3
813FAIL: gdb.trace/collection.exp: collect register locals individually: define actions
d05fa6f1
SM
814FAIL: gdb.trace/ftrace.exp: runto: run to main
815FAIL: gdb.trace/ftrace-lock.exp: runto: run to main
748dd275
SM
816FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (unexpected output)
817FAIL: 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)
d05fa6f1
SM
818FAIL: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified (unexpected output)
819FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main
820FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main
821FAIL: gdb.trace/pending.exp: ftrace disconn: runto: run to main
822FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: runto: run to main
823FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: runto: run to main
748dd275
SM
824FAIL: gdb.trace/pending.exp: ftrace resolved: (the program exited)
825FAIL: gdb.trace/pending.exp: ftrace works: continue to marker (the program is no longer running)
826FAIL: gdb.trace/pending.exp: ftrace works: start trace experiment
827FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 0
828FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 1
829FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 2
830FAIL: gdb.trace/pending.exp: ftrace works: (the program exited)
831FAIL: gdb.trace/pending.exp: trace installed_in_trace: continue to marker 2
832FAIL: gdb.trace/pending.exp: trace installed_in_trace: tfind test frame 0
d05fa6f1
SM
833FAIL: gdb.trace/range-stepping.exp: runto: run to main
834FAIL: gdb.trace/trace-break.exp: runto: run to main
835FAIL: gdb.trace/trace-condition.exp: runto: run to main
836FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: runto: run to main
837FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: runto: run to main
838FAIL: gdb.trace/trace-mt.exp: runto: run to main
04047f44
SM
839FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: advance through tracing (the program is no longer running)
840FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: advance to trace begin (the program is no longer running)
841FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: start trace experiment
842FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: advance through tracing (the program is no longer running)
843FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: advance to trace begin (the program is no longer running)
844FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: start trace experiment
d05fa6f1
SM
845FAIL: gdb.trace/tspeed.exp: runto: run to main
846FAIL: gdb.trace/tspeed.exp: runto: run to main
748dd275
SM
847FAIL: gdb.trace/unavailable.exp: collect globals: print object off: print derived_partial
848FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_partial
849FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object off: print derived_partial
850FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object on: print derived_partial
d05fa6f1
SM
851FAIL: gdb.trace/unavailable.exp: collect globals: tfile: <unavailable> is not the same as 0 in array element repetitions
852FAIL: gdb.trace/unavailable.exp: collect globals: <unavailable> is not the same as 0 in array element repetitions
748dd275
SM
853FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: info locals
854FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: tfile: info locals
855FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: info locals
856FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locd
857FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locf
858FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: info locals
859FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locd
860FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locf
861FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: info locals
862FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: tfile: info locals
d05fa6f1
SM
863KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
864UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40
865UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: runto: run to foo.adb:40 (eof)
866UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40
867UNRESOLVED: gdb.ada/exprs.exp: runto: run to p.adb:40 (eof)
868UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test
869UNRESOLVED: gdb.ada/packed_array_assign.exp: runto: run to aggregates.run_test (eof)
870UNRESOLVED: gdb.ada/exprs.exp: Long_Long_Integer ** Y
871UNRESOLVED: gdb.ada/exprs.exp: long_float'min
872UNRESOLVED: gdb.ada/exprs.exp: long_float'max
873UNRESOLVED: gdb.ada/packed_array_assign.exp: value of pra
874UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) := pr
875UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1)
876UNRESOLVED: gdb.ada/packed_array_assign.exp: value of npr
877UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof)
878UNRESOLVED: gdb.ada/array_return.exp: gdb_breakpoint: set breakpoint at main (eof)
879UNRESOLVED: gdb.ada/array_subscript_addr.exp: gdb_breakpoint: set breakpoint at p.adb:27 (eof)
880UNRESOLVED: gdb.ada/cond_lang.exp: gdb_breakpoint: set breakpoint at c_function (eof)
881UNRESOLVED: gdb.ada/dyn_loc.exp: gdb_breakpoint: set breakpoint at pack.adb:25 (eof)
882UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 (eof)
883UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test (eof)
884UNRESOLVED: gdb.ada/ref_tick_size.exp: gdb_breakpoint: set breakpoint at p.adb:26 (eof)
885UNRESOLVED: gdb.ada/set_wstr.exp: gdb_breakpoint: set breakpoint at a.adb:23 (eof)
886UNRESOLVED: gdb.ada/taft_type.exp: gdb_breakpoint: set breakpoint at p.adb:22 (eof)
748dd275 887UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
748dd275 888UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach (pass 2), pending signal catch
d05fa6f1
SM
889EOF
890
891cat <<'EOF' > known-failures-re-native-extended-gdbserver
892FAIL: gdb.threads/attach-many-short-lived-threads.exp: .*
748dd275
SM
893EOF
894
895known_failures_file="known-failures-${target_board}"
d05fa6f1
SM
896known_failures_re_file="known-failures-re-${target_board}"
897grep --invert-match --fixed-strings --file="$known_failures_file" "${WORKSPACE}/results/gdb.sum" | \
898 grep --invert-match --extended-regexp --file="$known_failures_re_file" > "${WORKSPACE}/results/gdb.filtered.sum"
e9ba7f91 899grep --extended-regexp --regexp="^(FAIL|XPASS|UNRESOLVED|DUPLICATE|ERROR):" "${WORKSPACE}/results/gdb.filtered.sum" > "${WORKSPACE}/results/gdb.fail.sum" || true
795db243 900
f204fdf1
SM
901# For informational purposes: check if some known failure lines did not appear
902# in the gdb.sum.
903echo "Known failures that don't appear in gdb.sum:"
904while read line; do
905 if ! grep --silent --fixed-strings "$line" "${WORKSPACE}/results/gdb.sum"; then
906 echo "$line"
907 fi
3837269d 908done < "$known_failures_file" > "${WORKSPACE}/results/known-failures-not-found.sum"
f204fdf1 909
bcd0bdf1
SM
910# Convert results to JUnit format.
911failed_tests=0
795db243 912sum2junit "${WORKSPACE}/results/gdb.filtered.sum" "${WORKSPACE}/results/gdb.xml" || failed_tests=1
91ba8aa1
MJ
913
914# Clean the build directory
915$MAKE clean
916
91ba8aa1
MJ
917# Exit with failure if any of the tests failed
918exit $failed_tests
919
920# EOF
This page took 0.060553 seconds and 4 git commands to generate.