glcpp: Add tests for line continuation
authorCarl Worth <cworth@cworth.org>
Wed, 5 Dec 2012 21:36:31 +0000 (13:36 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 11 Jan 2013 21:55:41 +0000 (13:55 -0800)
commitcc5fc8bf2f6a8b6390e4d9088060938fe23831e1
tree096afbb116e53ef65fb64e6dfcdf7cb63fd3018b
parent2483039aca78078f21a57e8e950a0bc0181fbd3d
glcpp: Add tests for line continuation

First we test that line continuations are honored within a comment, (as
recently changed in glcpp), then we test that line continuations can be
disabled via an option within the context. This is tested via the new support
for a test-specific command-line option passed to glcpp.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/glcpp/tests/115-line-continuations.c [new file with mode: 0644]
src/glsl/glcpp/tests/115-line-continuations.c.expected [new file with mode: 0644]
src/glsl/glcpp/tests/116-disable-line-continuations.c [new file with mode: 0644]
src/glsl/glcpp/tests/116-disable-line-continuations.c.expected [new file with mode: 0644]