]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/lib/gdb-test.exp
Make libstdc++ tests FAIL on Python errors
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / lib / gdb-test.exp
index a0298832be1622bcdc272b7e84d3de5c3c9b25c7..3ebbf6b4d2d6c2cf95adea90873294356ef827a9 100644 (file)
@@ -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