Make libstdc++ tests FAIL on Python errors
* testsuite/lib/gdb-test.exp (gdb-test): Fail if Python error occurs. From-SVN: r240237
This commit is contained in:
parent
f37cb70b6b
commit
ee1ab3e3c2
@ -1,5 +1,7 @@
|
||||
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
|
||||
|
@ -210,6 +210,12 @@ proc gdb-test { marker {selector {}} {load_xmethods 0} } {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user