mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +00:00
lib/drmtest: Improve printf-like igt_skip_on/require
Ben Widawsky suggested to use vasprintf, which perfectly fits the bill. Also fix the logic conversion bug in tests/gem_storedw_batches_loop that crept in again :( Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -103,7 +103,7 @@ store_dword_loop(int divider, unsigned flags)
|
||||
drm_intel_bo_map(target_bo, 1);
|
||||
|
||||
buf = target_bo->virtual;
|
||||
igt_assert_f(buf[0] != (0x42000000 | val),
|
||||
igt_assert_f(buf[0] == (0x42000000 | val),
|
||||
"value mismatch: cur 0x%08x, stored 0x%08x\n",
|
||||
buf[0], 0x42000000 | val);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user