mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
tests: Pop the test context when leaving its scope.
This commit is contained in:
parent
f6fe9a39db
commit
cf816a255c
Notes:
Alexandre Julliard
2024-03-11 23:07:26 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/700
@ -32383,7 +32383,10 @@ static void test_resource_allocation_info(void)
|
|||||||
ok(infos1[i].SizeInBytes == sizes[i], "Got unexpected size %"PRIu64".\n", infos1[i].SizeInBytes);
|
ok(infos1[i].SizeInBytes == sizes[i], "Got unexpected size %"PRIu64".\n", infos1[i].SizeInBytes);
|
||||||
|
|
||||||
if (!i)
|
if (!i)
|
||||||
|
{
|
||||||
|
vkd3d_test_pop_context();
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
ok(infos1[i].Offset - infos1[i - 1].Offset >= infos1[i - 1].SizeInBytes,
|
ok(infos1[i].Offset - infos1[i - 1].Offset >= infos1[i - 1].SizeInBytes,
|
||||||
"Got unexpected prev size %"PRIu64", prev offset %"PRIu64", offset %"PRIu64".\n",
|
"Got unexpected prev size %"PRIu64", prev offset %"PRIu64", offset %"PRIu64".\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user