summaryrefslogtreecommitdiff
path: root/src/glsl/glcpp/tests
AgeCommit message (Expand)AuthorFilesLines
2014-07-29glsl/glcpp: Fix off-by-one error in column in first-line error messagesCarl Worth16-18/+18
2014-07-29glsl/glcpp: Minor tweak to wording of error messageCarl Worth2-2/+2
2014-07-29glsl/glcpp: Drop extra, final newline from most outputCarl Worth127-127/+0
2014-07-29glsl/glcpp: Add testing for EOF sans newline (and fix for <DEFINE>, <COMMENT>)Carl Worth6-0/+8
2014-07-29glsl/glcpp: Add support for comments between #define and macro identifierCarl Worth2-0/+5
2014-07-29glsl/glcpp: Emit proper error for #define with a non-identifierCarl Worth2-0/+3
2014-07-29glsl/glcpp: Add testing for directives preceded by a spaceCarl Worth2-0/+43
2014-07-29glsl/glcpp: Fix to emit spaces following directivesCarl Worth1-2/+2
2014-07-09glsl/glcpp: Don't choke on an empty pragmaCarl Worth2-0/+7
2014-07-09glsl/glcpp: Promote "extra token at end of directive" from warning to errorCarl Worth2-0/+13
2014-07-09glsl/glcpp: Once again report undefined macro name in error message.Carl Worth1-2/+2
2014-07-09glsl/glcpp: Add short-circuiting for || and && in #if/#elif for OpenGL ES.Carl Worth2-0/+57
2014-07-09glsl/glcpp: Fix glcpp to properly lex entire "preprocessing numbers"Carl Worth2-0/+75
2014-07-09glsl/glcpp: Fix glcpp to catch garbage after #if 1 ... #elseCarl Worth4-0/+7
2014-07-09glsl/glcpp: Fixup glcpp tests for redefining a macro with whitespace changes.Carl Worth3-1/+40
2014-07-09glsl/glcpp: Add test to ensure compiler won't allow #undef for some builtinsCarl Worth2-0/+10
2014-03-08glcpp: Do not remove spaces to preserve locations.Sir Anthony3-4/+4
2014-02-19glcpp: Only warn for macro names containing __Ian Romanick1-2/+2
2014-01-31glcpp: Add "make check" test for comment-parsing bugCarl Worth2-0/+5
2014-01-02glcpp: error on multiple #else/#elif directivesErik Faye-Lund4-0/+28
2014-01-02glcpp: Replace multi-line comment with a space (even as part of macro definit...Carl Worth5-4/+13
2013-06-03glcpp: Add test case for recently fixed loop-control underflow bug.Carl Worth2-0/+25
2013-01-22glsl/build: Build glcpp via the glsl MakefileMatt Turner1-2/+2
2013-01-11glcpp: Add tests for line continuationCarl Worth4-0/+46
2013-01-11glcpp: Allow test-specific arguments for standalone glcpp testsCarl Worth1-2/+9
2012-11-29glcpp: Add test involving token pasting of INTEGER tokens.Carl Worth2-0/+15
2012-11-29glcpp: Extend the invalid-paste testCarl Worth2-0/+20
2012-11-29glcpp: Add support for __LINE__ and __FILE__ macrosCarl Worth2-0/+15
2012-11-28glcpp: Support #elif(expression) with no intervening space.Matt Turner6-0/+95
2012-11-28glcpp: Reject #version and #line not followed by whitespaceMatt Turner4-0/+6
2012-11-09glcpp: wire up glcpp-test to make checkMatt Turner1-4/+12
2012-11-09glcpp/tests: Add tests for multiline #elifMatt Turner2-0/+15
2012-11-09glcpp/tests: Add test for multiline #ifMatt Turner2-0/+13
2012-11-09glcpp/tests: Add test for multiline #lineMatt Turner2-0/+11
2012-11-09glcpp/tests: Add test to check #line followed by codeMatt Turner2-0/+5
2012-11-09glcpp: don't push #line directives into next lineFabian Bieler1-1/+1
2012-11-09glcpp: Reject garbage after #else and #endif tokensMatt Turner4-0/+11
2012-06-26glsl: glcpp: Extend testing of #line directivesCarl Worth2-0/+12
2012-06-26glsl: glcpp: Move handling of #line directives from lexer to parser.Carl Worth1-4/+4
2012-06-26glsl: glcpp: Allow "#if undefined-macro' to evaluate to false.Carl Worth4-3/+17
2012-02-02glsl: Add glcpp tests for a macro used twiceCarl Worth2-0/+33
2012-02-02glcpp: Add new test showing bug where a trailing ':' prevents macro expansionCarl Worth2-0/+15
2012-01-31Revert "src/glsl/glcpp: wire up glcpp-test to make check"Matt Turner1-5/+1
2012-01-30src/glsl/glcpp: wire up glcpp-test to make checkMatt Turner1-1/+5
2012-01-30glcpp-test: don't return failure if valgrind tests aren't runMatt Turner1-1/+1
2011-09-30glcpp: Add a test for #elif with an undefined macro.Carl Worth2-0/+8
2011-09-30glcpp: Raise error if defining any macro containing two consecutive underscoresCarl Worth2-1/+5
2011-09-30glcpp: Test a non-function-like macro using the token paste operatorCarl Worth2-0/+7
2011-09-30glcpp: Add a test for a macro that implements token pasting twice.Carl Worth2-0/+7
2011-04-14Add expected file for 095-recursive-define test case.Carl Worth1-0/+4