[Fuego] [PATCH 6/7] kernel_build: use log_this for storing the build log

Daniel Sangorrin daniel.sangorrin at toshiba.co.jp
Tue Sep 4 08:41:10 UTC 2018


Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
---
 engine/tests/Functional.kernel_build/fuego_test.sh | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/engine/tests/Functional.kernel_build/fuego_test.sh b/engine/tests/Functional.kernel_build/fuego_test.sh
index e0976a0..678099a 100755
--- a/engine/tests/Functional.kernel_build/fuego_test.sh
+++ b/engine/tests/Functional.kernel_build/fuego_test.sh
@@ -52,10 +52,7 @@ function test_build {
         FUNCTIONAL_KERNEL_BUILD_PARAMS="-j$(nproc)"
     fi
 
-    make ARCH=$ARCHITECTURE $FUNCTIONAL_KERNEL_BUILD_PARAMS $FUNCTIONAL_KERNEL_BUILD_TARGET 2>&1 | tee build.log || true
-
-    # cat on target populates the testlog with build.log
-    report "cat $WORKSPACE/$JOB_BUILD_DIR/build.log"
+    log_this make ARCH=$ARCHITECTURE $FUNCTIONAL_KERNEL_BUILD_PARAMS $FUNCTIONAL_KERNEL_BUILD_TARGET
 
     if grep "CONFIG_MODULES is not set" .config; then
         echo "INFO: config does not have modules enabled"
-- 
2.7.4



More information about the Fuego mailing list