diff options
author | Thomas Wood <thomas.wood@intel.com> | 2015-11-09 17:17:24 +0000 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2015-11-11 14:52:47 +0000 |
commit | 790f1f804b062c47fb1bf686bfa3b0f2e69ee947 (patch) | |
tree | 649b6d03e425add53ded3336281026e5aa597b1a /lib/igt_core.h | |
parent | fca7b1b5fd2d61dfec6a612f1a2798270d1f8a4e (diff) |
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 <derek.j.morton@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'lib/igt_core.h')
-rw-r--r-- | lib/igt_core.h | 2 |
1 files changed, 2 insertions, 0 deletions
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: |