Skip to content

Commit d5d3700

Browse files
GuillaumeGomezJohnTitor
authored andcommitted
Ignore some android constants not found in tests
1 parent 738f901 commit d5d3700

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

libc-test/build.rs

+28
Original file line numberDiff line numberDiff line change
@@ -1912,6 +1912,34 @@ fn test_android(target: &str) {
19121912
// FIXME: The value has been changed on r26b:
19131913
| "SYS_syscalls" if aarch64 => true,
19141914

1915+
// From `<include/linux/sched.h>`.
1916+
| "PF_VCPU"
1917+
| "PF_IDLE"
1918+
| "PF_EXITING"
1919+
| "PF_POSTCOREDUMP"
1920+
| "PF_IO_WORKER"
1921+
| "PF_WQ_WORKER"
1922+
| "PF_FORKNOEXEC"
1923+
| "PF_SUPERPRIV"
1924+
| "PF_DUMPCORE"
1925+
| "PF_MCE_PROCESS"
1926+
| "PF_SIGNALED"
1927+
| "PF_MEMALLOC"
1928+
| "PF_NPROC_EXCEEDED"
1929+
| "PF_USED_MATH"
1930+
| "PF_USER_WORKER"
1931+
| "PF_NOFREEZE"
1932+
| "PF_KSWAPD"
1933+
| "PF_MEMALLOC_NOFS"
1934+
| "PF_MEMALLOC_NOIO"
1935+
| "PF_LOCAL_THROTTLE"
1936+
| "PF_KTHREAD"
1937+
| "PF_RANDOMIZE"
1938+
| "PF_NO_SETAFFINITY"
1939+
| "PF_MCE_EARLY"
1940+
| "PF_MEMALLOC_PIN"
1941+
| "PF_SUSPEND_TASK" => true,
1942+
19151943
_ => false,
19161944
}
19171945
});

0 commit comments

Comments
 (0)