]> git.cworth.org Git - apitrace-tests/commit
cli_driver: Rework driver script to preserve json-embedded whitespace
authorCarl Worth <cworth@cworth.org>
Tue, 14 Aug 2012 23:50:00 +0000 (16:50 -0700)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 1 Dec 2012 10:15:49 +0000 (10:15 +0000)
commit5c6bd4339bdd7c803e30bdab765730bc7f2bd358
tree966ab06177ca6a670f0741780874d6d6a78787ab
parent04d4ccf9e644676a9b693f30a4e6a4aaf1fca7df
cli_driver: Rework driver script to preserve json-embedded whitespace

Previously, the line read from the script was being passed through
python's string.split() and string.join() functions. This was causing
sequences of successive whitespace characters to be collapsed down to
a single space, (in turn causing spurious failures when comparing
against expected output with successive whitespace).

Rework the driver to avoid munging the line past the separation of the
first command word.
cli/.gitignore
cli/glxsimple.trace [new file with mode: 0644]
cli_driver.py