Andrew Nguyen arethusa26@gmail.com writes:
The tests for the following series of patches succeed on Windows XP and Windows 7. The crash code is borrowed from the timer callback crash test in commit f20f411925e789a2aecf740776f441335837ac5f.
dlls/ddraw/main.c | 6 +- dlls/ddraw/tests/Makefile.in | 1 + dlls/ddraw/tests/ddrawenum.c | 99 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 103 insertions(+), 3 deletions(-) create mode 100644 dlls/ddraw/tests/ddrawenum.c
It's a bit overkill to create a new file for testing just one function. Please put this in an existing file, or create something more generic.