=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: dxgi/tests: Avoid "skipping tests" in skip() messages.

Alexandre Julliard julliard at winehq.org
Wed Sep 19 16:28:13 CDT 2018


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

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Wed Sep 19 16:55:31 2018 +0200

dxgi/tests: Avoid "skipping tests" in skip() messages.

skip() prints "Tests skipped:".

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dxgi/tests/dxgi.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/dlls/dxgi/tests/dxgi.c b/dlls/dxgi/tests/dxgi.c
index 62070e0..d1908ac 100644
--- a/dlls/dxgi/tests/dxgi.c
+++ b/dlls/dxgi/tests/dxgi.c
@@ -643,7 +643,7 @@ static void test_adapter_desc(void)
 
     if (!(device = create_device(0)))
     {
-        skip("Failed to create device, skipping tests.\n");
+        skip("Failed to create device.\n");
         return;
     }
 
@@ -884,7 +884,7 @@ static void test_create_surface(void)
 
     if (!(device = create_device(0)))
     {
-        skip("Failed to create device, skipping tests.\n");
+        skip("Failed to create device.\n");
         return;
     }
 
@@ -922,7 +922,7 @@ static void test_parents(void)
 
     if (!(device = create_device(0)))
     {
-        skip("Failed to create device, skipping tests.\n");
+        skip("Failed to create device.\n");
         return;
     }
 
@@ -947,7 +947,7 @@ static void test_parents(void)
     hr = IDXGIAdapter_EnumOutputs(adapter, 0, &output);
     if (hr == DXGI_ERROR_NOT_FOUND)
     {
-        skip("Adapter has not outputs, skipping output tests.\n");
+        skip("Adapter has not outputs.\n");
     }
     else
     {
@@ -990,7 +990,7 @@ static void test_output(void)
 
     if (!(device = create_device(0)))
     {
-        skip("Failed to create device, skipping tests.\n");
+        skip("Failed to create device.\n");
         return;
     }
 
@@ -1000,7 +1000,7 @@ static void test_output(void)
     hr = IDXGIAdapter_EnumOutputs(adapter, 0, &output);
     if (hr == DXGI_ERROR_NOT_FOUND)
     {
-        skip("Adapter doesn't have any outputs, skipping tests.\n");
+        skip("Adapter doesn't have any outputs.\n");
         IDXGIAdapter_Release(adapter);
         IDXGIDevice_Release(device);
         return;
@@ -1076,7 +1076,7 @@ static void test_output(void)
     }
     else
     {
-        skip("Not enough modes for test, skipping.\n");
+        skip("Not enough modes for test.\n");
     }
 
     heap_free(modes);
@@ -1308,7 +1308,7 @@ static void test_create_swapchain(void)
 
     if (!(device = create_device(0)))
     {
-        skip("Failed to create device, skipping tests.\n");
+        skip("Failed to create device.\n");
         return;
     }
 
@@ -2916,7 +2916,7 @@ static void test_private_data(void)
 
     if (!(device = create_device(0)))
     {
-        skip("Failed to create device, skipping tests.\n");
+        skip("Failed to create device.\n");
         return;
     }
 
@@ -3489,7 +3489,7 @@ static void test_swapchain_parameters(void)
 
     if (!(device = create_device(0)))
     {
-        skip("Failed to create device, skipping tests.\n");
+        skip("Failed to create device.\n");
         return;
     }
     window = CreateWindowA("static", "dxgi_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE,




More information about the wine-cvs mailing list