]> git.saurik.com Git - apple/xnu.git/blobdiff - tests/contextswitch.c
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / tests / contextswitch.c
index b2ec166249527a37ba7a14bfd8f6fbe7d719fe81..cb093b1f8d9eed9006498b6075586cabbe70d7d0 100644 (file)
@@ -196,10 +196,10 @@ T_GLOBAL_META(T_META_NAMESPACE("xnu.scheduler"));
 /* Disable the test on MacOS for now */
 T_DECL(perf_csw, "context switch performance", T_META_TAG_PERF, T_META_CHECK_LEAKS(false), T_META_ASROOT(true))
 {
-#if !CONFIG_EMBEDDED
-       T_SKIP("Not supported on MacOS");
+#if !defined (__arm__) && !defined(__arm64__)
+       T_SKIP("Not supported on Intel platforms");
        return;
-#endif /* CONFIG_EMBEDDED */
+#endif /* !defined (__arm__) && !defined(__arm64__) */
        check_device_temperature();
 
        T_ATEND(csw_perf_test_cleanup);