Commit graph

15 commits

Author SHA1 Message Date
Thomas Faber
c0f4b0d56c [KMTESTS]
- In fact... don't use WriteConsole at all, as it doesn't allow redirection to a file.

svn path=/branches/GSoC_2011/KMTestSuite/; revision=53176
2011-08-11 08:59:34 +00:00
Thomas Faber
b65e65ac17 [KMTESTS]
- Handle WriteConsole's inability to write large buffers

svn path=/branches/GSoC_2011/KMTestSuite/; revision=53175
2011-08-11 08:50:46 +00:00
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
Thomas Faber
f63c9159c8 [KMTESTS]
- probe user address in user mode
- don't free the result buffer before the driver unlocks it. Fixes assertion in ROS for large buffers

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52947
2011-07-28 09:00:56 +00:00
Thomas Faber
7eb0e89e51 [KMTESTS]
- put driver files into 'bin' with the other tests instead of system32\drivers
- globally define NTDDI_VERSION=NTDDI_WS03_SP1 instead of doing it in each test
- fix testlist sorting (ASCII-order, but ignore leading minus)

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52780
2011-07-22 11:33:17 +00:00
Thomas Faber
ba142f75c3 [KMTESTS]
- add support for hidden tests also for kernel-mode
- small fixes and improvements

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52638
2011-07-11 18:03:19 +00:00
Thomas Faber
76b9429abf [KMTEST]
- improve user friendliness by making the service management functions actually work

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52599
2011-07-10 08:03:15 +00:00
Thomas Faber
363d5300d0 [KMTESTS]
- decrease log buffer size because ROS has a problem with unlocking it otherwise ;)
- add test for critical/guarded regions
- add test for executive resources (part 1)

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52592
2011-07-09 22:02:54 +00:00
Thomas Faber
8d003b1a1c [KMTESTS]
- add a user-mode part to the example testlist.c
- misc fixes

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52549
2011-07-06 18:55:21 +00:00
Thomas Faber
bf054095df [KMTESTS]
- prepare the device object for being opened multiple times (required for communication with special-purpose drivers)
- more verbose DPRINTs
- implement utility functions for app<->driver communication
- misc fixes

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52541
2011-07-04 19:47:49 +00:00
Thomas Faber
459f4ac630 [KMTESTS]
- rework the kmtest loader application to follow everything else's coding style and to allow user-mode test parts

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52519
2011-07-03 18:53:26 +00:00
Thomas Faber
991bc0e366 [KMTESTS]
- add skip() functionality (with more useful syntax than Wine's)
- add format attributes for GCC
- do not show the full path of the source file for failed tests
- general cleanup

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52489
2011-06-29 08:51:00 +00:00
Thomas Faber
ba63f36790 [KMTESTS]
- add the proper testing framework functions for winetest-like feel
- remove thereby obsolete Log* functions
- update example test to show usage of the new macros

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52359
2011-06-19 09:23:03 +00:00
Thomas Faber
a6b4eba335 [KMTESTS]
- use a shared memory buffer for storing test results to provide seamless communication between all test parts
- Now user mode code can easily add messages to the buffer

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52216
2011-06-13 17:50:07 +00:00
Thomas Faber
22216d2eb7 [KMTESTS]
- add simple loader application that can list/run tests from a driver via DeviceIoControl, and prints output to the console

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52157
2011-06-09 15:14:02 +00:00