From 26aaa6872d2a00f4154a06af08d929748b692c7f Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 5 Mar 2015 20:27:01 +0000 Subject: [PATCH] Run ShTests when the executor is an instance of LocalExecutor llvm-svn: 231404 --- libcxx/test/libcxx/test/format.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libcxx/test/libcxx/test/format.py b/libcxx/test/libcxx/test/format.py index 0a2b893..6c37ac4 100644 --- a/libcxx/test/libcxx/test/format.py +++ b/libcxx/test/libcxx/test/format.py @@ -6,6 +6,8 @@ import lit.Test # pylint: disable=import-error import lit.TestRunner # 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 @@ -75,7 +77,7 @@ class LibcxxTestFormat(object): # Dispatch the test based on its suffix. if is_sh_test: - if self.executor: + if not isinstance(self.executor, LocalExecutor): # We can't run ShTest tests with a executor yet. # For now, bail on trying to run them return lit.Test.UNSUPPORTED, 'ShTest format not yet supported' -- 2.7.4