Re: [Xen-devel] [PATCH v4 for-4.10] scripts: introduce a script for build test

2017-11-01 Thread Anthony PERARD
On Mon, Oct 30, 2017 at 04:01:54PM +, Wei Liu wrote: > +git rev-list $BASE..$TIP | nl -ba | tac | \ > +while read num rev; do > +echo "Testing $num $rev" > + > +git checkout $rev > +ret=$? > +if test $ret -ne 0; then > +echo "Failed to checkout $num $rev with $ret" I do

[Xen-devel] [PATCH v4 for-4.10] scripts: introduce a script for build test

2017-10-30 Thread Wei Liu
Signed-off-by: Ian Jackson Signed-off-by: Wei Liu --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabellini Cc: Tim Deegan Cc: Wei Liu Cc: Julien Grall Cc: Anthony PERARD v4: 1. Check, save/restore $?. 2. Don't use trap, ch