From 03e3302cc1d0f0706c55252740d7828127df9f47 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 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@231404 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/libcxx/test/format.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/libcxx/test/format.py b/test/libcxx/test/format.py index 0a2b8937e..6c37ac4a5 100644 --- a/test/libcxx/test/format.py +++ b/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'