diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-06-22 07:29:27 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-06-22 07:29:27 +0200 |
commit | d1aeca8211cdda95ea3b05a5120ce066c05b731c (patch) | |
tree | 53ec32aeb500e3235da22ad624ea3f14a9ad47ad /testsuite/gna | |
parent | d9791f7bd9c363487538ce0848a4c2007e33b5a6 (diff) | |
download | ghdl-d1aeca8211cdda95ea3b05a5120ce066c05b731c.tar.gz ghdl-d1aeca8211cdda95ea3b05a5120ce066c05b731c.tar.bz2 ghdl-d1aeca8211cdda95ea3b05a5120ce066c05b731c.zip |
testsuite/gna/testsuite.py: add --jobs option
Diffstat (limited to 'testsuite/gna')
-rwxr-xr-x | testsuite/gna/testsuite.py | 3 |
1 files changed, 3 insertions, 0 deletions
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) |