public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* How to use Dejagnu for gcc-3.0?
@ 2002-10-11 20:51 Ritu Sabharwal
  2002-10-15 16:57 ` Jim Wilson
  0 siblings, 1 reply; 4+ messages in thread
From: Ritu Sabharwal @ 2002-10-11 20:51 UTC (permalink / raw)
  To: gcc


  We have already installed gcc-3.0 but installed dejagnu later.
now we have problem of accessing runtest as gcc3.0 was installed first..

make check is not able to use runtest in the dejagnu1.4.3/bin
it is searching in srcdir/dejagnu/runtest

then how to solve this problem...
regards
ritu

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

* Re: How to use Dejagnu for gcc-3.0?
  2002-10-11 20:51 How to use Dejagnu for gcc-3.0? Ritu Sabharwal
@ 2002-10-15 16:57 ` Jim Wilson
  0 siblings, 0 replies; 4+ messages in thread
From: Jim Wilson @ 2002-10-15 16:57 UTC (permalink / raw)
  To: Ritu Sabharwal; +Cc: gcc

>make check is not able to use runtest in the dejagnu1.4.3/bin
>it is searching in srcdir/dejagnu/runtest

Put dejagnu1.4.3/bin in your PATH environment variable.

Jim

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

* Re: How to use Dejagnu for gcc-3.0?
  2002-10-12 13:03 ` Ritu Sabharwal
@ 2002-10-15 17:17   ` Jim Wilson
  0 siblings, 0 replies; 4+ messages in thread
From: Jim Wilson @ 2002-10-15 17:17 UTC (permalink / raw)
  To: Ritu Sabharwal; +Cc: Naveen Sharma, Noida, gcc

>What is the problem,the loop-1.c file is a simple file ,also we have done 
>all the things for dejagnu and gcc-3.0 installation. Now what is the 
>problem,why is it showing FAIL status.something more is to be done or the 
>way in which we are checking is wrong.

Some failures are normal.  Some of the testcases in the testsuite are there
to document known compiler bugs that we haven't fixed yet.  Some of them may
be mcompiler bugs were accidentally introduced recently and haven't been fixed
yet.

The usual way to run the testsuite is to run it twice, once without your
change, and once with your change.  If the results are worse with your change,
then you know you have a problem.

There are other testsuite results posted to the gcc-testresults mailing list.
You could try comparing your results against the ones there.

Jim


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

* RE: How to use Dejagnu for gcc-3.0?
       [not found] <E04CF3F88ACBD5119EFE00508BBB212104DB8C79@exch-01.noida.hcltech.com>
@ 2002-10-12 13:03 ` Ritu Sabharwal
  2002-10-15 17:17   ` Jim Wilson
  0 siblings, 1 reply; 4+ messages in thread
From: Ritu Sabharwal @ 2002-10-12 13:03 UTC (permalink / raw)
  To: Naveen Sharma, Noida; +Cc: gcc




We have RUNTEST set like this in Makefile and also runtest is set in 
PATH.We tried using make check to test the testcase but it gave the 
following output.
--------------------------------------------------------------------------
make check-gcc RUNTESTFLAGS="dg.exp=loop-1.c"     

OUTPUT->

make[1]: Entering directory `/home/deepakbn/pr_papers/gcc-3.0/objdir/gcc'
(rootme=`pwd`; export rootme; \
srcdir=`cd ../../gcc; pwd` ; export srcdir ;\
cd testsuite; \
EXPECT=expect ; export EXPECT ; \
if [ -f ${rootme}/../expect/expect ] ; then  \
   TCL_LIBRARY=`cd .. ; cd ../../gcc/../tcl/library ; pwd` ; \
   export TCL_LIBRARY ; fi ; \
runtest --tool gcc dg.exp=loop-1.c)
WARNING: Couldn't find the global config file.
Test Run By deepakbn on Sat Oct 12 13:40:26 2002
Native configuration is ia64-unknown-linux-gnu

                === gcc tests ===

Schedule of variations:
    unix

Running target unix
Using /home/deepakbn/pr_papers/gcc-3.0/share/dejagnu/baseboards/unix.exp 
as board description file for target.
Using /home/deepakbn/pr_papers/gcc-3.0/share/dejagnu/config/unix.exp as 
generic interface file for target.
Using /home/deepakbn/pr_papers/gcc-3.0/gcc/testsuite/config/default.exp as 
tool-and-target-specific interface file.
Running /home/deepakbn/pr_papers/gcc-3.0/gcc/testsuite/gcc.dg/dg.exp ...
FAIL: gcc.dg/loop-1.c (test for excess errors)

                === gcc Summary ===

# of unexpected failures        1
/home/deepakbn/pr_papers/gcc-3.0/objdir/gcc/xgcc version 3.0

-----------------------------------------------------------------

What is the problem,the loop-1.c file is a simple file ,also we have done 
all the things for dejagnu and gcc-3.0 installation. Now what is the 
problem,why is it showing FAIL status.something more is to be done or the 
way in which we are checking is wrong.


regards,
Ritu.



On Sat, 12 Oct 2002, Naveen Sharma, Noida wrote:

> > We have already installed gcc-3.0 but installed dejagnu later.
> > now we have problem of accessing runtest as gcc3.0 was 
> > installed first..
> > 
> > make check is not able to use runtest in the dejagnu1.4.3/bin
> > it is searching in srcdir/dejagnu/runtest
> > 
> > then how to solve this problem...
> 
> This shouldn't be problem if runtest is in your PATH environment variable.
> This is how it is set in Makefile
> 
> RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
>            then echo $$s/dejagnu/runtest ; \
>            else echo runtest ; fi`
> 
> Does that solve your problem.
> 
> Naveen.
>

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

end of thread, other threads:[~2002-10-15 23:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-11 20:51 How to use Dejagnu for gcc-3.0? Ritu Sabharwal
2002-10-15 16:57 ` Jim Wilson
     [not found] <E04CF3F88ACBD5119EFE00508BBB212104DB8C79@exch-01.noida.hcltech.com>
2002-10-12 13:03 ` Ritu Sabharwal
2002-10-15 17:17   ` Jim Wilson

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).