summaryrefslogtreecommitdiff
path: root/src/glsl/glcpp/tests
AgeCommit message (Expand)AuthorFilesLines
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
2011-04-14glcpp: Add --valgrind option to the glcpp-test utilityCarl Worth1-16/+46
2011-04-14Add an expected file for 084-unbalanced-parenthesesCarl Worth1-0/+2
2011-04-14Add an expected file for 094-divide-by-zero-short-circuitCarl Worth2-0/+26
2011-04-14Add an expected file for 093-divide-by-zeroCarl Worth1-0/+4
2011-03-03glcpp/tests: Update 063-comments.c.expected to match output.Kenneth Graunke1-0/+7
2011-01-29Revert "glcpp: Demote "macro redefined" from an error to a warning"Carl Worth1-6/+6
2011-01-28glcpp: Demote "macro redefined" from an error to a warningCarl Worth1-6/+6
2011-01-04glcpp: Add test for recursive #define.Vinson Lee1-0/+3
2011-01-04glcpp: Add division by zero test cases.Vinson Lee2-0/+4
2010-12-27glcpp: Add negative tests for redefintions with valueless macros.Vinson Lee2-0/+15
2010-08-23glcpp: Fix test suite to avoid flagging failed tests as valgrind errors.Carl Worth1-4/+5
2010-08-23glcpp: Add new test for #line directive.Carl Worth2-0/+21
2010-08-23glcpp: Add test for the #error directive.Carl Worth2-0/+4
2010-08-17glcpp: Add two new tests for testing redefined macros.Carl Worth4-0/+58
2010-08-17glcpp: Fix 064-version.c expected result to track recent change.Carl Worth1-1/+0
2010-08-17glcpp: Add testcase for #if handling bug that breaks Savage2.Eric Anholt2-0/+11
2010-08-11glcpp: Fix "unterminated if" diagnostic.Carl Worth1-0/+5
2010-08-11glcpp: Add an explicit diagnostic for #if with no expression.Carl Worth1-1/+4
2010-08-11glcpp: Reword diagnostic for #elif with no expressionCarl Worth1-1/+0