* testsuite/lib/gdb-test.exp (gdb-test): Fail if Python error occurs.
From-SVN: r240237
2016-09-19 Jonathan Wakely <jwakely@redhat.com>
+ * testsuite/lib/gdb-test.exp (gdb-test): Fail if Python error occurs.
+
* python/libstdcxx/v6/printers.py (SingleObjContainerPrinter): Allow
display_hint to be set by subclasses.
(StdVariantPrinter): Use array for display_hint. Adjust output to be
return
}
+ -re {Error while executing Python code.[\n\r]} {
+ fail "$testname"
+ remote_close target
+ return
+ }
+
-re {^[^$][^\n\r]*[\n\r]+} {
send_log "skipping: $expect_out(buffer)"
exp_continue