From d1aeca8211cdda95ea3b05a5120ce066c05b731c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 22 Jun 2021 07:29:27 +0200 Subject: testsuite/gna/testsuite.py: add --jobs option --- testsuite/gna/testsuite.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testsuite/gna/testsuite.py b/testsuite/gna/testsuite.py index d92b42a08..a27660d36 100755 --- a/testsuite/gna/testsuite.py +++ b/testsuite/gna/testsuite.py @@ -93,6 +93,9 @@ if __name__ == '__main__': parser = argparse.ArgumentParser(description="parallel test driver") parser.add_argument("-k", "--keep", help="keep running", action='store_true') + parser.add_argument("-j", "--jobs", type=int, default=4, + help="number of parallel jobs") args = parser.parse_args() + NUMJOBS = args.jobs if not run(args.keep): sys.exit(1) -- cgit v1.2.3