summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-08-07 19:16:39 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-08-08 16:57:50 +0100
commitf43f5fa12ac1b93febfe3eeb9e9985f5f3e2eff0 (patch)
tree60a05346b09aed819aca8723b41d7062d0ff5bcb /tests
parenta0788eeaad256df29e51dfaf58b7ebbd13d62bd4 (diff)
debugfs_test: i915_emon_status is scheduled for removal
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> Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/debugfs_test.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/debugfs_test.c b/tests/debugfs_test.c
index 6a87d90a..6d1757c5 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);