Commit de0e7c28 authored by Stefan Behnel's avatar Stefan Behnel

minor test runner fixes

parent 3219367f
...@@ -693,6 +693,9 @@ class CythonCompileTestCase(unittest.TestCase): ...@@ -693,6 +693,9 @@ class CythonCompileTestCase(unittest.TestCase):
class CythonRunTestCase(CythonCompileTestCase): class CythonRunTestCase(CythonCompileTestCase):
def shortDescription(self): def shortDescription(self):
if self.cython_only:
return CythonCompileTestCase.shortDescription(self)
else:
return "compiling (%s) and running %s" % (self.language, self.module) return "compiling (%s) and running %s" % (self.language, self.module)
def run(self, result=None): def run(self, result=None):
...@@ -1427,7 +1430,6 @@ def main(): ...@@ -1427,7 +1430,6 @@ def main():
options, cmd_args = parser.parse_args() options, cmd_args = parser.parse_args()
ROOTDIR = os.path.abspath(options.root_dir)
WORKDIR = os.path.abspath(options.work_dir) WORKDIR = os.path.abspath(options.work_dir)
if sys.version_info[0] >= 3: if sys.version_info[0] >= 3:
......
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