tests/pm_pc8: skip the test if runtime PM is disabled
authorImre Deak <imre.deak@intel.com>
Fri, 25 Apr 2014 07:26:46 +0000 (10:26 +0300)
committerImre Deak <imre.deak@intel.com>
Fri, 25 Apr 2014 17:14:30 +0000 (20:14 +0300)
The PC8 state won't be entered unless runtime PM is enabled, so support
for PC8 residency counters alone is not enough to run this test.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/pm_pc8.c

index 010af44..9a95326 100644 (file)
@@ -769,7 +769,7 @@ static void setup_environment(void)
        printf("Runtime PM support: %d\n", has_runtime_pm);
        printf("PC8 residency support: %d\n", has_pc8);
 
-       igt_require(has_runtime_pm || has_pc8);
+       igt_require(has_runtime_pm);
 }
 
 static void teardown_environment(void)