diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-09-06 11:44:41 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-09-30 18:04:22 +0100 |
commit | 951b37e2d0d69ef7c013bf3ee7a57f7d6bd15119 (patch) | |
tree | 67ec19961e6a17aa45f130322f9d25456c87f727 /tests/testdisplay.c | |
parent | 5d996349137e368c7ad8a3b2ce708c77c006a2db (diff) |
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>
Diffstat (limited to 'tests/testdisplay.c')
-rw-r--r-- | tests/testdisplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c index 00d777af..df3b4d4a 100644 --- a/tests/testdisplay.c +++ b/tests/testdisplay.c @@ -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)); } |