diff --git a/tests/test_base.py b/tests/test_base.py index adf7beb845685eee3b388dc1f594053a0f3c8906..73756bed7a61fb11f6f61c8c4dd06bdaa0511e72 100755 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -56,6 +56,8 @@ parser.add_argument('--wd', type = str, dest = 'work_dir', default = 'data') parser.add_argument('--precision', type = str, dest = 'precision', default = 'single') +parser.add_argument('--multiplejob', + dest = 'multiplejob', action = 'store_true') def double(opt): old_simname = 'N{0:0>3x}'.format(opt.n) diff --git a/tests/test_plain.py b/tests/test_plain.py index d633ff7d7c4ba3a7d1a797681c6f6b0e874852b3..d9b48005775d9a786d4d9af31f97bd0e834a3aa9 100755 --- a/tests/test_plain.py +++ b/tests/test_plain.py @@ -26,6 +26,8 @@ def plain(opt): opt.work_dir = wd + '/N{0:0>3x}_1'.format(opt.n) c0 = launch(opt) c0.compute_statistics() + if not opt.multiplejob: + return None opt.work_dir = wd + '/N{0:0>3x}_2'.format(opt.n) opt.njobs *= 2 opt.nsteps /= 2