diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2014-05-30 12:11:15 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2014-05-30 12:11:15 +0100 |
commit | 29f095214040d604e9ec4f933bd2c3bfad7a722b (patch) | |
tree | cbd1df796743eae774c7196b0da282b84899ce9b /libstdc++-v3 | |
parent | 269cf22b9ae62a3902c2214a6bd26d00f165839d (diff) | |
download | gcc-29f095214040d604e9ec4f933bd2c3bfad7a722b.zip gcc-29f095214040d604e9ec4f933bd2c3bfad7a722b.tar.gz gcc-29f095214040d604e9ec4f933bd2c3bfad7a722b.tar.bz2 |
libstdc++.exp (libstdc++_init): Adjust regexp to work with previous versions of Tcl.
* testsuite/lib/libstdc++.exp (libstdc++_init): Adjust regexp to
work with previous versions of Tcl.
From-SVN: r211077
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/lib/libstdc++.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b9520d3..b90cc3b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2014-05-30 Jonathan Wakely <jwakely@redhat.com> + + * testsuite/lib/libstdc++.exp (libstdc++_init): Adjust regexp to + work with previous versions of Tcl. + 2014-05-29 Jonathan Wakely <jwakely@redhat.com> * include/tr2/bool_set: Use UTF-8 for accented characters. diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 2b2a38b..d91bed6 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -283,7 +283,7 @@ proc libstdc++_init { testfile } { append cxxflags " " append cxxflags [getenv CXXFLAGS] - if ![regexp "\-O" $cxxflags] { + if ![regexp ".*-O" $cxxflags] { append cxxflags " -g -O2" } |