From patchwork Fri Mar 17 02:55:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 740098 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 3vkqjN2Yt1z9ryT for ; Fri, 17 Mar 2017 13:56:08 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="FMSj1FDa"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=O5USP64dSyoyOxQ078u/94qUqIW5r VKmA9Qj3BXQPk8EVfGKsck6aSUik68INKAHU9+R9qPm3hcCEaQ8SUDOjy6V9uz7a 88eVB4qEBKRVHgHg7JETE5zr0N9wnpofhOkvfiQiyPnxha6se8cW9ZZE/rmPVkig QLu4MN99DNhAG0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=TLhpA688biEo4pdIAvJ/dloz57M=; b=FMS j1FDaWfmzp3R9mAkC2pEZqMUUliwj8N2rn6gKi3V3onsFqiPZlXZi003LBgjwT7r mbfZCkKeYn6OoVcDV6DiPti58Ew2D4L66+cHpLSe+WUxJFRHR8RyHTociTn1Bj7B 3IJVTY5Vyjhw02t8WQ5up5GU5n/57wWj4Ru0zKVI= Received: (qmail 104726 invoked by alias); 17 Mar 2017 02:56:00 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 104706 invoked by uid 89); 17 Mar 2017 02:56:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy=Hx-languages-length:1525 X-HELO: relay1.mentorg.com Date: Fri, 17 Mar 2017 02:55:49 +0000 From: Joseph Myers To: Subject: conformtest: Add mips XFAIL for struct stat st_dev type (bug 17786) [committed] Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) As noted in bug 17786, MIPS o32 struct stat has the wrong type of st_dev. This patch XFAILs that test in the conformtest expectations for this case (the test still fails after the patch because there's also a similar issue for st_rdev that needs reporting and XFAILing separately, and the bug should not be closed without an actual fix, not just XFAILing). Tested for mips with build-many-glibcs.py. Committed. 2017-03-17 Joseph Myers [BZ #17786] * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file. * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for mips-o32-linux. diff --git a/conform/data/sys/stat.h-data b/conform/data/sys/stat.h-data index f7a944a..79293bf 100644 --- a/conform/data/sys/stat.h-data +++ b/conform/data/sys/stat.h-data @@ -26,7 +26,8 @@ type time_t type {struct stat} -element {struct stat} dev_t st_dev +// Bug 17786: st_dev has wrong type. +xfail[mips-o32-linux]-element {struct stat} dev_t st_dev element {struct stat} ino_t st_ino element {struct stat} mode_t st_mode element {struct stat} nlink_t st_nlink diff --git a/sysdeps/unix/sysv/linux/mips/mips32/Makefile b/sysdeps/unix/sysv/linux/mips/mips32/Makefile new file mode 100644 index 0000000..0938f40 --- /dev/null +++ b/sysdeps/unix/sysv/linux/mips/mips32/Makefile @@ -0,0 +1,4 @@ +ifeq ($(subdir),conform) +# For bug 17786. +conformtest-xfail-conds += mips-o32-linux +endif