actually call adjustRefState.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Mon, 12 Dec 2011 15:27:38 +0000 (15:27 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Mon, 12 Dec 2011 15:27:38 +0000 (15:27 +0000)
driver.py

index 9caf39510b1a1aa71ab77dba4499ff97c9f176d5..4f40ac4ba85140dbf853aa5cfc13c349e9053793 100755 (executable)
--- a/driver.py
+++ b/driver.py
@@ -343,6 +343,7 @@ class TestCase:
         stream = open(refStateFileName, 'rt')
         from jsondiff import load
         state = load(stream)
+        self.adjustRefState(state)
         return state
 
     def getNamePrefix(self):
@@ -440,7 +441,7 @@ class TestCase:
         except KeyError:
             return
 
-        if platform.system() == 'Darwin' or True:
+        if platform.system() == 'Darwin':
             # Mac OS X drivers fail on GL_COLOR_SUM
             # XXX: investigate this
             self.removeState(parameters, 'GL_COLOR_SUM')