Nikolay Sivov : ntdll/tests: Remove skips on missing ntdll.dll.

Alexandre Julliard julliard at winehq.org
Wed Jan 20 16:58:43 CST 2021


Module: wine
Branch: master
Commit: b78285b9a3e272d2db1dfe7d399499314145efca
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b78285b9a3e272d2db1dfe7d399499314145efca

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Jan 20 15:37:45 2021 +0300

ntdll/tests: Remove skips on missing ntdll.dll.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/tests/change.c | 5 -----
 dlls/ntdll/tests/path.c   | 5 -----
 2 files changed, 10 deletions(-)

diff --git a/dlls/ntdll/tests/change.c b/dlls/ntdll/tests/change.c
index 0e76fb5635a..1e643fc3eee 100644
--- a/dlls/ntdll/tests/change.c
+++ b/dlls/ntdll/tests/change.c
@@ -313,11 +313,6 @@ static void test_ntncdf_async(void)
 START_TEST(change)
 {
     HMODULE hntdll = GetModuleHandleA("ntdll");
-    if (!hntdll)
-    {
-        win_skip("not running on NT, skipping test\n");
-        return;
-    }
 
     pNtNotifyChangeDirectoryFile = (void *)GetProcAddress(hntdll, "NtNotifyChangeDirectoryFile");
     pNtCancelIoFile = (void *)GetProcAddress(hntdll, "NtCancelIoFile");
diff --git a/dlls/ntdll/tests/path.c b/dlls/ntdll/tests/path.c
index e4adc992a28..a91038bab7b 100644
--- a/dlls/ntdll/tests/path.c
+++ b/dlls/ntdll/tests/path.c
@@ -603,11 +603,6 @@ static void test_RtlDosPathNameToNtPathName_U(void)
 START_TEST(path)
 {
     HMODULE mod = GetModuleHandleA("ntdll.dll");
-    if (!mod)
-    {
-        win_skip("Not running on NT, skipping tests\n");
-        return;
-    }
 
     pRtlMultiByteToUnicodeN = (void *)GetProcAddress(mod,"RtlMultiByteToUnicodeN");
     pRtlUnicodeToMultiByteN = (void *)GetProcAddress(mod,"RtlUnicodeToMultiByteN");




More information about the wine-cvs mailing list