tests/pc8: fix function return value
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 22 Aug 2013 14:50:05 +0000 (11:50 -0300)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 22 Aug 2013 16:19:14 +0000 (13:19 -0300)
Looks like I forgot to push this chunk... The test was passing in
cases where you only have eDP monitors due to the fact that we
consider i2c won't work on eDP monitors.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
tests/pc8.c

index 16960ec..9e57e74 100644 (file)
@@ -578,7 +578,7 @@ static int count_i2c_valid_edids(void)
 
        closedir(dir);
 
-       return 0;
+       return ret;
 }
 
 /* We run this test when all outputs are turned off. When eDP panels are turned