qmgr/tests: Skip tests on Windows instead of failing
André Hentschel
nerv at dawncrow.de
Fri Nov 29 13:12:35 CST 2013
Some w2k and win7 machines...
---
dlls/qmgr/tests/enum_files.c | 2 +-
dlls/qmgr/tests/file.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/qmgr/tests/enum_files.c b/dlls/qmgr/tests/enum_files.c
index 7e2ab1e..a77f1e7 100644
--- a/dlls/qmgr/tests/enum_files.c
+++ b/dlls/qmgr/tests/enum_files.c
@@ -256,7 +256,7 @@ START_TEST(enum_files)
/* Keep state separate between tests. */
if (!setup())
{
- ok(0, "tests:%d: Unable to setup test\n", i);
+ win_skip("tests:%d: Unable to setup test, skipping tests\n", i);
break;
}
(*test)();
diff --git a/dlls/qmgr/tests/file.c b/dlls/qmgr/tests/file.c
index f14ad3a..d8c6c07 100644
--- a/dlls/qmgr/tests/file.c
+++ b/dlls/qmgr/tests/file.c
@@ -197,7 +197,7 @@ START_TEST(file)
/* Keep state separate between tests. */
if (!setup())
{
- ok(0, "tests:%d: Unable to setup test\n", i);
+ win_skip("tests:%d: Unable to setup test, skipping tests\n", i);
break;
}
(*test)();
--
1.8.1.2
More information about the wine-patches
mailing list