From bc0d903f8e2d478c4e914dc09066c520ae224748 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 27 Sep 2015 23:49:44 +0900 Subject: [PATCH] Copy test logs as well --- build_test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build_test.sh b/build_test.sh index 97ad7232..e0c090da 100755 --- a/build_test.sh +++ b/build_test.sh @@ -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()