stop build of kernel when there is a compilation error when using make -j
greg.freemyer at gmail.com
Wed Sep 11 07:32:04 EDT 2013
Kevin Wilson <wkevils at gmail.com> wrote:
>What is "expect" script ? is it in bash? is there a good link for it ?
>On Mon, Sep 9, 2013 at 4:15 AM, <Valdis.Kletnieks at vt.edu> wrote:
>> On Sun, 08 Sep 2013 13:33:06 +0300, Kevin Wilson said:
>>> However, when I use "make -j 4" and there an error, it does not
>>> stop immediately because of the parallel build using several CPU
>>> Is there a way to cause "make -j 4" to stop on the first compilation
>> Control-C works pretty well. If you don't want to watch it scroll by
>> for an error, write an 'expect' script to do it for you.
>Kernelnewbies mailing list
>Kernelnewbies at kernelnewbies.org
Expect is conceptually similar to awk, but awk scans files, expect runs processes interactively and parses the output.
It has been part of unix (linux) for decades. It can be called from any shell.
Google "expect script tutorials"
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
More information about the Kernelnewbies