Changeset: b3dff94ebb41 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b3dff94ebb41 Modified Files: testing/Mtest.py.in Branch: Jul2017 Log Message:
Allow lowering of number of test threads. diffs (20 lines): diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in --- a/testing/Mtest.py.in +++ b/testing/Mtest.py.in @@ -1932,9 +1932,14 @@ def RunTest(env, TST, BusyPorts, COND, o elem = SkipTest(env, TST, EXT, reason, length) break elif cond.startswith('THREADS='): - if env['GDK_NR_THREADS'] == '0': + if negate: + reason = "impossible combination of THREADS= and negation" + elem = SkipTest(env, TST, EXT, reason, length) + break + elif env['GDK_NR_THREADS'] == '0' or \ + int(env['TST_THREADS']) >= int(cond[8:]): threads = cond[8:] - elif (env['TST_THREADS'] == cond[8:]) == negate: + elif env['TST_THREADS'] != cond[8:]: reason = "as number of threads is wrong" elem = SkipTest(env, TST, EXT, reason, length) break _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list