glsl/glcpp: Add testing for null directives with spaces and comments
authorCarl Worth <cworth@cworth.org>
Wed, 2 Jul 2014 01:00:41 +0000 (18:00 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 7 Aug 2014 23:08:29 +0000 (16:08 -0700)
commit9a54b07651f80c394fb5386855b6611aa722a34b
tree9eab77af85f8a04eabc2026328e42c100f78bf39
parentc0127c30ddf0d10c38c36288e44187ec59ccf838
glsl/glcpp: Add testing for null directives with spaces and comments

This new "make check" test stresses out the support from the last two commits,
(to esnure that '#' is correctly interpreted as the null directives,
regardless of any whitespace or comments on the same line).

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/glcpp/tests/140-null-directive.c [new file with mode: 0644]
src/glsl/glcpp/tests/140-null-directive.c.expected [new file with mode: 0644]