mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 03:24:47 +00:00
windowscodecs/tests: Clean up after running test expected to fail.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
This commit is contained in:
parent
bd5cdef5dd
commit
03acb453d9
|
@ -878,7 +878,7 @@ static void test_dds_decoder_image_parameters(void)
|
||||||
hr = IWICDdsDecoder_GetParameters(dds_decoder, NULL);
|
hr = IWICDdsDecoder_GetParameters(dds_decoder, NULL);
|
||||||
ok(hr == E_INVALIDARG, "GetParameters got unexpected hr %#lx\n", hr);
|
ok(hr == E_INVALIDARG, "GetParameters got unexpected hr %#lx\n", hr);
|
||||||
|
|
||||||
if (test_data[i].init_hr != S_OK && !test_data[i].wine_init) continue;
|
if (test_data[i].init_hr != S_OK && !test_data[i].wine_init) goto next;
|
||||||
|
|
||||||
hr = init_decoder(decoder, stream, test_data[i].init_hr, test_data[i].wine_init);
|
hr = init_decoder(decoder, stream, test_data[i].init_hr, test_data[i].wine_init);
|
||||||
if (hr != S_OK) {
|
if (hr != S_OK) {
|
||||||
|
|
Loading…
Reference in a new issue