Message ID | 1436186144-19665-15-git-send-email-damien.lespiau@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/lib/tests/igt_plot.c b/lib/tests/igt_plot.c index a178fbf..7091cef 100644 --- a/lib/tests/igt_plot.c +++ b/lib/tests/igt_plot.c @@ -90,6 +90,9 @@ static void test_simple_plot(void) igt_plot_draw(&plot, x, y); igt_plot_write(&plot, "test_simple_plot.png"); + plot.debug = true; + igt_plot_write(&plot, "test_simple_plot_debug.png"); + igt_plot_fini(&plot); igt_vector_unref(x); igt_vector_unref(y);
Not only useful for inspection but also to check we can re-start a drawing just fine. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> --- lib/tests/igt_plot.c | 3 +++ 1 file changed, 3 insertions(+)