diff options
| -rwxr-xr-x | bin/piglit_test | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/piglit_test b/bin/piglit_test index 2fadfe1..c8eacfc 100755 --- a/bin/piglit_test +++ b/bin/piglit_test @@ -3,7 +3,7 @@ import os import sys -from argparse import ArgumentParser, FileType +from argparse import ArgumentParser from subprocess import check_output, STDOUT @@ -16,9 +16,9 @@ class PiglitTests: def run(self): piglit_output = '' - + log_path = os.path.join(os.environ.get('CHECKBOX_DATA', '.'), - 'piglit-results', self._name) + 'piglit-results', self._name) run_command = ["piglit-run.py"] @@ -40,7 +40,7 @@ class PiglitTests: for line in piglit_output.split('\n'): if ' :: ' in line: self._results[line.split(' :: ')[-1].strip()] = \ - line.split(' :: ')[-2].strip() + line.split(' :: ')[-2].strip() def get_tests_by_status(self, status): """ @@ -56,8 +56,8 @@ class PiglitTests: def main(): parser = ArgumentParser("A wrapper script for the Piglit graphics test " - "framework which runs the tests and parses the " - "results.") + "framework which runs the tests and parses the " + "results.") parser.add_argument("--test", "-t", required=True, action='append', |
