From 790f1f804b062c47fb1bf686bfa3b0f2e69ee947 Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Mon, 9 Nov 2015 17:17:24 +0000 Subject: lib: add a environment variable to control output Disable output of terminal control characters and progress meters when IGT_PLAIN_OUTPUT is set in the environment. Cc: Derek Morton Signed-off-by: Thomas Wood --- lib/igt_core.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/igt_core.h') diff --git a/lib/igt_core.h b/lib/igt_core.h index 5ae09653..a244fc39 100644 --- a/lib/igt_core.h +++ b/lib/igt_core.h @@ -45,6 +45,8 @@ extern const char* __igt_test_description __attribute__((weak)); +extern bool __igt_plain_output; + /** * IGT_TEST_DESCRIPTION: -- cgit v1.2.3