From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82272 invoked by alias); 13 May 2016 09:35:17 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 82216 invoked by uid 89); 13 May 2016 09:35:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: mga09.intel.com Received: from mga09.intel.com (HELO mga09.intel.com) (134.134.136.24) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 May 2016 09:35:05 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 13 May 2016 02:35:03 -0700 X-ExtLoop1: 1 Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga001.fm.intel.com with ESMTP; 13 May 2016 02:35:02 -0700 Received: from ulvlx001.iul.intel.com (ulvlx001.iul.intel.com [172.28.207.17]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u4D9Z21T010258; Fri, 13 May 2016 10:35:02 +0100 Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id u4D9Z1AM017840; Fri, 13 May 2016 11:35:01 +0200 Received: (from heckel@localhost) by ulvlx001.iul.intel.com with œ id u4D9Z1UU017730; Fri, 13 May 2016 11:35:01 +0200 From: Bernhard Heckel To: qiyaoltc@gmail.com Cc: gdb-patches@sourceware.org, Bernhard Heckel Subject: [PATCH V2 1/7] Fortran, testsuite: Use multi_line in whatis_type testcase. Date: Fri, 13 May 2016 09:35:00 -0000 Message-Id: <1463132086-17451-2-git-send-email-bernhard.heckel@intel.com> In-Reply-To: <1463132086-17451-1-git-send-email-bernhard.heckel@intel.com> References: <1463132086-17451-1-git-send-email-bernhard.heckel@intel.com> X-IsSubscribed: yes X-SW-Source: 2016-05/txt/msg00213.txt.bz2 2016-05-11 Bernhard Heckel gdb/testsuite/Changelog: * whatis_type.exp: Use multi_line. --- gdb/testsuite/gdb.fortran/whatis_type.exp | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/gdb/testsuite/gdb.fortran/whatis_type.exp b/gdb/testsuite/gdb.fortran/whatis_type.exp index af897a6..b6324e6 100644 --- a/gdb/testsuite/gdb.fortran/whatis_type.exp +++ b/gdb/testsuite/gdb.fortran/whatis_type.exp @@ -39,15 +39,27 @@ set t1_i "$int :: t1_i" set t1_r "$real :: t1_r" gdb_test "whatis t1" \ - "type = Type t1\r\n${t1_i}\r\n${t1_r}\r\nEnd Type t1" \ + [multi_line "type = Type t1" \ + "$t1_i" \ + "$t1_r" \ + "End Type t1"] \ "whatis t1" gdb_test "whatis t1v" \ - "type = Type t1\r\n${t1_i}\r\n${t1_r}\r\nEnd Type t1" \ + [multi_line "type = Type t1" \ + "$t1_i" \ + "$t1_r" \ + "End Type t1"] \ "whatis t1v" gdb_test "ptype t1" \ - "type = Type t1\r\n ${t1_i}\r\n ${t1_r}\r\nEnd Type t1" \ + [multi_line "type = Type t1" \ + " $t1_i" \ + " $t1_r" \ + "End Type t1"] \ "ptype t1" gdb_test "ptype t1v" \ - "type = Type t1\r\n ${t1_i}\r\n ${t1_r}\r\nEnd Type t1" \ + [multi_line "type = Type t1" \ + " $t1_i" \ + " $t1_r" \ + "End Type t1"] \ "ptype t1v" -- 2.7.1.339.g0233b80