Skip to content

Commit

Permalink
Ignore some android constants not found in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jan 14, 2024
1 parent 6e7483e commit 589285e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1907,6 +1907,27 @@ fn test_android(target: &str) {
// FIXME: The value has been changed on r26b:
| "SYS_syscalls" if aarch64 => true,

// From `<include/linux/sched.h>`.
| "PF_VCPU"
| "PF_IDLE"
| "PF_EXITING"
| "PF_POSTCOREDUMP"
| "PF_IO_WORKER"
| "PF_WQ_WORKER"
| "PF_FORKNOEXEC"
| "PF_SUPERPRIV"
| "PF_DUMPCORE"
| "PF_MCE_PROCESS"
| "PF_SIGNALED"
| "PF_MEMALLOC"
| "PF_NPROC_EXCEEDED"
| "PF_USED_MATH"
| "PF_USER_WORKER"
| "PF_NOFREEZE"
| "PF_KSWAPD"
| "PF_MEMALLOC_NOFS"
| "PF_MEMALLOC_NOIO" => true,

_ => false,
}
});
Expand Down

0 comments on commit 589285e

Please sign in to comment.