X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/143464d58d2bd6378e74eec636961ceb0d32fb91..fe8ab488e9161c46dd9885d58fc52996dc0249ff:/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 index aee888903..000000000 --- a/tools/tests/unit_tests/sampletest.c +++ /dev/null @@ -1,28 +0,0 @@ -#include -/* -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; -}