[Fuego] [fuego-core] Functional.kernel_build: Fix kernel build failure

[email protected] Mon, 6 Sep 2021 20:31:41 +0530
Newsgroups dev.linux.lists.fuego
Message-ID <[email protected]>
From: venkata pyla <[email protected]>

 'log_this' function accepts only single argument and so modified
 to send as single string

Signed-off-by: venkata pyla <[email protected]>
---
 tests/Functional.kernel_build/fuego_test.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/Functional.kernel_build/fuego_test.sh b/tests/Functional.kernel_build/fuego_test.sh
index feb134b..98c2f16 100755
--- a/tests/Functional.kernel_build/fuego_test.sh
+++ b/tests/Functional.kernel_build/fuego_test.sh
@@ -56,15 +56,15 @@ function test_build {
         FUNCTIONAL_KERNEL_BUILD_PARAMS="-j$(nproc)"
     fi
 
-    log_this make ARCH=$ARCHITECTURE $FUNCTIONAL_KERNEL_BUILD_PARAMS $FUNCTIONAL_KERNEL_BUILD_TARGET
+    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"
     else
         echo "Packing modules"
         mkdir built_modules
-        log_this make ARCH=$ARCHITECTURE $FUNCTIONAL_KERNEL_BUILD_PARAMS modules
-        log_this make ARCH=$ARCHITECTURE INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=./built_modules modules_install
+        log_this "make ARCH=$ARCHITECTURE $FUNCTIONAL_KERNEL_BUILD_PARAMS modules"
+        log_this "make ARCH=$ARCHITECTURE INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=./built_modules modules_install"
         cd built_modules
         tar -cjf modules.tar.gz lib/modules/*/
         cd ..
-- 
2.20.1