Skip to content

Commit

Permalink
Fix -t option for python3
Browse files Browse the repository at this point in the history
  • Loading branch information
makortel committed Sep 21, 2021
1 parent 0db308a commit 4b97950
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Utilities/ReleaseScripts/scripts/addOnTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,10 @@ def runTests(self, testList = None):

print('Running in %s thread(s)' % self.maxThreads)

if testList:
self.commands = {d:c for d,c in self.commands.items() if d in testList}
for dirName, command in self.commands.items():

if testList and not dirName in testList:
del self.commands[dirName]
continue

# make sure we don't run more than the allowed number of threads:
while self.activeThreads() >= self.maxThreads:
time.sleep(10)
Expand Down

0 comments on commit 4b97950

Please sign in to comment.