I am having trouble with getting todo_wine working. It seems to be ignored and the test is being executed on wine and failing as expected. Is there a trick to setting todo up? According to all the examples and the text this should work: todo_wine { ok(hr == S_OK, "ScriptStringOut Stub should return S_OK not %08lx\n", hr); } Jeff
On 9/30/06, Jeff L <lats(a)yless4u.com.au> wrote:
I am having trouble with getting todo_wine working. It seems to be ignored and the test is being executed on wine and failing as expected. Is there a trick to setting todo up?
According to all the examples and the text this should work: todo_wine { ok(hr == S_OK, "ScriptStringOut Stub should return S_OK not %08lx\n", hr); }
todo_wine doesn't stop a test from running, it just makes 'make test' not error out. If you run 'make test' and a test fails and there is no todo_wine around the test, make will stop with an error. -- James Hawkins
"Jeff L" <lats(a)yless4u.com.au> wrote:
I am having trouble with getting todo_wine working. It seems to be ignored and the test is being executed on wine and failing as expected. Is there a trick to setting todo up?
According to all the examples and the text this should work: todo_wine { ok(hr == S_OK, "ScriptStringOut Stub should return S_OK not %08lx\n", hr); }
It depends how do you run the test. If you run the test directly using something like 'wine dlls/kernel32/tests/kernel32_test.exe.so', then the tests in the todo_wine blocks will fail because the platform (wine) is not specified. The switch '-P wine' specifies a Wine platform, and todo_wine will work properly. Hopefully I correctly understood the problem :-) -- Dmitry.
participants (4)
-
Dmitry Timoshkov -
James Hawkins -
Jeff L -
Jeff Latimer