vmtests: add log folding

Sprinkle log folds around, including timing.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
This commit is contained in:
Andrii Nakryiko
2020-08-21 19:06:43 -07:00
committed by Andrii Nakryiko
parent dc1cd8503f
commit 4001a658e0
8 changed files with 77 additions and 11 deletions

View File

@@ -1,6 +1,8 @@
#!/bin/bash
set -eux
set -eu
source $(cd $(dirname $0) && pwd)/helpers.sh
REPO_PATH=$1
@@ -8,7 +10,11 @@ ${VMTEST_ROOT}/checkout_latest_kernel.sh ${REPO_PATH}
cd ${REPO_PATH}
if [[ "${KERNEL}" = 'LATEST' ]]; then
travis_fold start build_kernel "Kernel build"
cp ${VMTEST_ROOT}/configs/latest.config .config
make -j $((4*$(nproc))) olddefconfig all
travis_fold end build_kernel
fi