From patchwork Fri Jan 23 23:52:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 432348 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 489F91401B1 for ; Sat, 24 Jan 2015 10:52:52 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; q= dns; s=default; b=QmINBXp/yLZBYMdgb2/akxmJvVojMvrqSe3RtdWVlGefCF 67d1RSeRq4pquZOhyzzUw5Mj1fvIUmi7XTe9CLIgy+db4QNCT3MHlKI3Hb3SnrnL BEfvBsTjR/2bJhw8GamzRBvL4mLNTN1kU0mlplafxOqUjrVxt3ylP1C8K4me0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; s= default; bh=t8s3vUL6dTnhdpF/3VUouss+3sQ=; b=R2kW93L2+X5a37vNFpLX R+DJDElrQIuYxwvow6H6soqDSroISBRP/gD+t3M7j1cqWZaeyyZpqY9DR+4JqQjD HI9e/dbrldK02taWfBPJl5yjYuzpb36uruBKGfgQEEitVzY9rcijb+NrBbBuCMlw ZvX5tRhtBtOQ+iY+eyNMK0k= Received: (qmail 8073 invoked by alias); 23 Jan 2015 23:52:45 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 8064 invoked by uid 89); 23 Jan 2015 23:52:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f174.google.com Received: from mail-yk0-f174.google.com (HELO mail-yk0-f174.google.com) (209.85.160.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 23 Jan 2015 23:52:43 +0000 Received: by mail-yk0-f174.google.com with SMTP id 131so164947ykp.5 for ; Fri, 23 Jan 2015 15:52:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=4/lGgLFa20tKOCldSE52TE+eJJFPTKJhOHE2FTdwaOM=; b=GaZwT9/qi0iB4vO43dAhtEitUkzlrMD+gTu3gtrJtJ3TodPo2SXGY146KVua2IzhoN t0o5rm7m68SIOY6mOBqshMKn073a/F8B2FSQO9wt6b6+twdMHEomHBM5t529v3H3a3Ii fpuiiHBI7JiZs3M1YuwwcW1zS7MMALwMfWKpVzVxB+jtK/9HFNeAOI9oGFgq+5409Bmm i3mHmBW6ZXQ/jkRHD63X/cLHW73K+Nu42Wbs62aQyABiuCQFoS+l67uIpgowh6Ql0Cjy X4TEAa/ygGEWisf4+Jop3Lglpuls79jDNxHlmGBp/mgRjLx0Dtluy8cel1zEJjRwUojh iHnA== X-Gm-Message-State: ALoCoQkRSku0+VUHl/WWlN7sK5F8SRbDgMW7TcamUuunfy1dl6Eoy1hIzKvke0UQ+vvb+UPeeN7d MIME-Version: 1.0 X-Received: by 10.236.222.169 with SMTP id t39mr4158407yhp.40.1422057161273; Fri, 23 Jan 2015 15:52:41 -0800 (PST) Received: by 10.170.57.196 with HTTP; Fri, 23 Jan 2015 15:52:41 -0800 (PST) Date: Fri, 23 Jan 2015 15:52:41 -0800 Message-ID: Subject: Go testsuite patch committed: Skip nilptr2.go on targets without split stack From: Ian Lance Taylor To: gcc-patches , "gofrontend-dev@googlegroups.com" PR 64510 points out that the nilptr2.go test fails on targets that do not support split stacks, because it passes a huge structure on the stack. This patch avoids running the test on those targets. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu (where the test is not skipped, but at least there are no Tcl syntax errors). Committed to mainline. Ian 2015-01-23 Ian Lance Taylor PR go/64510 * go.test/go-test.exp (go-gc-tests): Skip nilptr2.go test on targets without split stack support. Index: go-test.exp =================================================================== --- go-test.exp (revision 219700) +++ go-test.exp (working copy) @@ -414,7 +414,8 @@ proc go-gc-tests { } { if { ( [file tail $test] == "select2.go" \ || [file tail $test] == "stack.go" \ - || [file tail $test] == "peano.go" ) \ + || [file tail $test] == "peano.go" \ + || [file tail $test] == "nilptr2.go" ) \ && ! [check_effective_target_split_stack] } { # These tests fails on targets without split stack. untested $name