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