[libcxx] r231404 - Run ShTests when the executor is an instance of LocalExecutor
Eric Fiselier
eric at efcs.ca
Thu Mar 5 12:27:01 PST 2015
Author: ericwf
Date: Thu Mar 5 14:27:01 2015
New Revision: 231404
URL: http://llvm.org/viewvc/llvm-project?rev=231404&view=rev
Log:
Run ShTests when the executor is an instance of LocalExecutor
Modified:
libcxx/trunk/test/libcxx/test/format.py
Modified: libcxx/trunk/test/libcxx/test/format.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/test/format.py?rev=231404&r1=231403&r2=231404&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/test/format.py (original)
+++ libcxx/trunk/test/libcxx/test/format.py Thu Mar 5 14:27:01 2015
@@ -6,6 +6,8 @@ import lit.Test # pylint: disable
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'
More information about the cfe-commits
mailing list