Revert "tests: Run igt.cocci over tests"

This reverts commit 6903ab04e5.

The igt_assert conversion rule is broken and doesn't invert the check
as it should.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2014-06-13 18:03:50 +02:00
parent bfede4ed2b
commit ac0e606677
2 changed files with 12 additions and 6 deletions
+2 -2
View File
@@ -269,8 +269,8 @@ static bool psr_sink_support(data_t *data)
igt_require(file);
ret = fscanf(file, "Sink_Support: %s\n", str);
igt_skip_on_f(ret == 0,
"i915_edp_psr_status format not supported by this test case\n");
if (ret == 0)
igt_skip("i915_edp_psr_status format not supported by this test case\n");
fclose(file);
return strcmp(str, "yes") == 0;