summaryrefslogtreecommitdiff
path: root/piglit-print-commands.py
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2014-02-11 00:17:19 -0800
committerDylan Baker <baker.dylan.c@gmail.com>2014-04-03 13:17:14 -0700
commit64fc24b09b836497470416d8ca86cb117263a1e4 (patch)
tree795f8740ab2d7244f9cadfd7a3d80a44dc1dd8c4 /piglit-print-commands.py
parent06dff5005c4fc407fcc6876599e90256b29e4e68 (diff)
exectest.py: Merge Test and ExecTest into a single class
Rather than have 2 base classes, let's just have one. v2: - remove test that no longer is valid v3: - fix igt using ExecTest instead of Test - fix Test setting two different run methods - fix piglit-print-commands.py, which also relied on ExecTest Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Diffstat (limited to 'piglit-print-commands.py')
-rwxr-xr-xpiglit-print-commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/piglit-print-commands.py b/piglit-print-commands.py
index 452960815..d62d540c5 100755
--- a/piglit-print-commands.py
+++ b/piglit-print-commands.py
@@ -30,7 +30,7 @@ import os.path as path
sys.path.append(path.dirname(path.realpath(sys.argv[0])))
import framework.core as core
-from framework.exectest import ExecTest
+from framework.exectest import Test
from framework.gleantest import GleanTest
@@ -77,7 +77,7 @@ def main():
profile.prepare_test_list(env)
for name, test in profile.test_list.items():
- assert(isinstance(test, ExecTest))
+ assert(isinstance(test, Test))
print(name, ':::', getCommand(test))