glcpp: Add several tests for diagnostics.
authorCarl Worth <cworth@cworth.org>
Wed, 11 Aug 2010 20:48:13 +0000 (13:48 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 11 Aug 2010 21:38:03 +0000 (14:38 -0700)
commitcb5ea0c79bd74ea6263d54302ed19c243ceb05de
tree89b3831c97a0460bda76dfc962cf931a4fe1ec40
parent5a6285cc862df35ef5275c3858f833e0807dee14
glcpp: Add several tests for diagnostics.

Which are proving to be useful since some of these tests are not yet
acting as desired, (in particular, the unterminated if test is not
generating any diagnostic).
20 files changed:
src/glsl/glcpp/tests/070-undefined-macro-in-expression.c [new file with mode: 0644]
src/glsl/glcpp/tests/070-undefined-macro-in-expression.c.expected [new file with mode: 0644]
src/glsl/glcpp/tests/077-else-without-if.c [new file with mode: 0644]
src/glsl/glcpp/tests/077-else-without-if.c.expected [new file with mode: 0644]
src/glsl/glcpp/tests/078-elif-without-if.c [new file with mode: 0644]
src/glsl/glcpp/tests/078-elif-without-if.c.expected [new file with mode: 0644]
src/glsl/glcpp/tests/079-endif-without-if.c [new file with mode: 0644]
src/glsl/glcpp/tests/079-endif-without-if.c.expected [new file with mode: 0644]
src/glsl/glcpp/tests/080-if-without-expression.c [new file with mode: 0644]
src/glsl/glcpp/tests/080-if-without-expression.c.expected [new file with mode: 0644]
src/glsl/glcpp/tests/081-elif-without-expression.c [new file with mode: 0644]
src/glsl/glcpp/tests/081-elif-without-expression.c.expected [new file with mode: 0644]
src/glsl/glcpp/tests/082-invalid-paste.c [new file with mode: 0644]
src/glsl/glcpp/tests/082-invalid-paste.c.expected [new file with mode: 0644]
src/glsl/glcpp/tests/083-unterminated-if.c [new file with mode: 0644]
src/glsl/glcpp/tests/084-unbalanced-parentheses.c [new file with mode: 0644]
src/glsl/glcpp/tests/085-incorrect-argument-count.c [new file with mode: 0644]
src/glsl/glcpp/tests/085-incorrect-argument-count.c.expected [new file with mode: 0644]
src/glsl/glcpp/tests/086-reserved-macro-names.c [new file with mode: 0644]
src/glsl/glcpp/tests/086-reserved-macro-names.c.expected [new file with mode: 0644]