reactos/kmtests/example/KernelType.c
Thomas Faber 4230863f75 [KMTESTS]
- add kmt_platform.h that includes user or kernel headers as appropriate and allows Rtl tests to run in user mode without modification
- include kmt_platform.h from kmt_test.h, so that tests don't have to include separate headers. This also allows for a PCH

svn path=/branches/GSoC_2011/KMTestSuite/; revision=53021
2011-08-01 21:53:52 +00:00

21 lines
558 B
C

/*
* PROJECT: ReactOS kernel-mode tests
* LICENSE: GPLv2+ - See COPYING in the top level directory
* PURPOSE: Kernel-Mode Test Suite Kernel Type example test
* PROGRAMMER: Thomas Faber <thfabba@gmx.de>
*/
#include <kmt_test.h>
START_TEST(KernelType)
{
if (KmtIsMultiProcessorBuild)
trace("This is a MultiProcessor kernel\n");
else
trace("This is a Uniprocessor kernel\n");
if (KmtIsCheckedBuild)
trace("This is a Checked kernel\n");
else
trace("This is a Free kernel\n");
}