[Zorg] Don't pass -jN to LNT, use --threads/--build-threads.
git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@282093 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/zorg/buildbot/builders/ClangBuilder.py b/zorg/buildbot/builders/ClangBuilder.py
index 6605868..5d6b0d7 100644
--- a/zorg/buildbot/builders/ClangBuilder.py
+++ b/zorg/buildbot/builders/ClangBuilder.py
@@ -726,11 +726,9 @@
cc = WithProperties('%(workdir)s/'+compiler_path+'/bin/'+cc)
cxx = WithProperties('%(workdir)s/'+compiler_path+'/bin/'+cxx)
- # LNT Command line
- if jobs is None:
- jobs = 1
+ # LNT Command line (don't pass -jN. Users need to pass both --threads
+ # and --build-threads in nt_flags to get the same effect)
test_suite_cmd = [python, lnt, 'runtest', 'nt',
- '-j'+str(jobs),
'--no-timestamp',
'--sandbox', sandbox,
'--test-suite', test_suite_dir,