Page MenuHomeFreeBSD

tests/libc: use an allowlist for sbrk in NetBSD-derived tests
Needs ReviewPublic

Authored by zhaoxiaoqiang007_gmail.com on Mon, Oct 5, 4:21 AM.
Tags
None
Referenced Files
F174825620: D60358.diff
Tue, Oct 6, 6:15 AM
F174809062: D60358.id188686.diff
Tue, Oct 6, 3:21 AM
F174796835: D60358.diff
Tue, Oct 6, 1:29 AM
Subscribers

Details

Reviewers
ngie
imp
kib
brooks
Summary

sbrk is obsolete and libc only provides it on amd64, arm, i386 and
powerpc. Replace the growing exclusion lists in t_dir.c and t_mlock.c
with a single positive HAS_SBRK definition per file, so architectures
without sbrk need not be enumerated as they are added.

Signed-off-by: Xiaoqiang Zhao <zhaoxiaoqiang007@gmail.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77710
Build 74593: arc lint + arc unit