test pahole

This commit is contained in:
Sergei Iudin
2021-06-17 13:38:13 -07:00
committed by Andrii Nakryiko
parent 26497b9a88
commit 42ebbbce7d
3 changed files with 47 additions and 1 deletions
+2 -1
View File
@@ -9,13 +9,14 @@ travis_fold start build_pahole "Building pahole"
CWD=$(pwd)
REPO_PATH=$1
PAHOLE_ORIGIN=https://git.kernel.org/pub/scm/devel/pahole/pahole.git
PAHOLE_BRANCH=${PAHOLE_BRANCH:-master}
mkdir -p ${REPO_PATH}
cd ${REPO_PATH}
git init
git remote add origin ${PAHOLE_ORIGIN}
git fetch origin
git checkout master
git checkout ${PAHOLE_BRANCH}
mkdir -p build
cd build