[PATCH] ntprint/tests: Abort on missing function/dll
Mark Jansen
mark.jansen at reactos.org
Sat Mar 17 10:23:26 CDT 2018
-------------- next part --------------
From 3e10a6c6d0d21be7fcad0ffa465e90f66816f1b1 Mon Sep 17 00:00:00 2001
From: Mark Jansen <mark.jansen at reactos.org>
Date: Sat, 17 Mar 2018 16:21:42 +0100
Subject: [PATCH] ntprint/tests: Abort on missing function/dll
Signed-off-by: Mark Jansen <mark.jansen at reactos.org>
---
dlls/ntprint/tests/ntprint.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/dlls/ntprint/tests/ntprint.c b/dlls/ntprint/tests/ntprint.c
index 1710220def..113cdf2f25 100644
--- a/dlls/ntprint/tests/ntprint.c
+++ b/dlls/ntprint/tests/ntprint.c
@@ -229,7 +229,12 @@ static void test_PSetupEnumMonitor(VOID)
START_TEST(ntprint)
{
- load_functions();
+ LPCSTR failure = load_functions();
+ if (failure)
+ {
+ skip("Missing: %s\n", failure);
+ return;
+ }
test_PSetupCreateMonitorInfo();
test_PSetupDestroyMonitorInfo();
--
2.12.2.windows.1
More information about the wine-devel
mailing list