Re: [PATCH, testsuite]: Fix detection of -j make argument

2016-11-22 Thread Uros Bizjak
On Tue, Nov 22, 2016 at 4:54 PM, Marc Glisse wrote: > On Tue, 22 Nov 2016, Uros Bizjak wrote: > >> New makes (e.g. GNU Make 4.2.1) pass -j argument in MFLAGS is a >> different way. While older makes pass only "-j", newer makes pass e.g. >> "-j4" when -j is specified on the command line. The detect

Re: [PATCH, testsuite]: Fix detection of -j make argument

2016-11-22 Thread Jonathan Wakely
On 22/11/16 16:54 +0100, Marc Glisse wrote: On Tue, 22 Nov 2016, Uros Bizjak wrote: New makes (e.g. GNU Make 4.2.1) pass -j argument in MFLAGS is a different way. While older makes pass only "-j", newer makes pass e.g. "-j4" when -j is specified on the command line. The detection of "-j" make a

Re: [PATCH, testsuite]: Fix detection of -j make argument

2016-11-22 Thread Marc Glisse
On Tue, 22 Nov 2016, Uros Bizjak wrote: New makes (e.g. GNU Make 4.2.1) pass -j argument in MFLAGS is a different way. While older makes pass only "-j", newer makes pass e.g. "-j4" when -j is specified on the command line. The detection of "-j" make argument doesn't work in the later case. Atta

Re: [PATCH, testsuite]: Fix detection of -j make argument

2016-11-22 Thread Jeff Law
On 11/22/2016 05:25 AM, Uros Bizjak wrote: Hello! New makes (e.g. GNU Make 4.2.1) pass -j argument in MFLAGS is a different way. While older makes pass only "-j", newer makes pass e.g. "-j4" when -j is specified on the command line. The detection of "-j" make argument doesn't work in the later c

Re: [PATCH, testsuite]: Fix detection of -j make argument

2016-11-22 Thread Jonathan Wakely
On 22/11/16 13:25 +0100, Uros Bizjak wrote: OK for mainline SVN and release branches? Yes, the libstdc++ parts are ok, thanks.

[PATCH, testsuite]: Fix detection of -j make argument

2016-11-22 Thread Uros Bizjak
Hello! New makes (e.g. GNU Make 4.2.1) pass -j argument in MFLAGS is a different way. While older makes pass only "-j", newer makes pass e.g. "-j4" when -j is specified on the command line. The detection of "-j" make argument doesn't work in the later case. Attached patch reworks this functionali