Skip to content

Commit 4b932bb

Browse files
committed
Ignore c_enum types/values that old ctest seems to fail on
1 parent 8a34fd0 commit 4b932bb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

libc-test/build.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4076,6 +4076,9 @@ fn test_linux(target: &str) {
40764076
// FIXME: "'__uint128' undeclared" in C
40774077
"__uint128" => true,
40784078

4079+
// FIXME(ctest): Failing on the 0.2 branch, likely an issue with old ctest
4080+
"pid_type" | "proc_cn_mcast_op" | "proc_cn_event" => true,
4081+
40794082
t => {
40804083
if musl {
40814084
// LFS64 types have been removed in musl 1.2.4+
@@ -4761,6 +4764,11 @@ fn test_linux(target: &str) {
47614764
// FIXME(linux): Value changed in 6.14
47624765
"SECURE_ALL_BITS" | "SECURE_ALL_LOCKS" => true,
47634766

4767+
// FIXME(ctest): Failing on the 0.2 branch, likely an issue with old ctest
4768+
t if t.starts_with("PIDTYPE_") => true,
4769+
t if t.starts_with("PROC_CN_MCAST_") => true,
4770+
t if t.starts_with("PROC_EVENT_") => true,
4771+
47644772
_ => false,
47654773
}
47664774
});

0 commit comments

Comments
 (0)