From aac595770c4b008290640441fe51bb29e740d295 Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Mon, 17 Jul 2017 15:54:32 +0000 Subject: [PATCH] gcc-dg.exp: Increase expect's match buffer size. 2017-07-17 Bernd Edlinger * lib/gcc-dg.exp: Increase expect's match buffer size. From-SVN: r250279 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/lib/gcc-dg.exp | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 22f6fdb1810..5ff0141dde5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-07-17 Bernd Edlinger + + * lib/gcc-dg.exp: Increase expect's match buffer size. + 2017-07-17 Bin Cheng PR target/81369 diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp index e55557491bc..cb5d1843c92 100644 --- a/gcc/testsuite/lib/gcc-dg.exp +++ b/gcc/testsuite/lib/gcc-dg.exp @@ -43,6 +43,9 @@ if { [ishost "*-*-cygwin*"] } { setenv LANG C.ASCII } +# Avoid sporadic data-losses with expect +match_max -d 10000 + # Ensure GCC_COLORS is unset, for the rare testcases that verify # how output is colorized. if [info exists ::env(GCC_COLORS) ] { -- 2.30.2