This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Minor testing notes
- To: "'law at cygnus dot com'" <law at cygnus dot com>
- Subject: RE: Minor testing notes
- From: "Billinghurst, David (RTD)" <David dot Billinghurst at riotinto dot com dot au>
- Date: Wed, 22 Jul 1998 06:05:26 -0000
- Cc: "'egcs at cygnus dot com'" <egcs at cygnus dot com>
Tried this but can't get it to work. I have built egcs-1.0.3a and
egcs-19980715 in a
separate directory from the source. Neither are installed.
Comparing gcc.log from the successful testing of the snapshot with this
failure, I see that gcc
is not getting the flag
"-B/usr/local/imports/BuildTree.irix/egcs-19980715/gcc/ " or similar.
How is this flag passed in, and what does it do. Can't find any mention
of this in gcc or dejagnu
documentation.
+++++++++++++++++++++++++++++++++++++++++
(Mr) David Billinghurst
Comalco Research and Technical Support
PO Box 316, Thomastown, Vic, Australia, 3074
Phone: +61 3 9469 0642
FAX: +61 3 9462 2700
Email: David.Billinghurst@riotinto.com
site.exp is
################################## site.exp
#################################
#snapdir should point to the top-level directory of an unpacked egcs-1.1
# snapshot
set snapdir "/usr/local/imports/egcs-19980715"
# set old_release_prefix to the prefix directory of an installed
egcs-1.0.3a.
set old_release_prefix /usr/local/imports/BuildTree.irix/egcs-1.0.3a
set rootme "."
set target_triplet [exec "$snapdir/config.guess"]
set srcdir "$snapdir/gcc/testsuite"
set GCC_UNDER_TEST "$old_release_prefix/gcc/xgcc"
set GXX_UNDER_TEST "$old_release_prefix/gcc/g++"
########################################################################
######
Top of unsuccessful gcc.log is
########################### gcc.log
###########################################
Test Run By billingd on Wed Jul 22 11:10:00 1998
Native configuration is mips-sgi-irix6.2
=== gcc tests ===
Running target unix
Using /usr/local/bin/../share/dejagnu/baseboards/unix.exp as board
description file for target.
Using /usr/local/bin/../share/dejagnu/config/unix.exp as generic
interface file for target.
Using /usr/local/imports/egcs-19980715/gcc/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running
/usr/local/imports/egcs-19980715/gcc/testsuite/gcc.c-torture/code_qualit
y/code_quality.exp ...
Executing on host:
/usr/local/imports/BuildTree.irix/egcs-1.0.3a/gcc/xgcc
/usr/local/imports/egcs-19980715/gcc/testsuite/gcc.c-torture/code_qualit
y/920608-1.c -w -O0 -c -o /tmp/920608-1.o
compiler exited with status 1
output is:
xgcc: installation problem, cannot exec `cpp': No such file or directory
FAIL: gcc.c-torture/code_quality/920608-1.c, -O0
########################################################################
#############
top of successful egcs-19980715/gcc/testsuite/gcc.log
########################################################################
#########
Test Run By billingd on Wed Jul 22 10:31:17 1998
Native configuration is mips-sgi-irix6.2
=== gcc tests ===
Running target unix
Using /usr/local/bin/../share/dejagnu/baseboards/unix.exp as board
description file for target.
Using /usr/local/bin/../share/dejagnu/config/unix.exp as generic
interface file for target.
Using /usr/local/imports/egcs-19980715/gcc/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running
/usr/local/imports/egcs-19980715/gcc/testsuite/gcc.c-torture/code_qualit
y/code_quality.exp ...
Executing on host:
/usr/local/imports/BuildTree.irix/egcs-19980715/gcc/xgcc
-B/usr/local/imports/BuildTree.irix/egcs-1998
0715/gcc/
/usr/local/imports/egcs-19980715/gcc/testsuite/gcc.c-torture/code_qualit
y/920608-1.c -w -O0 -c -o /usr/loc
al/imports/BuildTree.irix/egcs-19980715/gcc/testsuite/920608-1.o
PASS: gcc.c-torture/code_quality/920608-1.c, -O0
########################################################################
##########
> -----Original Message-----
> From: Jeffrey A Law [SMTP:law@cygnus.com]
> Sent: Monday, 20 July 1998 15:59
> To: egcs@cygnus.com
> Subject: Minor testing notes
>
>
> Some of you might find this site.exp template easier to work with
> than the original one:
>
>
> # snapdir should point to the top-level directory of an unpacked
> egcs-1.1
> # snapshot
> set snapdir "/some/place/egcs-19980715"
>
> # set old_release_prefix to the prefix directory of an installed
> egcs-1.0.3a.
> set old_release_prefix /prefix/for/egcs-1.0.3a
>
> set rootme "."
> set target_triplet [exec "$snapdir/config.guess"]
> set srcdir "$snapdir/gcc/testsuite"
> set GCC_UNDER_TEST "$old_release_prefix/bin/gcc"
> set GXX_UNDER_TEST "$old_release_prefix/bin/g++"
>
>
>
> You should also be aware that the gcc testsuite tests an option (-Os)
> that is not available in gcc-2.8.1 or egcs-1.0.3a. So expect many gcc
> failures on those platforms. This is normgl and expected behavior.
>
> jeff