X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2Flit.cfg;h=251dbe0966c204d31a7515aca8a2de74c3b2d1ca;hb=63735e79ff83cf8b123231cceac10903b3d0ef22;hp=abca7f7fa595ed7524820d4a205132bc5224d7a2;hpb=27c35d980a4f59ca9a4d75bf219092e6b1013dc9;p=oota-llvm.git diff --git a/test/lit.cfg b/test/lit.cfg index abca7f7fa59..251dbe0966c 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -41,12 +41,12 @@ config.test_format = lit.formats.ShTest(execute_external) # suffixes: A list of file extensions to treat as test files. This is overriden # by individual lit.local.cfg files in the test subdirectories. -config.suffixes = [] +config.suffixes = ['.ll', '.c', '.cpp', '.test', '.txt', '.s'] # excludes: A list of directories to exclude from the testsuite. The 'Inputs' # subdirectories contain auxiliary inputs for various tests in their parent # directories. -config.excludes = ['Inputs'] +config.excludes = ['Inputs', 'CMakeLists.txt', 'README.txt', 'LICENSE.txt'] # test_source_root: The root path where tests are located. config.test_source_root = os.path.dirname(__file__) @@ -173,7 +173,7 @@ jit_impl_cfg = lit_config.params.get('jit_impl', None) if jit_impl_cfg == 'mcjit': # When running with mcjit, mangle -mcjit into target triple # and add -use-mcjit flag to lli invocation - if 'i686' in config.target_triple: + if 'i386' in config.target_triple or 'i686' in config.target_triple: config.target_triple += jit_impl_cfg + '-ia32' elif 'x86_64' in config.target_triple: config.target_triple += jit_impl_cfg + '-ia64' @@ -204,32 +204,53 @@ else: # Regex to reject matching a hyphen NOHYPHEN = r"(?