This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Specifying dg-do based on the target ?


Does anyone know how to change dg-do in the gcc.dg test directory
based on the target?  I've tried e.g.:

/* { dg-do run } */
/* { dg-do assemble { target mips*-*-irix* } } */

in an attempt to get one behavior by default and another on a
particular target but it doesn't work.  The testsuite only ever takes
into account one of these commands (the first one it sees I think.)

I'm using 
ftp://gcc.gnu.org/pub/gcc/infrastructure/dejagnu-20010126.tar.gz
in case that matters.

Is there some other syntax I should be using?

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]