Module: wine Branch: master Commit: b719f00a3d8b4face49abf381bda672421baa5ec URL: https://source.winehq.org/git/wine.git/?a=commit;h=b719f00a3d8b4face49abf381...
Author: Ziqing Hui zhui@codeweavers.com Date: Sat May 1 11:14:44 2021 +0800
windowscodecs: Add test data index to win_skip messages for DDS tests.
Signed-off-by: Ziqing Hui zhui@codeweavers.com Signed-off-by: Esme Povirk esme@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/windowscodecs/tests/ddsformat.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/windowscodecs/tests/ddsformat.c b/dlls/windowscodecs/tests/ddsformat.c index 492416c0ce4..a5f1d6754a9 100644 --- a/dlls/windowscodecs/tests/ddsformat.c +++ b/dlls/windowscodecs/tests/ddsformat.c @@ -827,9 +827,9 @@ static void test_dds_decoder_image_parameters(void) hr = init_decoder(decoder, stream, test_data[i].init_hr, i, test_data[i].wine_init); if (hr != S_OK) { if (test_data[i].expected_parameters.Dimension == WICDdsTextureCube) { - win_skip("Cube map is not supported\n"); + win_skip("Test %u: Cube map is not supported\n", i); } else { - win_skip("Uncompressed DDS image is not supported\n"); + win_skip("Test %u: Uncompressed DDS image is not supported\n", i); } goto next; } @@ -1240,9 +1240,9 @@ static void test_dds_decoder(void) hr = init_decoder(decoder, stream, test_data[i].init_hr, i, test_data[i].wine_init); if (hr != S_OK) { if (test_data[i].expected_parameters.Dimension == WICDdsTextureCube) { - win_skip("Cube map is not supported\n"); + win_skip("Test %u: Cube map is not supported\n", i); } else { - win_skip("Uncompressed DDS image is not supported\n"); + win_skip("Test %u: Uncompressed DDS image is not supported\n", i); } goto next; }