Skip to content

Commit

Permalink
Reduce number of build options tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TollyH committed May 13, 2024
1 parent c462397 commit e8af1fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Scripts/test_build_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
print("Testing extension set combinations...")

combinations: list[tuple[str, ...]] = []
for length in range(len(EXTENSION_SET_OPTIONS) + 1):
# Extension sets are tested alone and in pairs
for length in range(3):
for combination in itertools.combinations(EXTENSION_SET_OPTIONS, length):
combinations.append(combination)

Expand All @@ -62,6 +63,7 @@
print("Testing operation combinations...")

combinations: list[tuple[str, ...]] = []
# Every possible combination of operations is tested
for length in range(len(OPERATION_OPTIONS) + 1):
for combination in itertools.combinations(OPERATION_OPTIONS, length):
valid = True
Expand Down

0 comments on commit e8af1fa

Please sign in to comment.