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