From 7805cdcab55fe796919c870c1b64c66aa2faa04c Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 10 Feb 2011 09:11:57 +0000 Subject: [PATCH] lit/TestFormats.py: Unittests may be found with suffix .exe also on Cygwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125273 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/lit/lit/TestFormats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/lit/lit/TestFormats.py b/utils/lit/lit/TestFormats.py index 230995a34b2..6dda2fdb608 100644 --- a/utils/lit/lit/TestFormats.py +++ b/utils/lit/lit/TestFormats.py @@ -1,11 +1,11 @@ import os -import platform +import sys import Test import TestRunner import Util -kIsWindows = platform.system() == 'Windows' +kIsWindows = sys.platform in ['win32', 'cygwin'] class GoogleTest(object): def __init__(self, test_sub_dir, test_suffix): -- 2.34.1