]> git.cworth.org Git - apitrace-tests/commit
Add a new 'cli' subdirectory for higher-level testing of apitrace CLI.
authorCarl Worth <cworth@cworth.org>
Wed, 8 Aug 2012 22:18:23 +0000 (15:18 -0700)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 1 Dec 2012 10:11:31 +0000 (10:11 +0000)
commit283dea13d9305a10cc309eb7b524b514012f4be7
tree88531d5193833c79069875d9257112c566f886dd
parent91faeeeba1480af986a451306076286a510a10da
Add a new 'cli' subdirectory for higher-level testing of apitrace CLI.

As described in the README, this new directory is for tests that
perform higher-level testing of the apitrace command-line interface
than either of the existing traces or apps directories.

Compared to traces, these new tests can do higher-level things like
dumping images from traces, comparing images, etc.

Compared to apps, these tests are intended to be portable across
multiple targets. (This isn't actually the case yet because commands
like "apitrace dump-images" currently work only on OpenGL. Also, even
when that is fixed, we will also need to then extend these tests to
have traces for each supported target for testing.)

In this commit, the only new test exercises "apitrace dump-images" and
"apitrace diff-images" on a simple trace file with one frame,
(tri.trace grabbed from apps/gl).
CMakeLists.txt
cli/.gitignore [new file with mode: 0644]
cli/CMakeLists.txt [new file with mode: 0644]
cli/README.markdown [new file with mode: 0644]
cli/cli-diff-images.script [new file with mode: 0644]
cli/tri-ref/tri0000000027.png [new file with mode: 0644]
cli/tri.trace [new file with mode: 0644]
cli_driver.py [new file with mode: 0644]