reactos/kmtests/kmtest_drv.rbuild
Thomas Faber ed72d2fbd2 [KMTESTS]
- small structure improvement in kmt_test.h
- add globals to allow easy checking for UP/MP & Free/Checked builds, as that is required for some tests
- add KernelType example test demonstrating the above
- add a function to restore the irql (allows some failing tests to exit gracefully)

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52781
2011-07-22 11:51:18 +00:00

66 lines
1.7 KiB
Ruby

<module name="kmtest_drv" type="kernelmodedriver" installbase="bin" installname="kmtest_drv.sys">
<include base="kmtest_drv">include</include>
<library>ntoskrnl</library>
<library>hal</library>
<library>pseh</library>
<library>kmtest_printf</library>
<define name="KMT_KERNEL_MODE" />
<define name="NTDDI_VERSION">NTDDI_WS03SP1</define>
<directory name="kmtest_drv">
<file>kmtest_drv.c</file>
<file>testlist.c</file>
</directory>
<directory name="example">
<file>Example.c</file>
<file>KernelType.c</file>
</directory>
<directory name="ntos_ex">
<file>ExHardError.c</file>
<file>ExInterlocked.c</file>
<file>ExPools.c</file>
<file>ExResource.c</file>
<file>ExTimer.c</file>
</directory>
<directory name="ntos_fsrtl">
<file>FsRtlExpression.c</file>
</directory>
<directory name="ntos_io">
<file>IoDeviceInterface.c</file>
<file>IoIrp.c</file>
<file>IoMdl.c</file>
</directory>
<directory name="ntos_ke">
<file>KeApc.c</file>
<file>KeDpc.c</file>
<file>KeIrql.c</file>
<file>KeProcessor.c</file>
</directory>
<directory name="ntos_ob">
<file>ObCreate.c</file>
</directory>
</module>
<module name="kmtest_printf" type="staticlibrary">
<include base="crt">include</include>
<define name="_LIBCNT_" />
<define name="_USER32_WSPRINTF" />
<define name="wctomb">KmtWcToMb</define>
<directory name="kmtest_drv">
<file>printf_stubs.c</file>
</directory>
<directory name="..">
<directory name="..">
<directory name="..">
<directory name="lib">
<directory name="sdk">
<directory name="crt">
<directory name="printf">
<file>streamout.c</file>
</directory>
</directory>
</directory>
</directory>
</directory>
</directory>
</directory>
</module>