missing gcc/testsuite/objc/execute/trivial.m?

IainS developer@sandoe-acoustics.co.uk
Thu Jan 15 20:52:00 GMT 2009


On 15 Jan 2009, at 20:40, Andrew Pinski wrote:

> On Thu, Jan 15, 2009 at 12:13 PM, IainS
> <developer@sandoe-acoustics.co.uk> wrote:
>> Hi,
>> it seems that there's no "trivial.m" in  gcc/testsuite/objc/execute
>
> Hmm, this is only needed if execute.exp is run only I think.

that's true, and generally it's not noticed otherwise.

That's because, at the moment, the test for runtimes is only carried  
out once (when objc-torture.exp is loaded).

This doesn't seem quite right - because you get different results for  
"--target_board=unix\{-m32,-m64\} " and "--target_board=unix\{-m64,- 
m32\} "

I think the test should be run for each torture-init (and have a  
patch reg-testing at the moment to do this).

in the case that the test is done each time the .exp changes - then  
the trivial.m will be needed even if execute.exp is not used in  
isolation.

cheers,
Iain



More information about the Gcc mailing list