This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fwd: help: Problem in testing patch for gfortan


Hello,

The best way to obtain answers to such questions is to send them to
the gfortran mailing-list.

As for the two testsuites, as far as I understand, fortran-torture
tries to gather a lot of fortran codes testing all areas of the
fortran standard, while the other gathers codes testing features that
failed at some point during the development of gfortran. I always add
the testcases I provide with patches to gfortran.dg, and I think most
people around do the same.

As for your point 4, I use "make -k check-f95" in the folder you
mention. It runs both fortran testsuites. As for writing actual
testcases, I guess you can read http://gcc.gnu.org/install/test.html
and look at the testcases already in CVS.

FX

---------- Forwarded message ----------
From: Gaurav Gautam, Noida <gauravga@noida.hcltech.com>
Date: Jul 28, 2005 3:27 PM
Subject: help: Problem in testing patch for gfortan
To: fxcoudert@gmail.com

Hi  Fx, 

I have written a patch for gfortran and wish to test it. However I am
finding some difficulties, regarding testing for the patch.

Please guide me. I have read the information on the gfortran site. But
I am not able to understand a few things

1) Why do we have two types of test suites here...  i.e.  gfortran.dg
and gfortran.fortran-torture. What is the difference between the test
cases between the two?

2) Is it necessary to add TCs in both the folders? 

My understanding is that test cases in Gfortran.dg are to check the
error messages and run time behavior of the TC. Is it so ?

3) How does u write test cases for the Gfortran.dg folder? There is
some syntax or rules so that these TC are compatible with dejagnu
frame work.

Please help as I am not able to write TCs for this folder. I have also
tried with deja site. But could not gather much.

I may not be able to gather much time to read the full documentation
of deja, so I need some quick startup tips to writing TC in deja. for
gfortran.

4) How do I run the test suite. As far as I know it's by "make –k
check-gfortran" and I am running this command in "objdir/gcc/". Is it
so. Please tell me the detailed procedure to run test suite and
interpret its results.

I would also like to know the detailed process of patch submission.
The info on site is at a very abstract level. Please elaborate.

Gaurav

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]