Skip to content

Commit 6eb7fe3

Browse files
authored
Merge pull request #2323 from byuccl/quick_test_jobs
Allow -j argument to quick test
2 parents 4fa4476 + 30f0bf7 commit 6eb7fe3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

run_quick_test.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
""" Run the vtr_reg_basic regression test """
44

5+
import argparse
56
import subprocess
67

7-
subprocess.run(["./run_reg_test.py", "vtr_reg_basic"], check=True)
8+
parser = argparse.ArgumentParser()
9+
parser.add_argument("-j", "--jobs", type=int, default=1, help="Number of processes to use")
10+
args = parser.parse_args()
11+
12+
subprocess.run(["./run_reg_test.py", "vtr_reg_basic", "-j", str(args.jobs)], check=True)

0 commit comments

Comments
 (0)