test pahole

This commit is contained in:
Sergei Iudin authored and Andrii Nakryiko committed 2021-06-17 13:38:13 -07:00
1 parent 26497b9a88
commit 42ebbbce7d
3 files changed
+47 -1

No files matched your search

+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