]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
conformtest: Add mips XFAIL for struct stat st_dev type (bug 17786).
authorJoseph Myers <joseph@codesourcery.com>
Fri, 17 Mar 2017 02:54:59 +0000 (02:54 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 17 Mar 2017 02:54:59 +0000 (02:54 +0000)
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.

[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.

ChangeLog
conform/data/sys/stat.h-data
sysdeps/unix/sysv/linux/mips/mips32/Makefile [new file with mode: 0644]

index 405b594dc35e5efa798ed685eaedb2931df62293..517d6d356f2de4954befd2ddb98ebe19f6ccbddb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
 
+       [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.
+
        [BZ #21260]
        * sysdeps/unix/sysv/linux/alpha/Makefile
        [$(subdir) = conform] (conformtest-xfail-conds): New variable.
index f7a944adc5365f2747dcaf5efe82836c5b391916..79293bfe19b3b53037a67a37eaf6cadebea34ab9 100644 (file)
@@ -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 (file)
index 0000000..0938f40
--- /dev/null
@@ -0,0 +1,4 @@
+ifeq ($(subdir),conform)
+# For bug 17786.
+conformtest-xfail-conds += mips-o32-linux
+endif