Kernel BVT Test (Compact 2013)
3/26/2014
The Kernel BVT Test is a basic build verification test (BVT) that exercises memory/heap allocation, file operations, basic thread operations, and basic module operations.
Test Prerequisites
Your device must meet the following requirements before you run this test.
There are no specific hardware requirements for the Kernel BVT Test.
The following table shows the software requirements for the Kernel BVT Test.
Requirement |
Description |
---|---|
Tux.exe |
Test harness, required to run test |
Kato.dll |
Logging engine, required to log test data |
Krnlbasebvt.dll |
Test library |
BaseApp.exe |
Creates an event, waits for the event to be signaled and exits with a pre-determined exit code |
BaseDll.dll |
Exposes the function, BaseDLLFunction, that returns a pre-determined value |
Subtests
The table below lists the subtests included in this test.
SubTest ID |
Description |
---|---|
65537 |
Memory Test tests the allocation of memory using "VirtualAlloc" and "LocalAlloc". It allocates memory, perform read/write operations, decommits the memory tries to write into it resulting in an exception, and then frees the allocated memory. |
65538 |
A simple test to test the allocation of memory using "HeapAlloc". |
65539 |
FileIoTest creates and deletes a directory; creates, closes, opens, reads, writes and deletes a file. |
65540 |
BaseTaskTest tests Process and thread creation and Termination. |
65541 |
BaseModuleTest tests LoadLibrary() and invokes a Library Function. |
Setting Up the Test
This test has no additional requirements, beyond the standard test environment setup.
Running the Test
The following table shows the optional command line parameters for the Kernel BVT Test.
Command line parameter |
Description |
---|---|
/v:num |
num is a positive integer that is multiplied by page size to allocate memory using "VirtualAlloc". Default value is 15. |
/l:num |
num is a positive integer that is multiplied by page size to allocate memory using "LocalAlloc". Default value is 4. |
/p:numOfBytes |
Number of bytes to be allocated using "HeapAlloc". Default is 256. |
/d:dirName |
Directory for the file IOTest. Default is "iobvt.dir" |
/f:fileName |
Filename for the File IOTest. Default is "iobvt.txt" |
Verifying the Test
When the test completes running, verify that "PASS" appears in the test log for all sub-tests.
Troubleshooting the Test
To run test case 65540, you must ensure baseApp.exe is in the release directory or one of the alternate release directories.
To run test case 65541, you must ensure baseDLL.dll is in the release directory or one of the alternate release directories.