diff options
author | Janis Johnson <janis187@us.ibm.com> | 2009-01-07 17:48:28 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2009-01-07 17:48:28 +0000 |
commit | 6286c07888d229895b665f1ef1d09e89669c26f1 (patch) | |
tree | 53dc946572de142544a72a30bacda2d467f2fae5 /gcc | |
parent | 30471e01ada243667a39c66be639915e62535e87 (diff) | |
download | gcc-6286c07888d229895b665f1ef1d09e89669c26f1.zip gcc-6286c07888d229895b665f1ef1d09e89669c26f1.tar.gz gcc-6286c07888d229895b665f1ef1d09e89669c26f1.tar.bz2 |
* lib/target-supports-dg.exp (check_test_flags): Delete.
From-SVN: r143162
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/lib/target-supports-dg.exp | 30 |
2 files changed, 4 insertions, 30 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4055cfc..080c89b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2009-01-07 Janis Johnson <janis187@us.ibm.com> + + * lib/target-supports-dg.exp (check_test_flags): Delete. + 2009-01-07 Jan Sjodin <jan.sjodin@amd.com> PR tree-optimization/38492 diff --git a/gcc/testsuite/lib/target-supports-dg.exp b/gcc/testsuite/lib/target-supports-dg.exp index 0f8c725..655af3e 100644 --- a/gcc/testsuite/lib/target-supports-dg.exp +++ b/gcc/testsuite/lib/target-supports-dg.exp @@ -181,36 +181,6 @@ proc dg-add-options { args } { } } -# Check the flags with which the test will be run against options in -# a test directive that will skip or xfail that test. The DejaGnu proc -# check_conditional_xfail will look at the options in compiler_flags, so -# set that up for this test based on flags we know about. - -proc check_test_flags { args } { - global compiler_flags - upvar 2 dg-extra-tool-flags extra_tool_flags - - # Pull the args out of the enclosing list. - set args [lindex $args 0] - - # Start the list with a dummy tool name so the list will match "*" - # if there are no flags. - set compiler_flags " toolname " - append compiler_flags $extra_tool_flags - set dest [target_info name] - if [board_info $dest exists multilib_flags] { - append compiler_flags "[board_info $dest multilib_flags] " - } - - set answer [check_conditional_xfail $args] - - # Any value in this variable originally was left over from an earlier test. - set compiler_flags "" - - verbose "check_test_flags: $args $answer" 2 - return $answer -} - # Compare flags for a test directive against flags that will be used to # compile the test: multilib flags, flags for torture options, and either # the default flags for this group of tests or flags specified with a |