From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6574 invoked by alias); 13 Jan 2007 13:54:03 -0000 Received: (qmail 6566 invoked by uid 22791); 13 Jan 2007 13:54:02 -0000 X-Spam-Check-By: sourceware.org Received: from heller.inter.net.il (HELO heller.inter.net.il) (192.114.186.73) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 13 Jan 2007 13:53:56 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-11-156.inter.net.il [80.230.11.156]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id BNO24361 (AUTH halo1); Sat, 13 Jan 2007 15:53:50 +0200 (IST) Date: Sat, 13 Jan 2007 13:54:00 -0000 Message-Id: From: Eli Zaretskii To: Joel Brobecker CC: gdb@sourceware.org In-reply-to: <20070113132846.GI20110@adacore.com> (message from Joel Brobecker on Sat, 13 Jan 2007 17:28:46 +0400) Subject: Re: Test suite docs Reply-to: Eli Zaretskii References: <20070113132846.GI20110@adacore.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00223.txt.bz2 > Date: Sat, 13 Jan 2007 17:28:46 +0400 > From: Joel Brobecker > Cc: gdb@sourceware.org > > So, for lack of knowledge, I will not volunteer to write the doco up. > However, here some of the things I do. Bear in mind that they might > not be the most efficient way of doing things, but they should > help you in the meantime. Thanks. > I use the latest official dejagnu release, along with one of the latest > TCL and expect releases. They were the latest at the time when I did > the install, which was a while ago (perhaps a couple of years). I asked gnu.org sysadmins to install dejagnu, and they installed version 1.4.4, which I think is the latest official release. So this is okay in my case. > > . How do I compare two runs? If diff'ing testsuite/gdb.sum is the > > right way, it seems to not be documented anywhere, and gdb.sum > > doesn't seem to be preserved across runs, so one must manually > > copy it to avoid overwriting it. Am I missing something? > > I personnally use a home-made program that is essentially a smart > diff tool for .sum files. It presents the information in 3 columns, > showing only the differences. Column one, the result in the reference > test; column 2, the result in the second .sum file; and column 3 > the label of the test. > > Here is an example of the output: > % sumtool -c gdb.sum.ref gdb.sum How do you produce gdb.sum.ref? is it by manually copying some previous gdb.sum, or is there a better way?