I don't think we should have any executable tests in the front end at all.
I think the easiest way here would be to check in an input file alongside
the test file similar to how the Object tests work (an Inputs directory).

Thoughts?

On Tue Dec 17 2013 at 12:19:59 PM, Justin Bogner <[email protected]>
wrote:

> Justin Bogner <[email protected]> writes:
> >> +// RUN: %clangxx %s -o %t1 -fprofile-instr-generate
> >> +// RUN: mkdir -p %tdir && cd %tdir && %t1
> >>
> >> This is going to fail on any platform that doesn't have native codegen
> >> enabled by default.
> >
> > Hmm. Is there a REQUIRES or something I can use to conditionally enable
> > them then? I'm guessing if we don't have native codegen I can't do
> > something tricky like generate IR and run it with lli or something
> > either.
>
> This seems to be "REQUIRES: native". I'll add that to both tests.
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to