diff options
author | Janis Johnson <janis187@us.ibm.com> | 2004-11-30 21:37:14 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2004-11-30 21:37:14 +0000 |
commit | d7d05b864b4cd801d7b79af3fffa3c20a15f68e5 (patch) | |
tree | d275bbc534551be2bbd7cd6a565d69a6fdb992f1 /gcc/testsuite/lib | |
parent | 688977080c69ae454fd568d6af42c57679ec885a (diff) | |
download | gcc-d7d05b864b4cd801d7b79af3fffa3c20a15f68e5.zip gcc-d7d05b864b4cd801d7b79af3fffa3c20a15f68e5.tar.gz gcc-d7d05b864b4cd801d7b79af3fffa3c20a15f68e5.tar.bz2 |
* lib/compat.exp (compat-get-options): Fix for use with dg-xfail-if.
From-SVN: r91542
Diffstat (limited to 'gcc/testsuite/lib')
-rw-r--r-- | gcc/testsuite/lib/compat.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/compat.exp b/gcc/testsuite/lib/compat.exp index 9bf71d7..79f6f15 100644 --- a/gcc/testsuite/lib/compat.exp +++ b/gcc/testsuite/lib/compat.exp @@ -200,6 +200,9 @@ proc compat-get-options { src } { global compiler_conditional_xfail_data set compiler_conditional_xfail_data "" + # dg-xfail-if needs access to dg-do-what. + upvar dg-do-what dg-do-what + set tmp [dg-get-options $src] foreach op $tmp { set cmd [lindex $op 0] |