Skip to content

Commit 6b46608

Browse files
Remove incompatible OS X switches in Test.py
1 parent 138cadc commit 6b46608

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Builds/Test.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ def powerset(iterable):
5757
s = list(iterable)
5858
return itertools.chain.from_iterable(itertools.combinations(s, r) for r in range(len(s) + 1))
5959

60-
6160
IS_WINDOWS = platform.system().lower() == 'windows'
61+
IS_OS_X = platform.system().lower() == 'darwin'
6262

63-
if IS_WINDOWS:
63+
if IS_WINDOWS or IS_OS_X:
6464
ALL_TARGETS = [('debug',), ('release',)]
6565
else:
6666
ALL_TARGETS = [(cc + "." + target,)
@@ -69,7 +69,7 @@ def powerset(iterable):
6969
'debug.nounity', 'release.nounity', 'coverage.nounity', 'profile.nounity']]
7070

7171
# list of tuples of all possible options
72-
if IS_WINDOWS:
72+
if IS_WINDOWS or IS_OS_X:
7373
ALL_OPTIONS = [tuple(x) for x in powerset(['--assert'])]
7474
else:
7575
ALL_OPTIONS = list(set(

0 commit comments

Comments
 (0)