mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-24 06:43:01 +00:00
testdisplay: Provide a full path when opening pngs
This way one doesn't have to be in tests/ for testsdisplay to be able to open pass.png. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
+1
-1
@@ -319,7 +319,7 @@ static void paint_output_info(struct connector *c, struct kmstest_fb *fb)
|
||||
}
|
||||
|
||||
if (qr_code)
|
||||
paint_image(cr, "./pass.png");
|
||||
paint_image(cr, IGT_DATADIR"/pass.png");
|
||||
|
||||
igt_assert(!cairo_status(cr));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user