From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68834 invoked by alias); 20 Jul 2016 14:45:55 -0000 Mailing-List: contact gdb-testers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-testers-owner@sourceware.org Received: (qmail 68810 invoked by uid 89); 20 Jul 2016 14:45:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (176.31.208.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 20 Jul 2016 14:45:44 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] testsuite patch: Skip py-unwind.exp on x86_64 -m32 From: sergiodj+buildbot@sergiodj.net To: gdb-testers@sourceware.org Message-Id: <72b5d09937fa2dac8ca7c801b9ddefe1b0176b6f@gdb-build> Date: Wed, 20 Jul 2016 15:41:00 -0000 X-SW-Source: 2016-q3/txt/msg00924.txt.bz2 *** TEST RESULTS FOR COMMIT 72b5d09937fa2dac8ca7c801b9ddefe1b0176b6f *** Author: Jan Kratochvil Branch: master Commit: 72b5d09937fa2dac8ca7c801b9ddefe1b0176b6f testsuite patch: Skip py-unwind.exp on x86_64 -m32 (gdb) source /home/jkratoch/redhat/gdb-clean/gdb/testsuite/outputs/gdb.python/py-unwind/py-unwind.py^M Python script imported^M Python Exception Bad register: ^M (gdb) FAIL: gdb.python/py-unwind.exp: import python scripts class TestUnwinder(Unwinder): AMD64_RBP = 6 AMD64_RSP = 7 AMD64_RIP = 16 On Tue, 19 Jul 2016 12:06:09 +0200, Yao Qi wrote: py-unwind.exp does nothing on arch specific thing, so py-unwind.exp shouldn't be aware of the arch difference, but py-unwind.py should. On Tue, 19 Jul 2016 20:04:33 +0200, Pedro Alves wrote: How about we handle this in the .exp file for now and leave something more complicated for when the test is first ported to some other arch. WDYT? gdb/testsuite/ChangeLog 2016-07-20 Jan Kratochvil * gdb.python/py-unwind.exp: Test also ![is_lp64_target].