This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Specifying dg-do based on the target ?
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 15 Oct 2002 10:39:17 -0400 (EDT)
- Subject: 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