Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gcc/testsuite/gcc.c-torture/execute



On Thu, Sep 20, 2012 at 2:26 PM, Jukka Ruohonen <jruohonen%iki.fi@localhost> 
wrote:
> On Thu, Sep 20, 2012 at 11:37:14AM +0900, Masanobu SAITOH wrote:
>> ============= tst.sh =========
>> #!/bin/sh
>>
>> for i in $*; do
>>     gcc -O2 $i -o pr
>>     ./pr
>>     if [ $? != 0 ]; then
>>         echo $i:        FAIL;
>>     else
>>         echo $i:        Success;
>>     fi
>> done
>> ==============================
>
> Off-topic, but: if this is as easy as the above script, I wonder why we
> haven't integrated GCC's test suite to our test infra?

Last I looked years ago ... these native test programs are supposed to
run either via remote host or gdb's "psim" emulator, using dejagnu
(tcl).  Such a complicate setup is *very difficult* to integrate *very
cleanly*.

If we agree that toolchain testsuits are important to be integrated
into NetBSD (which I strongly believe), we'd also agree that limited,
a little hackish way to integrate testsuits is acceptable. :)

>
> - Jukka.


Home | Main Index | Thread Index | Old Index