]> git.saurik.com Git - apple/xnu.git/blobdiff - tools/tests/unit_tests/sampletest.c
xnu-2782.1.97.tar.gz
[apple/xnu.git] / tools / tests / unit_tests / sampletest.c
diff --git a/tools/tests/unit_tests/sampletest.c b/tools/tests/unit_tests/sampletest.c
deleted file mode 100644 (file)
index aee8889..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#include <stdio.h>
-/*
-Sample test file. Do not remove this.
-*/
-int main(int argc, char *argv[]){
-       char os_version[20] = TARGET_OS_VERS;
-       char os_build[20] = TARGET_OS_BUILD_VERS;
-       printf("Sample test for xnu unit tests. This file is just an example for future unit tests.\n");
-       printf("This test was build with OS version %s and build %s\n", os_version, os_build); 
-       /* an example of how SDKTARGET is used for different builds */
-#ifdef TARGET_SDK_macosx
-       printf("The SDKTARGET for building this test is macosx\n");
-#endif
-
-#ifdef TARGET_SDK_macosx_internal
-       printf("The SDKTARGET for building this test is macosx.internal\n");
-#endif
-
-#ifdef TARGET_SDK_iphoneos
-       printf("The SDKTARGET for building this test is iphoneos\n");
-#endif
-
-#ifdef TARGET_SDK_iphoneos_internal
-       printf("The SDKTARGET for building this test is iphoneos.internal\n");
-#endif
-
-       return 0;
-}