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