From beb9883705ee53452ec42657b47f107ac22199db Mon Sep 17 00:00:00 2001 From: Miguel Portilla Date: Fri, 24 Jun 2016 13:37:05 -0400 Subject: [PATCH] Remove incompatible OS X switches in Test.py --- Builds/Test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Builds/Test.py b/Builds/Test.py index fd5f3aa188..37d07115e1 100755 --- a/Builds/Test.py +++ b/Builds/Test.py @@ -58,10 +58,10 @@ def powerset(iterable): s = list(iterable) return itertools.chain.from_iterable(itertools.combinations(s, r) for r in range(len(s) + 1)) - IS_WINDOWS = platform.system().lower() == 'windows' +IS_OS_X = platform.system().lower() == 'darwin' -if IS_WINDOWS: +if IS_WINDOWS or IS_OS_X: ALL_TARGETS = [('debug',), ('release',)] else: ALL_TARGETS = [(cc + "." + target,) @@ -70,7 +70,7 @@ else: 'debug.nounity', 'release.nounity', 'coverage.nounity', 'profile.nounity']] # list of tuples of all possible options -if IS_WINDOWS: +if IS_WINDOWS or IS_OS_X: ALL_OPTIONS = [tuple(x) for x in powerset(['--assert'])] else: ALL_OPTIONS = list(set(