From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24648 invoked by alias); 14 Apr 2004 18:56:43 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24628 invoked from network); 14 Apr 2004 18:56:42 -0000 Received: from unknown (HELO mail-out3.apple.com) (17.254.13.22) by sources.redhat.com with SMTP; 14 Apr 2004 18:56:42 -0000 Received: from mailgate2.apple.com (a17-128-100-204.apple.com [17.128.100.204]) by mail-out3.apple.com (8.12.11/8.12.11) with ESMTP id i3EIufpc020712 for ; Wed, 14 Apr 2004 11:56:41 -0700 (PDT) Received: from relay2.apple.com (relay2.apple.com) by mailgate2.apple.com (Content Technologies SMTPRS 4.3.6) with ESMTP id ; Wed, 14 Apr 2004 11:56:41 -0700 Received: from [17.201.22.21] (moleja.apple.com [17.201.22.21]) by relay2.apple.com (8.12.11/8.12.11) with ESMTP id i3EIudXE024613; Wed, 14 Apr 2004 18:56:39 GMT In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <65F7C997-8E45-11D8-8B96-000393D457E2@apple.com> Content-Transfer-Encoding: 7bit Cc: gdb@sources.redhat.com From: Jason Molenda Subject: Re: Dejagnu testsuite Date: Wed, 14 Apr 2004 20:29:00 -0000 To: Manoj Iyer X-SW-Source: 2004-04/txt/msg00081.txt.bz2 Hi Manoj, On Apr 14, 2004, at 11:35 AM, Manoj Iyer wrote: > Is there any documentation on how to compile and execute the testsuite > that is part of the GDB package? After you've built gdb, and have tcl, expect, and dejagnu pre-installed on your system or have them in your build tree, you just run "make check-gdb". Any tests that fail will print a FAIL message to the screen; in gdb/testsuite there are two files of note, "gdb.sum" and "gdb.log". The former shows the status of each test which ran. The latter shows all of the communication with gdb during the test run. There are many ways to change how tests are run, etc., this is most easily done with the RUNTESTFLAGS argument to make. e.g. to run the mi-stack.exp tests only you would do make check-gdb RUNTESTFLAGS=mi-stack.exp You can also pass "--help" as the RUNTESTFLAGS arg and you'll get a list of all the options it will accept. That should get you started. Jason