From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19199 invoked by alias); 11 Nov 2014 20:08:29 -0000 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 Received: (qmail 19148 invoked by uid 89); 11 Nov 2014 20:08:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 11 Nov 2014 20:08:18 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3jcg9p4jFXz3hjjR; Tue, 11 Nov 2014 21:08:14 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3jcg9p3wDHzvh4H; Tue, 11 Nov 2014 21:08:14 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id Tt_3jjHOVaxo; Tue, 11 Nov 2014 21:08:13 +0100 (CET) X-Auth-Info: 6Fh7EwJTVcG0i8oMct1trdz7wBWcY54r+YgRmrjkXrYUF4pkVrvTo0ODRzo4U8H+ Received: from igel.home (ppp-93-104-157-2.dynamic.mnet-online.de [93.104.157.2]) by mail.mnet-online.de (Postfix) with ESMTPA; Tue, 11 Nov 2014 21:08:13 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 83E822C0BAE; Tue, 11 Nov 2014 21:08:13 +0100 (CET) From: Andreas Schwab To: David Taylor Cc: gdb@sourceware.org Subject: Re: GDB testsuite questions References: <9588.1415728864@usendtaylorx2l> X-Yow: Where's my SOCIAL WORKER? Date: Tue, 11 Nov 2014 20:08:00 -0000 In-Reply-To: <9588.1415728864@usendtaylorx2l> (David Taylor's message of "Tue, 11 Nov 2014 13:01:04 -0500") Message-ID: <87wq71ijpu.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2014-11/txt/msg00010.txt.bz2 David Taylor writes: > . how to grab part of the each of the responses to multiple gdb commands > and do arithmetric on the result to decide whether the test failed or > passed. Use the expect_out variable, there are various examples of its use in the testsuite. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."