Skip to content

Commit 8ae4450

Browse files
committed
Allow -j argument to quick test
Signed-off-by: Jeff Goeders <[email protected]>
1 parent 924fd89 commit 8ae4450

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)