mesa/glcpp/tests
Kenneth Graunke bac0e371e3 glcpp/tests: Add a test for #if defined (identifier)
Previously we only tested #if defined identifier (without parenthesis).
2010-06-21 12:41:05 -07:00
..
000-content-with-spaces.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
000-content-with-spaces.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
001-define.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
001-define.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
002-define-chain.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
002-define-chain.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
003-define-chain-reverse.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
003-define-chain-reverse.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
004-define-recursive.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
004-define-recursive.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
005-define-composite-chain.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
005-define-composite-chain.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
006-define-composite-chain-reverse.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
006-define-composite-chain-reverse.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
007-define-composite-recursive.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
007-define-composite-recursive.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
008-define-empty.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
008-define-empty.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
009-undef.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
009-undef.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
010-undef-re-define.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
010-undef-re-define.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
011-define-func-empty.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
011-define-func-empty.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
012-define-func-no-args.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
012-define-func-no-args.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
013-define-func-1-arg-unused.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
013-define-func-1-arg-unused.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
014-define-func-2-arg-unused.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
014-define-func-2-arg-unused.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
015-define-object-with-parens.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
015-define-object-with-parens.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
016-define-func-1-arg.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
016-define-func-1-arg.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
017-define-func-2-args.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
017-define-func-2-args.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
018-define-func-macro-as-parameter.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
018-define-func-macro-as-parameter.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
019-define-func-1-arg-multi.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
019-define-func-1-arg-multi.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
020-define-func-2-arg-multi.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
020-define-func-2-arg-multi.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
021-define-func-compose.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
021-define-func-compose.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
022-define-func-arg-with-parens.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
022-define-func-arg-with-parens.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
023-define-extra-whitespace.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
023-define-extra-whitespace.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
024-define-chain-to-self-recursion.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
024-define-chain-to-self-recursion.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
025-func-macro-as-non-macro.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
025-func-macro-as-non-macro.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
026-define-func-extra-newlines.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
026-define-func-extra-newlines.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
027-define-chain-obj-to-func.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
027-define-chain-obj-to-func.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
028-define-chain-obj-to-non-func.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
028-define-chain-obj-to-non-func.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
029-define-chain-obj-to-func-with-args.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
029-define-chain-obj-to-func-with-args.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
030-define-chain-obj-to-func-compose.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
030-define-chain-obj-to-func-compose.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
031-define-chain-func-to-func-compose.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
031-define-chain-func-to-func-compose.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
032-define-func-self-recurse.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
032-define-func-self-recurse.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
033-define-func-self-compose.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
033-define-func-self-compose.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
034-define-func-self-compose-non-func.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
034-define-func-self-compose-non-func.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
035-define-func-self-compose-non-func-multi-token-argument.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
035-define-func-self-compose-non-func-multi-token-argument.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
036-define-func-non-macro-multi-token-argument.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
036-define-func-non-macro-multi-token-argument.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
037-finalize-unexpanded-macro.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
037-finalize-unexpanded-macro.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
038-func-arg-with-commas.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
038-func-arg-with-commas.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
039-func-arg-obj-macro-with-comma.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
039-func-arg-obj-macro-with-comma.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
040-token-pasting.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
040-token-pasting.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
041-if-0.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
041-if-0.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
042-if-1.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
042-if-1.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
043-if-0-else.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
043-if-0-else.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
044-if-1-else.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
044-if-1-else.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
045-if-0-elif.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
045-if-0-elif.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
046-if-1-elsif.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
046-if-1-elsif.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
047-if-elif-else.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
047-if-elif-else.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
048-if-nested.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
048-if-nested.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
049-if-expression-precedence.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
049-if-expression-precedence.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
050-if-defined.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
050-if-defined.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
051-if-relational.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
051-if-relational.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
052-if-bitwise.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
052-if-bitwise.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
053-if-divide-and-shift.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
053-if-divide-and-shift.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
054-if-with-macros.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
054-if-with-macros.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
055-define-chain-obj-to-func-parens-in-text.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
055-define-chain-obj-to-func-parens-in-text.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
056-macro-argument-with-comma.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
056-macro-argument-with-comma.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
057-empty-arguments.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
057-empty-arguments.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
058-token-pasting-empty-arguments.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
058-token-pasting-empty-arguments.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
059-token-pasting-integer.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
059-token-pasting-integer.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
060-left-paren-in-macro-right-paren-in-text.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
060-left-paren-in-macro-right-paren-in-text.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
061-define-chain-obj-to-func-multi.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
061-define-chain-obj-to-func-multi.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
062-if-0-skips-garbage.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
062-if-0-skips-garbage.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
063-comments.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
063-comments.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
064-version.c glcpp/tests: Add a test for #version followed by #define. 2010-06-21 12:31:04 -07:00
064-version.c.expected glcpp/tests: Add a test for #version followed by #define. 2010-06-21 12:31:04 -07:00
065-if-defined-parens.c glcpp/tests: Add a test for #if defined (identifier) 2010-06-21 12:41:05 -07:00
065-if-defined-parens.c.expected glcpp/tests: Add a test for #if defined (identifier) 2010-06-21 12:41:05 -07:00
071-punctuator.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
071-punctuator.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
072-token-pasting-same-line.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
072-token-pasting-same-line.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
099-c99-example.c Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00
099-c99-example.c.expected glcpp/tests: Add extra newline at the end of expected output. 2010-06-21 11:31:55 -07:00
glcpp-test Merge Carl's preprocessor into the glcpp subdirectory. 2010-06-21 11:22:11 -07:00