> -----Original Message----- > From: Jeff Law [mailto:l...@redhat.com] > Sent: Wednesday, October 30, 2013 1:08 PM > To: Iyer, Balaji V; Tobias Burnus; gcc patches > Subject: Re: Testsuite / Cilk Plus: Include library path in compile flags in > gcc.dg/cilk-plus/cilk-plus.exp > > On 10/30/13 09:09, Iyer, Balaji V wrote: > > Hello Everyone, What I ideally wanted to do with my testsuite files > > was that I want all the Cilk keywords test to compile no matter what > > the architecture is, but it should only run in certain architectures > > where the runtime is enabled (this is known statically and thus the > > testsuite doesn't have to do anything to figure it out.). Can someone > > please tell me how do I do this? > > I can't recall a similar situation off the top of my head. Are you using the > dg > framework? Can you have multiple dg-do directives? > > ie, > /* { dg-do compile } */ > /* { dg-do run { target i?86-*-* x86-64-*-* } } */ >
Yes, I am using the dg-framework. I tried that couple months back, and from what it looked like, it was replacing the compile command with the run command, and then on non-x86 architectures, it was just ignoring the file... But, will try it again to see if it works. > ? > > That'd be my best guess. > > jeff