test pahole

This commit is contained in:
Sergei Iudin
2021-06-16 17:02:35 -07:00
committed by Andrii Nakryiko
parent 26497b9a88
commit 42ebbbce7d
3 changed files with 47 additions and 1 deletions

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