dejagnu
[Top][All Lists]
Advanced

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

RE: [DejaGnu] Testsuite classification


From: Arati Dikey
Subject: RE: [DejaGnu] Testsuite classification
Date: Tue, 14 Aug 2001 12:45:24 +0530

Thank you rob.
If you do not mind, I am writing the instructions I followed to build
the
sh-coff toolchain.
Please build the toolchain and help me proceed.


src has gcc-2.95.3 , binutils-2.11.2, newlib-1.9.0

Build Procedure

STEP :1 To build and install binutils

$mkdir build-binutils
$cd build-binutils
$../src/binutils-2.11.2/configure --target=sh-coff
$make
$make install

STEP :2 Set the PATH variable
$export PATH=$PATH:/usr/local/bin

STEP :3 Build and install  *Just the C compiler* fromGCC
$mkdir build-gcc
$cd build-gcc
$../src/gcc-2.95.3/configure -enable-languages=c,c++  --target=sh-coff
--wit
h-newlib
$make LANGUAGES=c all-gcc
$make LANGUAGES=c install-gcc

--with-newlib is critical since it tells the compiler not to try to
include
stdlib.h and unistd.h when building libgcc.a ,which is built as a part
of
the core compiler build. Please note we are specifically only building
the C
compiler and just that. Now after step 3 you can build C code with the
installed  compiler , you have also build the C++ compiler .

STEP :4 Build and install Newlib
$mkdir build-newlib
$cd build-newlib
$../src/newlib-1.9.0/configure --target=sh-coff
$make
$make install

Now you have the target environment in place and you can build the rest
of
the world.

STEP :5 Build and install rest of the GCC compilers and language runtime
and/or support libraries
$ cd ../build-gcc
$ make
$make install

After this, I installed dejagnu 1.4.0. As gcc2.95.3 has no testsuite, I
used
the one in gcc3.0
and got the following

GCC     PASS          10077
        FAIL          4927
        XPASS         2
        XFAIL         78
        UNRESOLVED      132
        UNSUPPORTED     59
        WARNINGS        23
        ERRORS  3

Arati.


-----Original Message-----
From: 'Rob Savoye' [mailto:address@hidden
Sent: Tuesday, July 31, 2001 7:30 PM
To: GNU Team
Cc: address@hidden
Subject: Re: [DejaGnu] Testsuite classification


On Tue, Jul 31, 2001 at 02:11:21PM +0530, GNU Team wrote:
>
> I have a question regarding these testsuites.
> How do I categorize them ?
> i.e. after running the gcc 3.0 test suite on  gcc 2.95.3 (sh-coff-gcc)
> I got about 4500 FAILS. (I ignored the 'tool init file warning')

  If I could actually get GCC 2.95.3 or 3.0 to actually build a cross
compiler, I'd be able to check this...

> Now, is there any document which classifies these errors ?
> ie. which tests must PASS and which may not pass ?
> Or does it mean that compiler has 4500 bugs which must be fixed ?

  All tests should pass, or be marked XFAIL. Something is majorly wrong.
Questions on the GCC testsuite should probably go to the GCC list, not
the DejaGnu one.

        - rob -


_______________________________________________
DejaGnu mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/dejagnu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]