Copy test logs as well

pull/481/head
Tatsuhiro Tsujikawa 2015-09-27 23:49:44 +09:00
parent db443d848c
commit bc0d903f8e
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@ build()
&& LANG=C make clean \
&& LANG=C make -j2 check 2>&1 |tee "$BUILDDIR/aria2c_$2.log" \
&& cp src/aria2c "$BUILDDIR/aria2c_$2"
if [ -f "test/aria2c.log" ]; then
cat "test/aria2c.log" >> "$BUILDDIR/aria2c_$2.log"
fi
}
clear()