Run ShTests when the executor is an instance of LocalExecutor
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@231404 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ad98e210c6
commit
03e3302cc1
@ -6,6 +6,8 @@ import lit.Test # pylint: disable=import-error
|
|||||||
import lit.TestRunner # pylint: disable=import-error
|
import lit.TestRunner # pylint: disable=import-error
|
||||||
import lit.util # pylint: disable=import-error
|
import lit.util # pylint: disable=import-error
|
||||||
|
|
||||||
|
from libcxx.test.executor import LocalExecutor as LocalExecutor
|
||||||
|
import libcxx.test.executor
|
||||||
import libcxx.util
|
import libcxx.util
|
||||||
|
|
||||||
|
|
||||||
@ -75,7 +77,7 @@ class LibcxxTestFormat(object):
|
|||||||
|
|
||||||
# Dispatch the test based on its suffix.
|
# Dispatch the test based on its suffix.
|
||||||
if is_sh_test:
|
if is_sh_test:
|
||||||
if self.executor:
|
if not isinstance(self.executor, LocalExecutor):
|
||||||
# We can't run ShTest tests with a executor yet.
|
# We can't run ShTest tests with a executor yet.
|
||||||
# For now, bail on trying to run them
|
# For now, bail on trying to run them
|
||||||
return lit.Test.UNSUPPORTED, 'ShTest format not yet supported'
|
return lit.Test.UNSUPPORTED, 'ShTest format not yet supported'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user