Skip to content

Commit

Permalink
Merge pull request #2394 from stan-dev/windows_jumbo
Browse files Browse the repository at this point in the history
Decrease jumbo size for windows
  • Loading branch information
bbbales2 committed Feb 26, 2021
2 parents 421085c + 437350f commit 1bbf76c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def isWin():


batchSize = 20 if isWin() else 200

jumboSize = 5 if isWin() else 15

def mungeName(name):
"""Set up the makefile target name"""
Expand Down Expand Up @@ -188,7 +188,7 @@ def generateJumboTests(paths):
stopErr("The --jumbo flag is only allowed with top level folders.", 10)
for jf in jumbo_files_to_create:
tests_in_subfolder = sorted([x for x in os.listdir(jf) if x.endswith(testsfx)])
chunked_tests = divide_chunks(tests_in_subfolder, 15)
chunked_tests = divide_chunks(tests_in_subfolder, jumboSize)
i = 0
for tests in chunked_tests:
i = i + 1
Expand Down

0 comments on commit 1bbf76c

Please sign in to comment.