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>
This commit is contained in:
Ziqing Hui 2021-05-01 11:14:44 +08:00 committed by Alexandre Julliard
parent 7eae1c8b43
commit b719f00a3d
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}