Re: Some perspective from the cheap seats...

Alan Coopersmith <[email protected]>
Newsgroups gmane.comp.xfree86.forum
Organization Sun Microsystems
Message-ID <[email protected]>
Kendall Bennett wrote:
> Stuart Anderson <[email protected]> wrote:
>>There is a formal test suite for X. It cycles through all of the possible
>>combinations for every operation, at the API/Protocol level. This should map
>>to good coverage of XAA even though the tests weren't written explicitely
>>for that.
> 
> Where is it? What is it? This is the first I have heard of such a test 
> suite, and we could sure make use of it!

There is VSW5 which is the formal test suite for X11 protocol standards
compliance.  (This is what vendors have to pass to get the Open Group to
certify their platform as meeting the "Unix Workstation" brand.)

It tries every protocol request in a variety of ways and checks for the
expected answers, including comparing drawing operations against a set of
standard images to ensure they draw as expected.

It was previously closed source & expensive, but was made freely available
a couple of years ago:
	http://www.opengroup.org/testing/testsuites/vsw5.html
	http://www.opengroup.org/testing/downloads.html

Depending on what level you've changed in X, you may also want to run the VSM
test suite with Motif or OpenMotif to see if you've done anything that breaks
higher level toolkits.

-- 
	-Alan Coopersmith-      [email protected]
	 Sun Microsystems, Inc.   -   Sun Software Group
	 Quality, Integration, & Customer Success (QICS)
	 Platform Globalization Engin. - X11 Engineering
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.