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 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?

- Jukka.


Home | Main Index | Thread Index | Old Index