ecos.exp (wkali-2.c): Xfail if only weak aliases are supported.
2001-01-17 Jeffrey Oldham <oldham@codesourcery.com> * gcc.dg/special/ecos.exp (wkali-2.c): Xfail if only weak aliases are supported. From-SVN: r39106
This commit is contained in:
parent
d150822e55
commit
acf8f04b16
@ -1,3 +1,8 @@
|
|||||||
|
2001-01-17 Jeffrey Oldham <oldham@codesourcery.com>
|
||||||
|
|
||||||
|
* gcc.dg/special/ecos.exp (wkali-2.c): Xfail if only weak aliases
|
||||||
|
are supported.
|
||||||
|
|
||||||
2001-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
2001-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||||
|
|
||||||
* g++.old-deja/g++.other/builtins1.C: New test.
|
* g++.old-deja/g++.other/builtins1.C: New test.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
# Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -116,7 +116,10 @@ if { [ check_weak_available ] == 1 } {
|
|||||||
fail "wkali-2a.o"
|
fail "wkali-2a.o"
|
||||||
} else {
|
} else {
|
||||||
set lines [gcc_target_compile "$srcdir/$subdir/wkali-2b.c" "wkali-2b.o" object ""]
|
set lines [gcc_target_compile "$srcdir/$subdir/wkali-2b.c" "wkali-2b.o" object ""]
|
||||||
if ![string match "" $lines] then {
|
if [string match "*only weak aliases*" $lines] then {
|
||||||
|
xfail "wkali-2b.o"
|
||||||
|
file delete $srcdir/$subdir/a.out
|
||||||
|
} elseif ![string match "" $lines] then {
|
||||||
fail "wkali-2b.o"
|
fail "wkali-2b.o"
|
||||||
} else {
|
} else {
|
||||||
dg-runtest "$srcdir/$subdir/wkali-2.c" "wkali-2a.o wkali-2b.o" ""
|
dg-runtest "$srcdir/$subdir/wkali-2.c" "wkali-2a.o wkali-2b.o" ""
|
||||||
|
Loading…
Reference in New Issue
Block a user