]> git.cworth.org Git - apitrace-tests/commitdiff
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)
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.


No differences found