Skip to content

Commit

Permalink
Change MP to MT to match "MultiThreaded"
Browse files Browse the repository at this point in the history
Chaitanya Joshi committed May 22, 2024

Verified

This commit was signed with the committer’s verified signature.
Moritzoni Moritz
1 parent c227091 commit 0af760d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test.py
Original file line number Diff line number Diff line change
@@ -184,15 +184,15 @@ def test(file,testLog,CI):
# this is being run for continous integration
CI = False
# Also look for a command line argument that says this is being run with multiple threads
MP = False
MT = False
for arg in sys.argv:
if arg == '-c': # if the argument is -c, then we are running in CI mode
CI = True
if arg == '-m': # if the argument is -m, then we are running in multi-thread mode
MP = True
MT = True

failedTestsFileName = "FailedTests.txt"
if MP:
if MT:
failedTestsFileName = "FailedTestsMultiThreaded.txt"
command += " -w4"
print("Running tests with 4 threads")

0 comments on commit 0af760d

Please sign in to comment.