dejagnu
[Top][All Lists]
Advanced

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

RE: Looking for binutils test cases and documentation in dejagnutest sui


From: Nitin Yewale
Subject: RE: Looking for binutils test cases and documentation in dejagnutest suite
Date: Thu, 24 Jun 2004 18:08:50 +0530

Hi,
> 2> I want to use utilities like "readelf" in my test cases as well. Can
> anybody tell me the reference test cases in dejagnu test suite?

I would like write a test case in dejagnu for the following 

***********************START OF TINY.C***********************
        const long testVar __attribute__((tiny_data)) = 5;
        long cVat __attribute__((tiny_data));
        long datac __attribute__((tiny_data)) = 5;
int main ()
{
return 1;
}
***************************END OF TINY.C*********************
h8300-elf-gcc -c tiny.c
h8300-elf-readelf tiny.o -S >dmp.out
h8300-elf-gcc -c tiny.c -fdata-sections
h8300-elf-readelf tiny.o -S >>dmp.out

After executio of above sequence I want to just compare that h8300-elf-readelf 
utility shows the things which I was expected or not. [i.e. sections with 
variable names].

Could you please guide for the same? or give some pointer for any reference 
test case in dejagnu test suite?

Regards,
Nitin Yewale,
KPIT Cummins InfoSystems Ltd.
Pune, India

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users. 
Visit http://www.kpitgnutools.com for details. 
Latest versions of KPIT GNU tools were released on June 1, 2004.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of Ben
Elliston
Sent: Wednesday, June 23, 2004 4:19 AM
To: address@hidden
Subject: Re: Looking for binutils test cases and documentation in
dejagnutest suite


"Nitin Yewale" <address@hidden> writes:

>       I am able to write 2 test cases by looking at the test cases
>       present in gcc.c-torture/compile directory.
> 
> 1> Can anybody tell me where I can get the documentation of the
> procedures used in the test cases like "dg-options" or "dg-final"

The in-source documentation in dejagnu/lib/dg.exp is quite extensive.

> 2> I want to use utilities like "readelf" in my test cases as well. Can
> anybody tell me the reference test cases in dejagnu test suite?

I'm sorry, I don't understand this question.  Can you reprhase it?

Ben



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




reply via email to

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