diff options
author | Kenney Phillis <kphillisjr@gmail.com> | 2012-07-15 04:34:12 -0500 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2012-07-16 20:13:58 +0100 |
commit | 655d6140b94af2bd6fee54fa71479ae5616ba657 (patch) | |
tree | 5ec402827de59b4c80159678aa65051f266233f7 | |
parent | c1dcf76b3f66dc3cb78ef7a0ae2a705d10ffcc2a (diff) |
Modified tests to allow the test profiles to properly work on platforms where execfile() calls in python do not automatically declare variables as globals.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
-rw-r--r-- | tests/quick-driver.tests | 2 | ||||
-rw-r--r-- | tests/quick.tests | 3 | ||||
-rw-r--r-- | tests/r300.tests | 2 | ||||
-rw-r--r-- | tests/r500.tests | 2 | ||||
-rw-r--r-- | tests/r600.tests | 2 |
5 files changed, 11 insertions, 0 deletions
diff --git a/tests/quick-driver.tests b/tests/quick-driver.tests index 73bee46dc..3c309eda3 100644 --- a/tests/quick-driver.tests +++ b/tests/quick-driver.tests @@ -2,6 +2,8 @@ import os.path +global profile + execfile(os.path.dirname(__file__) + '/quick.tests') # These don't test the driver diff --git a/tests/quick.tests b/tests/quick.tests index 2ca060d78..89ba2c3cb 100644 --- a/tests/quick.tests +++ b/tests/quick.tests @@ -5,6 +5,9 @@ import os.path +global profile +global GleanTest + execfile(os.path.dirname(__file__) + '/all.tests') GleanTest.globalParams += [ "--quick" ] diff --git a/tests/r300.tests b/tests/r300.tests index 8dfeccbe6..78f457f20 100644 --- a/tests/r300.tests +++ b/tests/r300.tests @@ -4,6 +4,8 @@ import os.path +global profile + execfile(os.path.dirname(__file__) + '/quick-driver.tests') from framework.core import * diff --git a/tests/r500.tests b/tests/r500.tests index 0ea98426d..6eafa6116 100644 --- a/tests/r500.tests +++ b/tests/r500.tests @@ -4,6 +4,8 @@ import os.path +global profile + execfile(os.path.dirname(__file__) + '/quick-driver.tests') from framework.core import * diff --git a/tests/r600.tests b/tests/r600.tests index 7d880f088..b08c761de 100644 --- a/tests/r600.tests +++ b/tests/r600.tests @@ -1,6 +1,8 @@ import os.path +global profile + execfile(os.path.dirname(__file__) + '/quick-driver.tests') from framework.core import * |