mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-11 11:09:06 +08:00
vmtests: add log folding
Sprinkle log folds around, including timing. Signed-off-by: Andrii Nakryiko <andriin@fb.com>
This commit is contained in:
committed by
Andrii Nakryiko
parent
dc1cd8503f
commit
4001a658e0
12
travis-ci/vmtest/helpers.sh
Normal file
12
travis-ci/vmtest/helpers.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
# $1 - start or end
|
||||
# $2 - fold identifier, no spaces
|
||||
# $3 - fold section description
|
||||
travis_fold() {
|
||||
local YELLOW='\033[1;33m'
|
||||
local NOCOLOR='\033[0m'
|
||||
echo travis_fold:$1:$2
|
||||
if [ ! -z "${3:-}" ]; then
|
||||
echo -e "${YELLOW}$3${NOCOLOR}"
|
||||
fi
|
||||
echo
|
||||
}
|
||||
Reference in New Issue
Block a user