Commit 8d05f057 authored by Chad Versace's avatar Chad Versace

Revert "glsl_parser_test: Add config opt 'override_extensions'"

This reverts commit 3fd587bc.

The email that precipitated the revert:
On 01/27/2011 11:52 AM, Ian Romanick wrote:
    I don't understand why it is useful / necessary to have this in the
    test.  If you're trying to test driver features while they're being
    implemented, you can / should do this by hand.  If you're not trying to
    test driver features while they're being implemented, you don't any
    this to happen behind your back.
parent 7e5323f8
......@@ -129,9 +129,6 @@ class GLSLParserTest(PlainExecTest):
Nonrequired Options
-------------------
* override_extensions: List of GL extensions to manually enable or
disable. Each extension name must begin with GL and be prefixed
with '+' or '-'. List elements are separated by whitespace.
* require_extensions: List of GL extensions. If an extension is not
supported, the test is skipped. Each extension name must begin
with GL and elements are separated by whitespace.
......@@ -151,9 +148,9 @@ class GLSLParserTest(PlainExecTest):
* glsl_version: 1.30
* expect_result: pass
* # Lists may be span multiple lines.
* override_extensions:
* +GL_ARB_fragment_coord_conventions
* -GL_AMD_conservative_depth
* required_extensions:
* GL_ARB_fragment_coord_conventions
* GL_AMD_conservative_depth
* [end config]
*/
......@@ -185,7 +182,6 @@ class GLSLParserTest(PlainExecTest):
]
__config_defaults = {
'override_extensions' : '',
'require_extensions' : '',
}
......@@ -375,7 +371,7 @@ class GLSLParserTest(PlainExecTest):
@property
def env(self):
return { 'MESA_EXTENSION_OVERRIDE' : self.config.get('config', 'override_extensions') }
return dict()
if __name__ == '__main__':
if len(sys.argv) != 2:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment