public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] debugfs_test: i915_emon_status is scheduled for removal
@ 2019-08-07 18:18 Chris Wilson
  2019-08-07 19:10 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chris Wilson @ 2019-08-07 18:18 UTC (permalink / raw)
  To: intel-gfx; +Cc: igt-dev

When we remove the debugfs fail, the test simply fails rather than
skips. Kill the test as without the debugfs, it is defunct.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
---
 tests/debugfs_test.c | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/tests/debugfs_test.c b/tests/debugfs_test.c
index 6a87d90af..6d1757c50 100644
--- a/tests/debugfs_test.c
+++ b/tests/debugfs_test.c
@@ -167,27 +167,6 @@ igt_main
 	igt_subtest_group
 		kms_tests(fd, debugfs);
 
-	igt_subtest("emon_crash") {
-		int i;
-		/*
-		 * This check if we can crash the kernel with
-		 * segmentation-fault by reading
-		 * /sys/kernel/debug/dri/0/i915_emon_status too quickly
-		 */
-		for (i = 0; i < 1000; i++) {
-			char *buf = igt_sysfs_get(debugfs,
-						  "i915_emon_status");
-
-			igt_skip_on_f(!buf && !i, "i915_emon_status could not be read\n");
-
-			igt_assert(buf);
-			free(buf);
-		}
-
-		/* If we got here, we haven't crashed */
-		igt_success();
-	}
-
 	igt_fixture {
 		close(debugfs);
 		close(fd);
-- 
2.23.0.rc1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-08 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-07 18:18 [igt-dev] [PATCH i-g-t] debugfs_test: i915_emon_status is scheduled for removal Chris Wilson
2019-08-07 19:10 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-08-08  7:01 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2019-08-08 15:48 ` [igt-dev] [PATCH i-g-t] " Andi Shyti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox