diff options
| author | Petri Latvala <petri.latvala@intel.com> | 2020-05-13 16:09:01 +0300 |
|---|---|---|
| committer | Petri Latvala <petri.latvala@intel.com> | 2020-05-14 06:42:18 +0300 |
| commit | 5637a466a0b09535517751608f5525a8b468a76b (patch) | |
| tree | 05b5a0570a0a71834f3d52f7d26cc919386273c7 /lib | |
| parent | ecf8476f3102ad6194d9ac05a5fa8d466ddc0b65 (diff) | |
lib/igt_gt: Add newline to IGT_HANG=0 skips
v2: Include the variable name in the output (Chris)
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/igt_gt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/igt_gt.c b/lib/igt_gt.c index 2fd51985..a806b567 100644 --- a/lib/igt_gt.c +++ b/lib/igt_gt.c @@ -120,7 +120,7 @@ static void eat_error_state(int dev) void igt_require_hang_ring(int fd, int ring) { if (!igt_check_boolean_env_var("IGT_HANG", true)) - igt_skip("hang injection disabled by user"); + igt_skip("hang injection disabled by user [IGT_HANG=0]\n"); gem_require_ring(fd, ring); gem_context_require_bannable(fd); @@ -175,7 +175,7 @@ igt_hang_t igt_allow_hang(int fd, unsigned ctx, unsigned flags) igt_require_gem(fd); if (!igt_check_boolean_env_var("IGT_HANG", true)) - igt_skip("hang injection disabled by user"); + igt_skip("hang injection disabled by user [IGT_HANG=0]\n"); gem_context_require_bannable(fd); allow_reset = 1; |
