]> git.cworth.org Git - apitrace-tests/commit
Add a test that "apitrace diff-images" flags mismatching images.
authorCarl Worth <cworth@cworth.org>
Wed, 8 Aug 2012 23:18:21 +0000 (16:18 -0700)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 1 Dec 2012 10:11:31 +0000 (10:11 +0000)
commit21e5859e0292d7adc067f98a87be1bb0fe5d11d4
tree485e9f5d9ec129e0d1340677833fa630a78a83eb
parent283dea13d9305a10cc309eb7b524b514012f4be7
Add a test that "apitrace diff-images" flags mismatching images.

With this test we add a new EXPECT_FAILURE: attribute to the script
syntax to indicate that a particular apitrace command in the script is
expected to fail. This requires manually invoking the Popen
constructor rather than using subprocess.check_output, (which is
*close* to what we need but fails to assign the output when raising an
exception).

We also remove the globbing from the CMakeLists.txt file to get a
manual ordering of the tests (rather than executing in alphabetic
order).
cli/CMakeLists.txt
cli/README.markdown
cli/cli-diff-images-mismatch.script [new file with mode: 0644]
cli/tri-ref-mismatch/tri0000000027.png [new file with mode: 0644]
cli_driver.py