summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2019-10-15 00:54:25 -0400
committerAnthony Green <green@moxielogic.com>2019-10-15 00:54:25 -0400
commit471ca7e83deacecaf4566c9c4199eab1a94bfb8c (patch)
treee73d7792f5005cd8549f7fee98e57ae2344e6ae5
parentf8561a746dac97f89ac9059bfd6dfec8d88c01a2 (diff)
downloadlibffi-471ca7e83deacecaf4566c9c4199eab1a94bfb8c.tar.gz
Prune extra output
-rw-r--r--testsuite/lib/libffi.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/lib/libffi.exp b/testsuite/lib/libffi.exp
index ba411ab..5d519e2 100644
--- a/testsuite/lib/libffi.exp
+++ b/testsuite/lib/libffi.exp
@@ -266,6 +266,11 @@ proc libffi-dg-test { prog do_what extra_tool_flags } {
return [libffi-dg-test-1 target_compile $prog $do_what $extra_tool_flags]
}
+proc libffi-dg-prune { target_triplet text } {
+ # We get this with some qemu emulated systems (eg. ppc64le-linux-gnu)
+ regsub -all "/bin/stty: 'standard input': unable to perform all requested operations" $text "" text
+}
+
proc libffi-init { args } {
global gluefile wrap_flags;
global srcdir