Commit acf8f04b by Jeffrey Oldham Committed by Jeffrey D. Oldham

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
parent d150822e
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.
......
# 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 } { ...@@ -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" ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment