xref: /xnu-12377.1.9/tests/sched/headers_compat_c.c (revision f6217f891ac0bb64f3d375211650a4c1ff8ca1ea)
1*f6217f89SApple OSS Distributions // Copyright (c) 2024 Apple Inc.  All rights reserved.
2*f6217f89SApple OSS Distributions 
3*f6217f89SApple OSS Distributions #include <darwintest.h>
4*f6217f89SApple OSS Distributions #include <sys/sysctl.h>
5*f6217f89SApple OSS Distributions #include <unistd.h>
6*f6217f89SApple OSS Distributions 
7*f6217f89SApple OSS Distributions #include "exported_headers.h"
8*f6217f89SApple OSS Distributions 
9*f6217f89SApple OSS Distributions T_GLOBAL_META(T_META_NAMESPACE("xnu.scheduler"),
10*f6217f89SApple OSS Distributions     T_META_RADAR_COMPONENT_NAME("xnu"),
11*f6217f89SApple OSS Distributions     T_META_RADAR_COMPONENT_VERSION("scheduler"));
12*f6217f89SApple OSS Distributions 
13*f6217f89SApple OSS Distributions T_DECL(headers_compat_c, "Verify that scheduler headers are properly guarded",
14*f6217f89SApple OSS Distributions     T_META_ENABLED(false)    // Test is at build time.
15*f6217f89SApple OSS Distributions     ) {
16*f6217f89SApple OSS Distributions 	// If we're here, it compiled!
17*f6217f89SApple OSS Distributions 	T_PASS("Great news: it compiles.");
18*f6217f89SApple OSS Distributions 
19*f6217f89SApple OSS Distributions 	T_END;
20*f6217f89SApple OSS Distributions }
21