mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-10-11 20:38:07 +00:00
Get TEST_LIBC_CALLS passing on AARCH64
This commit is contained in:
parent
802e7eb4ef
commit
ba49e86e20
22 changed files with 65 additions and 7 deletions
|
@ -85,6 +85,7 @@ __attribute__((__constructor__)) static void init(void) {
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef __x86_64__
|
||||
TEST(sched_setaffinity, isInheritedAcrossExecve) {
|
||||
cpu_set_t x, y;
|
||||
CPU_ZERO(&x);
|
||||
|
@ -99,6 +100,7 @@ TEST(sched_setaffinity, isInheritedAcrossExecve) {
|
|||
EXPECT_TRUE(WIFEXITED(ws));
|
||||
EXPECT_EQ(42, WEXITSTATUS(ws));
|
||||
}
|
||||
#endif /* __x86_64__ */
|
||||
|
||||
TEST(sched_getaffinity, getpid) {
|
||||
cpu_set_t x, y;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue