<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android-x86-mesa.git/src/glsl/glcpp/tests, branch r300</title>
<subtitle>Androïd/x86 port of Mesa drivers
</subtitle>
<id>https://git.hiegel.fr/cgit/android-x86-mesa.git/atom?h=r300</id>
<link rel='self' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/atom?h=r300'/>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/'/>
<updated>2011-03-03T18:42:37Z</updated>
<entry>
<title>glcpp/tests: Update 063-comments.c.expected to match output.</title>
<updated>2011-03-03T18:42:37Z</updated>
<author>
<name>Kenneth Graunke</name>
<email>kenneth@whitecape.org</email>
</author>
<published>2011-03-03T07:26:24Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/commit/?id=b56f30c2b23f6d7b5499f01fa2d3ee04f2ce546e'/>
<id>urn:sha1:b56f30c2b23f6d7b5499f01fa2d3ee04f2ce546e</id>
<content type='text'>
The expected result has been out of sync with what glcpp produces for
some time; glcpp's actual result seems to be correct and is very close to
GCC's cpp.  Updating this will make it easier to catch regressions in
upcoming commits.
</content>
</entry>
<entry>
<title>Revert "glcpp: Demote "macro redefined" from an error to a warning"</title>
<updated>2011-01-28T22:21:05Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2011-01-28T22:19:39Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/commit/?id=2a18d1950c84c96d263cc8f15434502e03aeb1dc'/>
<id>urn:sha1:2a18d1950c84c96d263cc8f15434502e03aeb1dc</id>
<content type='text'>
This reverts commit d3df641f0aba99b0b65ecd4d9b06798bca090a29.

The original commit had sat unpushed on my machine for months. By the
time I found it again, I had forgotten that we had decided not to use
this change after all, (the relevant test was removed long ago).
</content>
</entry>
<entry>
<title>glcpp: Demote "macro redefined" from an error to a warning</title>
<updated>2011-01-28T05:16:36Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-08-23T18:38:45Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/commit/?id=d3df641f0aba99b0b65ecd4d9b06798bca090a29'/>
<id>urn:sha1:d3df641f0aba99b0b65ecd4d9b06798bca090a29</id>
<content type='text'>
The GLSL specification is vague here, (just says "as is standard for
C++"), though the C specifications seem quite clear that this should
be an error.

However, an existing piglit test (CorrectPreprocess11.frag) expects
this to be a warning, not an error, so we change this, and document in
README the deviation from the specification.
</content>
</entry>
<entry>
<title>glcpp: Add test for recursive #define.</title>
<updated>2011-01-05T00:39:19Z</updated>
<author>
<name>Vinson Lee</name>
<email>vlee@vmware.com</email>
</author>
<published>2011-01-05T00:39:19Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/commit/?id=5a3f31575bf0657661c3e66a4c95c3298c78e441'/>
<id>urn:sha1:5a3f31575bf0657661c3e66a4c95c3298c78e441</id>
<content type='text'>
</content>
</entry>
<entry>
<title>glcpp: Add division by zero test cases.</title>
<updated>2011-01-04T21:18:19Z</updated>
<author>
<name>Vinson Lee</name>
<email>vlee@vmware.com</email>
</author>
<published>2011-01-04T21:18:19Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/commit/?id=6530944b502a0f35b305ee35c1c6f1e32a887721'/>
<id>urn:sha1:6530944b502a0f35b305ee35c1c6f1e32a887721</id>
<content type='text'>
</content>
</entry>
<entry>
<title>glcpp: Add negative tests for redefintions with valueless macros.</title>
<updated>2010-12-28T07:20:35Z</updated>
<author>
<name>Vinson Lee</name>
<email>vlee@vmware.com</email>
</author>
<published>2010-12-28T07:20:35Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/commit/?id=f3319561a476bd806005551251dbc6a37f266e03'/>
<id>urn:sha1:f3319561a476bd806005551251dbc6a37f266e03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>glcpp: Fix test suite to avoid flagging failed tests as valgrind errors.</title>
<updated>2010-08-23T17:48:10Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-08-23T17:41:30Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/commit/?id=21560c40e8aa98624a225752b98babc7ae2938d5'/>
<id>urn:sha1:21560c40e8aa98624a225752b98babc7ae2938d5</id>
<content type='text'>
We recently added several tests that intentionally trigger
preprocessor errors. During valgrind-based testing, our test script
was noticing the non-zero return value from the preprocessor and
incorrectly flagging the valgrind-based test as failing.

To fix this, we make valgrind return an error code that is otherwise
unused by the preprocessor.
</content>
</entry>
<entry>
<title>glcpp: Add new test for #line directive.</title>
<updated>2010-08-23T17:48:10Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-08-23T16:26:44Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/commit/?id=2a9e791fdeb45080a98042d41c153ea19c17caae'/>
<id>urn:sha1:2a9e791fdeb45080a98042d41c153ea19c17caae</id>
<content type='text'>
This test exposes two current bugs:

	1. The source number is not being correctly emitted in error
	   messages (instead, it's always 0).

	2. A directive of "#line 0" is resulting in the following
	   parse error:

		preprocessor error: Invalid tokens after #
</content>
</entry>
<entry>
<title>glcpp: Add test for the #error directive.</title>
<updated>2010-08-23T17:48:10Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-08-23T15:54:06Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/commit/?id=0acd68c4050fea82797f80ad90212926df4cf001'/>
<id>urn:sha1:0acd68c4050fea82797f80ad90212926df4cf001</id>
<content type='text'>
This directive is already implemented nicely, but wasn't previously tested.
It will be convenient to use this directive in further tests that rely
on error messages, (such as ensuring that #line correctly sets the line
number in the error message).
</content>
</entry>
<entry>
<title>glcpp: Add two new tests for testing redefined macros.</title>
<updated>2010-08-18T06:41:53Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-08-18T06:19:01Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/commit/?id=105e2137d67b98c24251be3586985fb61aeaf28a'/>
<id>urn:sha1:105e2137d67b98c24251be3586985fb61aeaf28a</id>
<content type='text'>
The specification says that redefining a macro is an error, unless the
new definitions is identical to the old one, (identical replacement
lists but ignoring differing amounts of whitespace).
</content>
</entry>
</feed>
