Bug 5033 - Colormap tests are broken on gray visuals
Summary: Colormap tests are broken on gray visuals
Alias: None
Product: Xtests
Classification: Unclassified
Component: XTS (show other bugs)
Version: unspecified
Hardware: SGI Linux (All)
: high normal
Assignee: Stuart Anderson
QA Contact: Xorg testing team
Depends on:
Reported: 2005-11-14 08:52 UTC by Adam Jackson
Modified: 2018-08-10 21:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Adam Jackson 2005-11-14 08:52:33 UTC
Running xts5 against Xvfb from 7.0rc2 at 8bpp I get the following failures:

TEST CASE: XAllocNamedColor: 2 FAIL
TEST CASE: XLookupColor: 2 FAIL

XAllocNamedColor-2 checks that every pair of color names in the rgb database
resolve to different RGB tuples.  However, it checks this against StaticGray and
GrayScale visuals, so "close" colors with different chromaticity will resolve to
the same color:

REPORT: Colour names "dark cyan" and "violet red" yield the same supported rgb v
TRACE: dark cyan = r 24929 g 24929 b 24929,  violet red = r 24929 g 24929 b 2492

XLookupColor-2 has the same issue.  Suggest that these tests should skip the
gray visuals.
Comment 1 chemtech 2013-03-15 13:55:29 UTC
ajax at nwnk dot net 
Do you still experience this issue with newer drivers ?
Please check the status of your issue.
Comment 2 GitLab Migration User 2018-08-10 21:43:43 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/test/xts/issues/18.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.