Commit graph

12 commits

Author SHA1 Message Date
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
7a0fe29b5e [KMTESTS]
- add mostly untouched ports of the easy-to-do tests from kmtest_old

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52480
2011-06-27 08:49:23 +00:00
Thomas Faber
7d4da25d6e [KMTESTS]
- add START_TEST macro in case test functions ever have to be passed an argument
- add a few ok_* convenience macros
- remove unnecessary C library function renaming macros

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52371
2011-06-19 18:27:14 +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
dffa722bce [KMTESTS]
- reference streamout.c and provide a wctomb stub to have an any-IRQL vsnprintf implementation for the test framework

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52330
2011-06-18 11:03:28 +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
1de7bf0885 [KMTESTS]
- add a minimal example test so there's something to see when running kmtest
- remove _DLL and __USE_CRTIMP in accordance with r52213

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52215
2011-06-13 17:29:02 +00:00
Thomas Faber
e95992c699 [KMTESTS]
- add basic driver that can list/run tests and log messages

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52168
2011-06-10 05:34:00 +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