зеркало из https://github.com/github/ruby.git
jobserver option may not be at the last
This commit is contained in:
Родитель
180d37c817
Коммит
ab01b8f23f
|
@ -286,9 +286,10 @@ module Test
|
|||
@jobserver = nil
|
||||
makeflags = ENV.delete("MAKEFLAGS")
|
||||
if !options[:parallel] and
|
||||
/(?:\A|\s)--jobserver-(?:auth|fds)=(?:(\d+),(\d+)|fifo:(.*))/ =~ makeflags
|
||||
/(?:\A|\s)--jobserver-(?:auth|fds)=(?:(\d+),(\d+)|fifo:((?:\\.|\S)+))/ =~ makeflags
|
||||
begin
|
||||
if fifo = $3
|
||||
fifo.gsub!(/\\(?=.)/, '')
|
||||
r = File.open(fifo, IO::RDONLY|IO::NONBLOCK|IO::BINARY)
|
||||
w = File.open(fifo, IO::WRONLY|IO::NONBLOCK|IO::BINARY)
|
||||
else
|
||||
|
|
Загрузка…
Ссылка в новой задаче