tests: Pop the test context when leaving its scope.

This commit is contained in:
Giovanni Mascellani 2024-03-08 17:01:53 +01:00 committed by Alexandre Julliard
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

View File

@ -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);
if (!i)
{
vkd3d_test_pop_context();
continue;
}
ok(infos1[i].Offset - infos1[i - 1].Offset >= infos1[i - 1].SizeInBytes,
"Got unexpected prev size %"PRIu64", prev offset %"PRIu64", offset %"PRIu64".\n",