jjb: binutils-gdb: clean up cores in /tmp
[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"
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 --keep-going check -j "$($NPROC)" RUNTESTFLAGS="$RUNTESTFLAGS" FORCE_PARALLEL="1" || true
301
302 # Copy the dejagnu test results for archiving before cleaning the build dir
303 mkdir "${WORKSPACE}/results"
304 cp gdb/testsuite/gdb.log "${WORKSPACE}/results/"
305 cp gdb/testsuite/gdb.sum "${WORKSPACE}/results/"
306
307 # Filter out some known failures. There is one file per target board.
308 cat <<'EOF' > known-failures-unix
309 FAIL: gdb.ada/mi_var_access.exp: Create varobj (unexpected output)
310 FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output)
311 FAIL: gdb.ada/packed_array_assign.exp: value of pra
312 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
313 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
314 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
315 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
316 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
317 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
318 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
319 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
320 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
321 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
322 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
323 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
324 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
325 FAIL: gdb.base/ending-run.exp: step out of main
326 FAIL: gdb.base/ending-run.exp: step to end of run
327 FAIL: gdb.base/gdb-sigterm.exp: pass=16: expect eof (GDB internal error)
328 FAIL: gdb.base/share-env-with-gdbserver.exp: strange named var: print result of getenv for 'asd ='
329 FAIL: gdb.base/step-over-syscall.exp: clone: displaced=off: single step over clone
330 FAIL: gdb.compile/compile-cplus.exp: bt
331 FAIL: gdb.compile/compile-cplus.exp: compile code extern int globalshadow; globalshadow += 5;
332 FAIL: gdb.compile/compile-cplus.exp: print 'compile-cplus.c'::globalshadow
333 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var ()
334 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var ()
335 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<unsigned long> (1))
336 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<unsigned long> (1))
337 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<int> (1))
338 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<int> (1))
339 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<float> (1))
340 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<float> (1))
341 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<void *> (a))
342 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<void *> (a))
343 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*a)
344 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*a)
345 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*ac)
346 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*ac)
347 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (1)
348 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (1)
349 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (1, 2)
350 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (1, 2)
351 FAIL: gdb.compile/compile-cplus-method.exp: compile code A::get_1 (a->get_var ())
352 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code A::get_1 (a->get_var ())
353 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (a->get_var () - 16)
354 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (a->get_var () - 16)
355 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (a->get_var (), A::get_1 (2))
356 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (a->get_var (), A::get_1 (2))
357 FAIL: gdb.compile/compile-cplus-method.exp: compile code get_value (a)
358 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code get_value (a)
359 FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->*pmf) (1)
360 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->*pmf) (1)
361 FAIL: gdb.compile/compile-cplus-method.exp: compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
362 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
363 FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->**pmf_p) (1)
364 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->**pmf_p) (1)
365 FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit ()
366 FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit2 ()
367 FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
368 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 1
369 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 2
370 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 3
371 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 4
372 FAIL: gdb.gdb/python-interrupts.exp: run until breakpoint at captured_command_loop
373 FAIL: gdb.mi/list-thread-groups-available.exp: list available thread groups with filter (unexpected output)
374 FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt
375 FAIL: gdb.threads/clone-attach-detach.exp: bg attach 2: attach (timeout)
376 FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: detach: continue
377 FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
378 FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:hw: continue
379 FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over no: signal SIGUSR1
380 FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over yes: signal SIGUSR1
381 FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler
382 FAIL: gdb.threads/signal-while-stepping-over-bp-other-thread.exp: step (pattern 3)
383 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40
384 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: runto: run to foo.adb:40 (eof)
385 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof)
386 UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40
387 UNRESOLVED: gdb.ada/exprs.exp: runto: run to p.adb:40 (eof)
388 UNRESOLVED: gdb.ada/exprs.exp: Long_Long_Integer ** Y
389 UNRESOLVED: gdb.ada/exprs.exp: long_float'min
390 UNRESOLVED: gdb.ada/exprs.exp: long_float'max
391 UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 (eof)
392 UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test
393 UNRESOLVED: gdb.ada/packed_array_assign.exp: runto: run to aggregates.run_test (eof)
394 UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test (eof)
395 UNRESOLVED: gdb.ada/packed_array_assign.exp: value of pra
396 UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) := pr
397 UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1)
398 UNRESOLVED: gdb.ada/packed_array_assign.exp: value of npr
399 UNRESOLVED: gdb.base/gdb-sigterm.exp: 50 SIGTERM passes
400 UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
401 UNRESOLVED: gdb.python/py-disasm.exp: global_disassembler=GlobalPreInfoDisassembler: disassemble main
402 EOF
403
404 cat <<'EOF' > known-failures-re-unix
405 FAIL: gdb.base/gdb-sigterm.exp: pass=[0-9]+: expect eof \(GDB internal error\)
406 FAIL: gdb.threads/step-N-all-progress.exp: non-stop=on: target-non-stop=on: next .*
407 EOF
408
409 cat <<'EOF' > known-failures-native-gdbserver
410 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: awatch global
411 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: continue
412 DUPLICATE: gdb.base/cond-eval-mode.exp: break: break foo
413 DUPLICATE: gdb.base/cond-eval-mode.exp: break: continue
414 DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: continue
415 DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: hbreak foo
416 DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: continue
417 DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: rwatch global
418 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: continue
419 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: watch global
420 DUPLICATE: gdb.trace/circ.exp: check whether setting trace buffer size is supported
421 DUPLICATE: gdb.trace/ftrace-lock.exp: successfully compiled posix threads test case
422 DUPLICATE: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified
423 DUPLICATE: gdb.trace/signal.exp: get integer valueof "counter"
424 DUPLICATE: gdb.trace/status-stop.exp: buffer_full_tstart: tstart
425 DUPLICATE: gdb.trace/status-stop.exp: tstart_tstop_tstart: tstart
426 DUPLICATE: gdb.trace/tfind.exp: 8.17: tfind none
427 DUPLICATE: gdb.trace/trace-buffer-size.exp: set tracepoint at test_function
428 DUPLICATE: gdb.trace/trace-buffer-size.exp: tstart
429 DUPLICATE: gdb.trace/trace-mt.exp: successfully compiled posix threads test case
430 FAIL: gdb.ada/mi_var_access.exp: Create varobj (unexpected output)
431 FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output)
432 FAIL: gdb.ada/packed_array_assign.exp: value of pra
433 FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
434 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
435 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
436 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
437 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
438 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
439 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
440 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
441 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
442 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
443 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
444 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
445 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
446 FAIL: gdb.base/compare-sections.exp: after reload: compare-sections
447 FAIL: gdb.base/compare-sections.exp: after reload: compare-sections -r
448 FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections
449 FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections -r
450 FAIL: gdb.base/compare-sections.exp: compare-sections .text
451 FAIL: gdb.base/compare-sections.exp: read-only: compare-sections -r
452 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
453 FAIL: gdb.base/ending-run.exp: step out of main
454 FAIL: gdb.base/ending-run.exp: step to end of run
455 FAIL: gdb.base/interrupt-daemon.exp: bg: continue& (timeout)
456 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt cmd stops process (timeout)
457 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt (timeout)
458 FAIL: gdb.base/interrupt-daemon.exp: fg: ctrl-c stops process (timeout)
459 FAIL: gdb.base/options.exp: test-backtrace: cmd complete "backtrace "
460 FAIL: gdb.base/options.exp: test-backtrace: tab complete "backtrace " (clearing input line) (timeout)
461 FAIL: gdb.base/range-stepping.exp: step over func: next: vCont;r=2
462 FAIL: gdb.compile/compile-cplus.exp: bt
463 FAIL: gdb.compile/compile-cplus.exp: compile code extern int globalshadow; globalshadow += 5;
464 FAIL: gdb.compile/compile-cplus.exp: print 'compile-cplus.c'::globalshadow
465 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var ()
466 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var ()
467 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<unsigned long> (1))
468 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<unsigned long> (1))
469 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<int> (1))
470 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<int> (1))
471 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<float> (1))
472 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<float> (1))
473 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<void *> (a))
474 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<void *> (a))
475 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*a)
476 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*a)
477 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*ac)
478 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*ac)
479 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (1)
480 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (1)
481 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (1, 2)
482 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (1, 2)
483 FAIL: gdb.compile/compile-cplus-method.exp: compile code A::get_1 (a->get_var ())
484 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code A::get_1 (a->get_var ())
485 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (a->get_var () - 16)
486 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (a->get_var () - 16)
487 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (a->get_var (), A::get_1 (2))
488 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (a->get_var (), A::get_1 (2))
489 FAIL: gdb.compile/compile-cplus-method.exp: compile code get_value (a)
490 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code get_value (a)
491 FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->*pmf) (1)
492 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->*pmf) (1)
493 FAIL: gdb.compile/compile-cplus-method.exp: compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
494 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
495 FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->**pmf_p) (1)
496 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->**pmf_p) (1)
497 FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit ()
498 FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit2 ()
499 FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
500 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 1
501 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 2
502 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 3
503 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 4
504 FAIL: gdb.dwarf2/clztest.exp: runto: run to main
505 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=3: created new thread
506 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=4: created new thread
507 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=5: created new thread
508 FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
509 FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over no: signal SIGUSR1
510 FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over yes: signal SIGUSR1
511 FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler
512 FAIL: gdb.threads/thread-specific-bp.exp: all-stop: continue to end (timeout)
513 FAIL: gdb.threads/thread-specific-bp.exp: non-stop: continue to end (timeout)
514 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_asm_test
515 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_c_test
516 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_recursion_test 0
517 FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main
518 FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 2
519 FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 3
520 FAIL: gdb.trace/change-loc.exp: 1 trace: tfind frame 0
521 FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - installed (unload)
522 FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - pending (unload)
523 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 1 (the program is no longer running)
524 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 2 (the program is no longer running)
525 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 3 (the program is no longer running)
526 FAIL: gdb.trace/change-loc.exp: 2 ftrace: run to main (the program exited)
527 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 0
528 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 1
529 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 2
530 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with three locations
531 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - installed (unload)
532 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - pending (unload)
533 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstart
534 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstop
535 FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 2
536 FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 3
537 FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2
538 FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload)
539 FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload)
540 FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main
541 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char
542 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double
543 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float
544 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local int
545 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member char
546 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member double
547 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member float
548 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member int
549 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #0
550 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #1
551 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #2
552 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #3
553 FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: start trace experiment
554 FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: tfind test frame
555 FAIL: gdb.trace/collection.exp: collect register locals collectively: start trace experiment
556 FAIL: gdb.trace/collection.exp: collect register locals collectively: tfind test frame
557 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local char
558 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local double
559 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local float
560 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local int
561 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member char
562 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member double
563 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member float
564 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member int
565 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #0
566 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #1
567 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #2
568 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #3
569 FAIL: gdb.trace/collection.exp: collect register locals individually: define actions
570 FAIL: gdb.trace/ftrace.exp: runto: run to main
571 FAIL: gdb.trace/ftrace-lock.exp: runto: run to main
572 FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (unexpected output)
573 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)
574 FAIL: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified (unexpected output)
575 FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main
576 FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main
577 FAIL: gdb.trace/pending.exp: ftrace disconn: runto: run to main
578 FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: runto: run to main
579 FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: runto: run to main
580 FAIL: gdb.trace/pending.exp: ftrace resolved: (the program exited)
581 FAIL: gdb.trace/pending.exp: ftrace works: continue to marker (the program is no longer running)
582 FAIL: gdb.trace/pending.exp: ftrace works: start trace experiment
583 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 0
584 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 1
585 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 2
586 FAIL: gdb.trace/pending.exp: ftrace works: (the program exited)
587 FAIL: gdb.trace/pending.exp: trace installed_in_trace: continue to marker 2
588 FAIL: gdb.trace/pending.exp: trace installed_in_trace: tfind test frame 0
589 FAIL: gdb.trace/range-stepping.exp: runto: run to main
590 FAIL: gdb.trace/trace-break.exp: runto: run to main
591 FAIL: gdb.trace/trace-condition.exp: runto: run to main
592 FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: runto: run to main
593 FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: runto: run to main
594 FAIL: gdb.trace/trace-mt.exp: runto: run to main
595 FAIL: gdb.trace/tspeed.exp: runto: run to main
596 FAIL: gdb.trace/unavailable.exp: collect globals: print object off: print derived_partial
597 FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_partial
598 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object off: print derived_partial
599 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object on: print derived_partial
600 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: <unavailable> is not the same as 0 in array element repetitions
601 FAIL: gdb.trace/unavailable.exp: collect globals: <unavailable> is not the same as 0 in array element repetitions
602 FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: info locals
603 FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: tfile: info locals
604 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: info locals
605 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locd
606 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locf
607 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: info locals
608 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locd
609 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locf
610 FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: info locals
611 FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: tfile: info locals
612 KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
613 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40
614 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: runto: run to foo.adb:40 (eof)
615 UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40
616 UNRESOLVED: gdb.ada/exprs.exp: runto: run to p.adb:40 (eof)
617 UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test
618 UNRESOLVED: gdb.ada/packed_array_assign.exp: runto: run to aggregates.run_test (eof)
619 UNRESOLVED: gdb.ada/exprs.exp: Long_Long_Integer ** Y
620 UNRESOLVED: gdb.ada/exprs.exp: long_float'min
621 UNRESOLVED: gdb.ada/exprs.exp: long_float'max
622 UNRESOLVED: gdb.ada/packed_array_assign.exp: value of pra
623 UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) := pr
624 UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1)
625 UNRESOLVED: gdb.ada/packed_array_assign.exp: value of npr
626 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof)
627 UNRESOLVED: gdb.ada/array_return.exp: gdb_breakpoint: set breakpoint at main (eof)
628 UNRESOLVED: gdb.ada/array_subscript_addr.exp: gdb_breakpoint: set breakpoint at p.adb:27 (eof)
629 UNRESOLVED: gdb.ada/cond_lang.exp: gdb_breakpoint: set breakpoint at c_function (eof)
630 UNRESOLVED: gdb.ada/dyn_loc.exp: gdb_breakpoint: set breakpoint at pack.adb:25 (eof)
631 UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 (eof)
632 UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test (eof)
633 UNRESOLVED: gdb.ada/ref_tick_size.exp: gdb_breakpoint: set breakpoint at p.adb:26 (eof)
634 UNRESOLVED: gdb.ada/set_wstr.exp: gdb_breakpoint: set breakpoint at a.adb:23 (eof)
635 UNRESOLVED: gdb.ada/taft_type.exp: gdb_breakpoint: set breakpoint at p.adb:22 (eof)
636 UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning
637 EOF
638
639 cat <<'EOF' > known-failures-re-native-gdbserver
640 EOF
641
642 cat <<'EOF' > known-failures-native-extended-gdbserver
643 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: awatch global
644 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: continue
645 DUPLICATE: gdb.base/cond-eval-mode.exp: break: break foo
646 DUPLICATE: gdb.base/cond-eval-mode.exp: break: continue
647 DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: continue
648 DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: hbreak foo
649 DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: continue
650 DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: rwatch global
651 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: continue
652 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: watch global
653 DUPLICATE: gdb.threads/attach-into-signal.exp: threaded: thread apply 2 print $_siginfo.si_signo
654 DUPLICATE: gdb.trace/circ.exp: check whether setting trace buffer size is supported
655 DUPLICATE: gdb.trace/ftrace-lock.exp: successfully compiled posix threads test case
656 DUPLICATE: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified
657 DUPLICATE: gdb.trace/signal.exp: get integer valueof "counter"
658 DUPLICATE: gdb.trace/status-stop.exp: buffer_full_tstart: tstart
659 DUPLICATE: gdb.trace/status-stop.exp: tstart_tstop_tstart: tstart
660 DUPLICATE: gdb.trace/tfind.exp: 8.17: tfind none
661 DUPLICATE: gdb.trace/trace-buffer-size.exp: set tracepoint at test_function
662 DUPLICATE: gdb.trace/trace-buffer-size.exp: tstart
663 DUPLICATE: gdb.trace/trace-mt.exp: successfully compiled posix threads test case
664 DUPLICATE: gdb.trace/tspeed.exp: advance through tracing (the program is no longer running)
665 DUPLICATE: gdb.trace/tspeed.exp: advance to trace begin (the program is no longer running)
666 DUPLICATE: gdb.trace/tspeed.exp: check on trace status
667 DUPLICATE: gdb.trace/tspeed.exp: print iters = init_iters
668 DUPLICATE: gdb.trace/tspeed.exp: runto: run to main
669 DUPLICATE: gdb.trace/tspeed.exp: start trace experiment
670 FAIL: gdb.ada/mi_var_access.exp: Create varobj (unexpected output)
671 FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output)
672 FAIL: gdb.ada/packed_array_assign.exp: value of pra
673 FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
674 FAIL: gdb.base/a2-run.exp: run "a2-run" with shell (timeout)
675 FAIL: gdb.base/attach.exp: do_command_attach_tests: gdb_spawn_attach_cmdline: info thread (no thread)
676 FAIL: gdb.base/attach.exp: do_command_attach_tests: gdb_spawn_attach_cmdline: start gdb with --pid
677 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)
678 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
679 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)
680 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
681 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
682 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)
683 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
684 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)
685 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
686 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
687 FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: symbol-less: ld.so exit
688 FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: symbol-less: seen displacement message as NONZERO
689 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
690 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
691 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
692 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
693 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
694 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
695 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
696 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
697 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
698 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
699 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
700 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
701 FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections
702 FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections -r
703 FAIL: gdb.base/compare-sections.exp: read-only: compare-sections -r
704 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
705 FAIL: gdb.base/ending-run.exp: step out of main
706 FAIL: gdb.base/ending-run.exp: step to end of run
707 FAIL: gdb.base/gdbinit-history.exp: GDBHISTFILE is empty: show commands
708 FAIL: gdb.base/gdbinit-history.exp: load default history file: show commands
709 FAIL: gdb.base/gdbinit-history.exp: load GDBHISTFILE history file: show commands
710 FAIL: gdb.base/interrupt-daemon.exp: bg: continue& (timeout)
711 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt cmd stops process (timeout)
712 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt (timeout)
713 FAIL: gdb.base/interrupt-daemon.exp: fg: ctrl-c stops process (timeout)
714 FAIL: gdb.base/range-stepping.exp: step over func: next: vCont;r=2
715 FAIL: gdb.base/share-env-with-gdbserver.exp: strange named var: print result of getenv for 'asd ='
716 FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = off; run_args = *.unique-extension: first argument not expanded
717 FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = $TEST: testing first argument
718 FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = *.unique-extension: first argument expanded
719 FAIL: gdb.base/with.exp: repeat: reinvoke with no previous command to relaunch
720 FAIL: gdb.compile/compile-cplus.exp: bt
721 FAIL: gdb.compile/compile-cplus.exp: compile code extern int globalshadow; globalshadow += 5;
722 FAIL: gdb.compile/compile-cplus.exp: print 'compile-cplus.c'::globalshadow
723 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var ()
724 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var ()
725 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<unsigned long> (1))
726 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<unsigned long> (1))
727 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<int> (1))
728 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<int> (1))
729 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<float> (1))
730 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<float> (1))
731 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<void *> (a))
732 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<void *> (a))
733 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*a)
734 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*a)
735 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*ac)
736 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*ac)
737 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (1)
738 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (1)
739 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (1, 2)
740 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (1, 2)
741 FAIL: gdb.compile/compile-cplus-method.exp: compile code A::get_1 (a->get_var ())
742 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code A::get_1 (a->get_var ())
743 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (a->get_var () - 16)
744 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (a->get_var () - 16)
745 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (a->get_var (), A::get_1 (2))
746 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (a->get_var (), A::get_1 (2))
747 FAIL: gdb.compile/compile-cplus-method.exp: compile code get_value (a)
748 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code get_value (a)
749 FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->*pmf) (1)
750 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->*pmf) (1)
751 FAIL: gdb.compile/compile-cplus-method.exp: compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
752 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
753 FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->**pmf_p) (1)
754 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->**pmf_p) (1)
755 FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit ()
756 FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit2 ()
757 FAIL: gdb.cp/annota2.exp: annotate-quit
758 FAIL: gdb.cp/annota2.exp: break at main (got interactive prompt)
759 FAIL: gdb.cp/annota2.exp: continue until exit (timeout)
760 FAIL: gdb.cp/annota2.exp: delete bps
761 FAIL: gdb.cp/annota2.exp: set watch on a.x (timeout)
762 FAIL: gdb.cp/annota2.exp: watch triggered on a.x (timeout)
763 FAIL: gdb.cp/annota3.exp: continue to exit (pattern 4)
764 FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
765 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 1
766 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 2
767 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 3
768 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 4
769 FAIL: gdb.gdb/unittest.exp: executable loaded: maintenance selftest, failed none
770 FAIL: gdb.gdb/unittest.exp: no executable loaded: maintenance selftest, failed none
771 FAIL: gdb.gdb/unittest.exp: reversed initialization: maintenance selftest, failed none
772 FAIL: gdb.guile/scm-ports.exp: buffered: test byte at sp, before flush
773 FAIL: gdb.mi/list-thread-groups-available.exp: list available thread groups with filter (unexpected output)
774 FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=0: breakpoint hit reported on console (timeout)
775 FAIL: gdb.mi/mi-pending.exp: MI pending breakpoint on mi-pendshr.c:pendfunc2 if x==4 (unexpected output)
776 FAIL: gdb.multi/remove-inferiors.exp: runto: run to main
777 FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=delete: connection to GDBserver succeeded
778 FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=permission: connection to GDBserver succeeded
779 FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=delete: connection to GDBserver succeeded
780 FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=permission: connection to GDBserver succeeded
781 FAIL: gdb.threads/access-mem-running-thread-exit.exp: non-stop: access mem (print global_var after writing again, inf=2, iter=1)
782 FAIL: gdb.threads/attach-into-signal.exp: threaded: thread apply 2 print $_siginfo.si_signo
783 FAIL: gdb.threads/attach-non-stop.exp: target-non-stop=off: non-stop=off: cmd=attach&: all threads running
784 FAIL: gdb.threads/attach-non-stop.exp: target-non-stop=off: non-stop=off: cmd=attach&: detach
785 FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt
786 FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted off: non-stop: runto: run to main
787 FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted on: non-stop: runto: run to main
788 FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted off: non-stop: runto: run to main
789 FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted on: non-stop: runto: run to main
790 FAIL: gdb.threads/gcore-stale-thread.exp: runto: run to main
791 FAIL: gdb.threads/multi-create-ns-info-thr.exp: runto: run to main
792 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=3: created new thread
793 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=4: created new thread
794 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=5: created new thread
795 FAIL: gdb.threads/non-stop-fair-events.exp: runto: run to main
796 FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
797 FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over yes: signal SIGUSR1
798 FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over no: signal SIGUSR1
799 FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler
800 FAIL: gdb.threads/thread-execl.exp: non-stop: runto: run to main
801 FAIL: gdb.threads/thread-specific-bp.exp: all-stop: continue to end (timeout)
802 FAIL: gdb.threads/thread-specific-bp.exp: non-stop: runto: run to main
803 FAIL: gdb.threads/tls.exp: print a_thread_local
804 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_asm_test
805 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_c_test
806 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_recursion_test 0
807 FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main
808 FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 2
809 FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 3
810 FAIL: gdb.trace/change-loc.exp: 1 trace: tfind frame 0
811 FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - installed (unload)
812 FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - pending (unload)
813 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 1 (the program is no longer running)
814 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 2 (the program is no longer running)
815 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 3 (the program is no longer running)
816 FAIL: gdb.trace/change-loc.exp: 2 ftrace: run to main (the program exited)
817 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 0
818 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 1
819 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 2
820 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with three locations
821 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - installed (unload)
822 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - pending (unload)
823 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstart
824 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstop
825 FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 2
826 FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 3
827 FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2
828 FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload)
829 FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload)
830 FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main
831 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char
832 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double
833 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float
834 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local int
835 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member char
836 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member double
837 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member float
838 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member int
839 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #0
840 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #1
841 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #2
842 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #3
843 FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: start trace experiment
844 FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: tfind test frame
845 FAIL: gdb.trace/collection.exp: collect register locals collectively: start trace experiment
846 FAIL: gdb.trace/collection.exp: collect register locals collectively: tfind test frame
847 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local char
848 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local double
849 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local float
850 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local int
851 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member char
852 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member double
853 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member float
854 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member int
855 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #0
856 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #1
857 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #2
858 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #3
859 FAIL: gdb.trace/collection.exp: collect register locals individually: define actions
860 FAIL: gdb.trace/ftrace.exp: runto: run to main
861 FAIL: gdb.trace/ftrace-lock.exp: runto: run to main
862 FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (unexpected output)
863 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)
864 FAIL: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified (unexpected output)
865 FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main
866 FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main
867 FAIL: gdb.trace/pending.exp: ftrace disconn: runto: run to main
868 FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: runto: run to main
869 FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: runto: run to main
870 FAIL: gdb.trace/pending.exp: ftrace resolved: (the program exited)
871 FAIL: gdb.trace/pending.exp: ftrace works: continue to marker (the program is no longer running)
872 FAIL: gdb.trace/pending.exp: ftrace works: start trace experiment
873 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 0
874 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 1
875 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 2
876 FAIL: gdb.trace/pending.exp: ftrace works: (the program exited)
877 FAIL: gdb.trace/pending.exp: trace installed_in_trace: continue to marker 2
878 FAIL: gdb.trace/pending.exp: trace installed_in_trace: tfind test frame 0
879 FAIL: gdb.trace/range-stepping.exp: runto: run to main
880 FAIL: gdb.trace/trace-break.exp: runto: run to main
881 FAIL: gdb.trace/trace-condition.exp: runto: run to main
882 FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: runto: run to main
883 FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: runto: run to main
884 FAIL: gdb.trace/trace-mt.exp: runto: run to main
885 FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: advance through tracing (the program is no longer running)
886 FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: advance to trace begin (the program is no longer running)
887 FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: start trace experiment
888 FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: advance through tracing (the program is no longer running)
889 FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: advance to trace begin (the program is no longer running)
890 FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: start trace experiment
891 FAIL: gdb.trace/tspeed.exp: runto: run to main
892 FAIL: gdb.trace/tspeed.exp: runto: run to main
893 FAIL: gdb.trace/unavailable.exp: collect globals: print object off: print derived_partial
894 FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_partial
895 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object off: print derived_partial
896 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object on: print derived_partial
897 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: <unavailable> is not the same as 0 in array element repetitions
898 FAIL: gdb.trace/unavailable.exp: collect globals: <unavailable> is not the same as 0 in array element repetitions
899 FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: info locals
900 FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: tfile: info locals
901 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: info locals
902 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locd
903 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locf
904 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: info locals
905 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locd
906 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locf
907 FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: info locals
908 FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: tfile: info locals
909 KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
910 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40
911 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: runto: run to foo.adb:40 (eof)
912 UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40
913 UNRESOLVED: gdb.ada/exprs.exp: runto: run to p.adb:40 (eof)
914 UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test
915 UNRESOLVED: gdb.ada/packed_array_assign.exp: runto: run to aggregates.run_test (eof)
916 UNRESOLVED: gdb.ada/exprs.exp: Long_Long_Integer ** Y
917 UNRESOLVED: gdb.ada/exprs.exp: long_float'min
918 UNRESOLVED: gdb.ada/exprs.exp: long_float'max
919 UNRESOLVED: gdb.ada/packed_array_assign.exp: value of pra
920 UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) := pr
921 UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1)
922 UNRESOLVED: gdb.ada/packed_array_assign.exp: value of npr
923 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof)
924 UNRESOLVED: gdb.ada/array_return.exp: gdb_breakpoint: set breakpoint at main (eof)
925 UNRESOLVED: gdb.ada/array_subscript_addr.exp: gdb_breakpoint: set breakpoint at p.adb:27 (eof)
926 UNRESOLVED: gdb.ada/cond_lang.exp: gdb_breakpoint: set breakpoint at c_function (eof)
927 UNRESOLVED: gdb.ada/dyn_loc.exp: gdb_breakpoint: set breakpoint at pack.adb:25 (eof)
928 UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 (eof)
929 UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test (eof)
930 UNRESOLVED: gdb.ada/ref_tick_size.exp: gdb_breakpoint: set breakpoint at p.adb:26 (eof)
931 UNRESOLVED: gdb.ada/set_wstr.exp: gdb_breakpoint: set breakpoint at a.adb:23 (eof)
932 UNRESOLVED: gdb.ada/taft_type.exp: gdb_breakpoint: set breakpoint at p.adb:22 (eof)
933 UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
934 UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach (pass 2), pending signal catch
935 EOF
936
937 cat <<'EOF' > known-failures-re-native-extended-gdbserver
938 FAIL: gdb.threads/attach-many-short-lived-threads.exp: .*
939 EOF
940
941 known_failures_file="known-failures-${target_board}"
942 known_failures_re_file="known-failures-re-${target_board}"
943 grep --invert-match --fixed-strings --file="$known_failures_file" "${WORKSPACE}/results/gdb.sum" | \
944 grep --invert-match --extended-regexp --file="$known_failures_re_file" > "${WORKSPACE}/results/gdb.filtered.sum"
945 grep --extended-regexp --regexp="^(FAIL|XPASS|UNRESOLVED|DUPLICATE|ERROR):" "${WORKSPACE}/results/gdb.filtered.sum" > "${WORKSPACE}/results/gdb.fail.sum" || true
946
947 # For informational purposes: check if some known failure lines did not appear
948 # in the gdb.sum.
949 echo "Known failures that don't appear in gdb.sum:"
950 while read line; do
951 if ! grep --silent --fixed-strings "$line" "${WORKSPACE}/results/gdb.sum"; then
952 echo "$line"
953 fi
954 done < "$known_failures_file" > "${WORKSPACE}/results/known-failures-not-found.sum"
955
956 # Convert results to JUnit format.
957 failed_tests=0
958 sum2junit "${WORKSPACE}/results/gdb.filtered.sum" "${WORKSPACE}/results/gdb.xml" || failed_tests=1
959
960 # Clean the build directory
961 $MAKE clean
962
963 # Exit with failure if any of the tests failed
964 exit $failed_tests
965
966 # EOF
This page took 0.06418 seconds and 5 git commands to generate.