tests: Make test framework class useful for XGL testing
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 4 Sep 2014 22:24:19 +0000 (16:24 -0600)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 10 Sep 2014 22:44:58 +0000 (16:44 -0600)
commitd0d7ccc3f23046c7610a561e3eb99bb71eb5bd60
tree79396386046825af1c56afe87372ee21b5ad8389
parent54988bf609db605b1904c684d5d9401bae75e150
tests: Make test framework class useful for XGL testing

Add the class XglTestClass that is intended to be used by
XGL test programs and knows how to capture interesting
test events such as images.
This includes the ability to parse two command line options
--show-images: bring up a simple image window that will show any
images of note (those that an application says to record). Results
are saved so that the operator can scroll through the images
at the completion of the test.
--save-images: Output the image as a ppm file using the test name
as the file base name.
tests/xgltestframework.cpp [new file with mode: 0644]
tests/xgltestframework.h [new file with mode: 0644]