1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

lit/TestFormats.py: Unittests may be found with suffix .exe also on Cygwin.

llvm-svn: 125273
This commit is contained in:
NAKAMURA Takumi 2011-02-10 09:11:57 +00:00
parent ce0e9c3c13
commit 80343d0f2a

View File

@ -1,11 +1,11 @@
import os import os
import platform import sys
import Test import Test
import TestRunner import TestRunner
import Util import Util
kIsWindows = platform.system() == 'Windows' kIsWindows = sys.platform in ['win32', 'cygwin']
class GoogleTest(object): class GoogleTest(object):
def __init__(self, test_sub_dir, test_suffix): def __init__(self, test_sub_dir, test_suffix):