X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2Flit.cfg;h=9a2f74c21c93f368feffef976de0427ef8b97045;hb=1518afddea6c0a4275a9ac64a9ffe2b6b4c0600a;hp=21b0a48be9f1179aa21b7c5d38c791fa71d4509e;hpb=c37b4294847a4a3a3c517d4b3f17c6f3603c1733;p=oota-llvm.git diff --git a/test/lit.cfg b/test/lit.cfg index 21b0a48be9f..9a2f74c21c9 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -175,8 +175,12 @@ for sub in ['llvmgcc', 'llvmgxx', 'emitir', 'compile_cxx', 'compile_c', # (llvm_tools_dir in lit parlance). # Don't match 'bugpoint-' or 'clang-'. # Don't match '/clang'. +if os.pathsep == ';': + pathext = os.environ.get('PATHEXT', '').split(';') +else: + pathext = [''] for pattern in [r"\bbugpoint\b(?!-)", r"(?