summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/weak/weak.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/weak/weak.exp')
-rw-r--r--gcc/testsuite/gcc.dg/weak/weak.exp20
1 files changed, 5 insertions, 15 deletions
diff --git a/gcc/testsuite/gcc.dg/weak/weak.exp b/gcc/testsuite/gcc.dg/weak/weak.exp
index 595ca92c005..8a53eecde7e 100644
--- a/gcc/testsuite/gcc.dg/weak/weak.exp
+++ b/gcc/testsuite/gcc.dg/weak/weak.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 1997 Free Software Foundation, Inc.
+# Copyright (C) 1997, 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -25,17 +25,7 @@ if ![info exists DEFAULT_CFLAGS] then {
set DEFAULT_CFLAGS " -ansi -pedantic-errors"
}
-if { [ check_weak_available ] == 1 } {
-
- dg-init
-
- dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \
- "" $DEFAULT_CFLAGS
-
- dg-finish
-
-} elseif { [ check_weak_available ] == 0 } {
- unsupported "gcc.dg/weak"
-} else {
- unresolved "gcc.dg/weak"
-}
+dg-init
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \
+ "" $DEFAULT_CFLAGS
+dg-finish