This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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]

[RFC] GDB testsuite script to simplify execution of testcases.


I wrote this script (attached) that will make executing GDB testcases
easy. The script has options to do the following.

- generate a stand alone testsuite with sources from mainline CVS
- execute testcases in 32/64 bit mode.
- execute a perticular testcase or all testcase
- use a user defined gdb or default gdb installed on the system

Type the command with no options or -h to see all options. These options
may be provided in combinations.

This was useful for me to test a GDB that I built or test a gdb that came
with a distro. It generates a stand alone testsuite based on the mainline
sources. I just thought there may be others out there who would want the
same, the script need not necessarly be part of the GDB sources but
might be useful for someone wanting to run the testcases without going
into details of howto.

If the maintainers feel that it is nice to have it checked into cvs I will
be happy to do so. Script was tested on PowerPC (RedHat & SLES) and on X86
(Debian sarge).

Thanks
-----
manjo
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Cognito ergo sum                                                          +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Attachment: rungdbtest
Description: GDB test script


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