public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Minor testing notes
@ 1998-07-20  1:16 Jeffrey A Law
  0 siblings, 0 replies; 3+ messages in thread
From: Jeffrey A Law @ 1998-07-20  1:16 UTC (permalink / raw)
  To: egcs

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Minor testing notes
  1998-07-21 23:25 Billinghurst, David (RTD)
@ 1998-07-22 22:46 ` Jeffrey A Law
  0 siblings, 0 replies; 3+ messages in thread
From: Jeffrey A Law @ 1998-07-22 22:46 UTC (permalink / raw)
  To: Billinghurst, David (RTD); +Cc: 'egcs@cygnus.com'

  In message <BE186FF1FA63D111B6510000C07BDF0D113E0F@CRCMAIL.crts.techaust.riot
into.com.au>you write:
  > 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.
The templates are really designed to work with an installed version of
gcc-2.8.1 or egcs-1.0.3a.  Making it work with an uninstalled gcc-2.8.1
or egcs-1.0.3a tree will take some additional work.

You may be able to add a CFLAGS= statement to provide the proper -B
arguments to make it work.

jeff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Minor testing notes
@ 1998-07-21 23:25 Billinghurst, David (RTD)
  1998-07-22 22:46 ` Jeffrey A Law
  0 siblings, 1 reply; 3+ messages in thread
From: Billinghurst, David (RTD) @ 1998-07-21 23:25 UTC (permalink / raw)
  To: 'law@cygnus.com'; +Cc: 'egcs@cygnus.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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-07-22 22:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-20  1:16 Minor testing notes Jeffrey A Law
1998-07-21 23:25 Billinghurst, David (RTD)
1998-07-22 22:46 ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).