diff mbox

[testsuite] Skip gcc.misc-tests/gcov-14.c on Tru64 UNIX

Message ID yddy5t2paa5.fsf@manam.CeBiTec.Uni-Bielefeld.DE
State New
Headers show

Commit Message

Rainer Orth Jan. 20, 2012, 5:13 p.m. UTC
gcc.misc-tests/gcov-14.c FAILs on Tru64 UNIX for the same reason as on
some HP-UX versions: lack of weak definitions:

Executing on host: /var/gcc/regression/trunk/5.1b-gcc/build/gcc/xgcc -B/var/gcc/regression/trunk/5.1b-gcc/build/gcc/ /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.misc-tests/gcov-14.c    -O2 -fprofile-arcs -ftest-coverage  -lm   -o ./gcov-14.exe    (timeout = 300)
Foo
collect2: error: ld returned 1 exit status
compiler exited with status 1

I therefore skip the test on that platform, too.  I've also removed the
default include and exclude options on HP-UX which have become
unnecessary for some time.

Tested with the appropriate runtest invocations on alpha-dec-osf5.1b and
i386-pc-solaris2.11, installed on mainline.

	Rainer


2012-01-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.misc-tests/gcov-14.c: Skip on alpha*-dec-osf*.
	Remove default options on hppa*-*-hpux*.
diff mbox

Patch

# HG changeset patch
# Parent ad0ceb4567a70e3ad6d59559a41232cef76eea9c
Skip gcc.misc-tests/gcov-14.c on Tru64 UNIX

diff --git a/gcc/testsuite/gcc.misc-tests/gcov-14.c b/gcc/testsuite/gcc.misc-tests/gcov-14.c
--- a/gcc/testsuite/gcc.misc-tests/gcov-14.c
+++ b/gcc/testsuite/gcc.misc-tests/gcov-14.c
@@ -5,7 +5,8 @@ 
 /* { dg-additional-options "-flat_namespace -undefined suppress" { target *-*-darwin* }  } */
 /* { dg-require-weak "" } */
 /* { dg-do run { target native } } */
-/* { dg-skip-if "undefined weak not supported" { { hppa*-*-hpux* } && { ! hppa*64*-*-* } } { "*" } { "" } } */
+/* { dg-skip-if "undefined weak not supported" { alpha*-dec-osf* } } */
+/* { dg-skip-if "undefined weak not supported" { { hppa*-*-hpux* } && { ! hppa*64*-*-* } } } */
 
 extern int __attribute__ ((weak)) Foo ();