mirror of git://gcc.gnu.org/git/gcc.git
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>
|
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
|
* python/libstdcxx/v6/printers.py (SingleObjContainerPrinter): Allow
|
||||||
display_hint to be set by subclasses.
|
display_hint to be set by subclasses.
|
||||||
(StdVariantPrinter): Use array for display_hint. Adjust output to be
|
(StdVariantPrinter): Use array for display_hint. Adjust output to be
|
||||||
|
|
|
||||||
|
|
@ -210,6 +210,12 @@ proc gdb-test { marker {selector {}} {load_xmethods 0} } {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-re {Error while executing Python code.[\n\r]} {
|
||||||
|
fail "$testname"
|
||||||
|
remote_close target
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
-re {^[^$][^\n\r]*[\n\r]+} {
|
-re {^[^$][^\n\r]*[\n\r]+} {
|
||||||
send_log "skipping: $expect_out(buffer)"
|
send_log "skipping: $expect_out(buffer)"
|
||||||
exp_continue
|
exp_continue
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue