mirror of https://github.com/openXC7/prjxray.git
Handle both jobserver-fds and jobserver-auth flags.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
parent
fd88bf59e0
commit
2678e7a3a7
|
|
@ -504,8 +504,9 @@ def run_fuzzer(fuzzer_name, fuzzer_dir, fuzzer_logdir, logger, will_retry):
|
|||
# Play nice with make's jobserver.
|
||||
# See https://www.gnu.org/software/make/manual/html_node/POSIX-Jobserver.html#POSIX-Jobserver # noqa
|
||||
job_fds = []
|
||||
if '--jobserver-fds' in make_flags:
|
||||
job_re = re.search('--jobserver-fds=([0-9]+),([0-9]+)', make_flags)
|
||||
if '--jobserver-fds' in make_flags or '--jobserver-auth' in make_flags:
|
||||
job_re = re.search(
|
||||
'--jobserver-(?:fds|auth)=([0-9]+),([0-9]+)', make_flags)
|
||||
assert job_re, make_flags
|
||||
job_rd, job_wr = job_re.groups()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue