summaryrefslogtreecommitdiff
path: root/xrandr_test.pl
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2007-11-29 19:54:34 +0100
committerMatthias Hopf <mhopf@suse.de>2007-11-29 19:54:34 +0100
commit4bc84c331f4f0f0658ad1f6c0107e3e6af2a7911 (patch)
tree85451d5f978acad9d85508e699583bb07fa4f93d /xrandr_test.pl
parent3fb533ff896bd642200e7242c4d35a887faeca74 (diff)
Add informational output for known issues.
Diffstat (limited to 'xrandr_test.pl')
-rwxr-xr-xxrandr_test.pl14
1 files changed, 14 insertions, 0 deletions
diff --git a/xrandr_test.pl b/xrandr_test.pl
index 3c1cef3..56c3d45 100755
--- a/xrandr_test.pl
+++ b/xrandr_test.pl
@@ -13,6 +13,14 @@ $version="0.1";
$inbetween="";
print "\n***** xrandr test suite V$version *****\n\n";
+# Known issues and their fixes
+%fixes=(
+ s2 => "xrandr: 307f3686",
+ s4 => "xserver: f7dd0c72",
+ s11 => "xrandr: f7aaf894",
+ s18 => "issue known, but not fixed yet"
+);
+
# Get output configuration
@outputs=();
%mode_name=();
@@ -254,6 +262,12 @@ sub t {
print "\n$out";
print "\n-> FAILED: Test # $name:\n\n";
print " $xrandr --verbose $args\n\n";
+ if ($fixes{$name}) {
+ print "\nThere are known issues with some packages regarding this test.\n";
+ print "Please verify that you have at least the following git versions\n";
+ print "before reporting a bug to xorg-devel:\n\n";
+ print " $fixes{$name}\n\n";
+ }
exit 1;
}
eval $inbetween;