From: Tom Hromatka Date: Tue, 7 Apr 2020 14:13:23 +0000 (-0600) Subject: bootstrap: Update bootstrap to support libcgroup-tests X-Git-Tag: v2.0.rc1~32^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00646d6721a08b01025c11e305493ab790ade781;p=thirdparty%2Flibcgroup.git bootstrap: Update bootstrap to support libcgroup-tests This commit updates bootstrap.sh to manage the tests folder now that it's a git submodule copy of libcgroup-tests. Signed-off-by: Tom Hromatka --- diff --git a/bootstrap.sh b/bootstrap.sh index 6e6dcbb5..d9784c32 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -8,8 +8,15 @@ if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then echo "Activated pre-commit hook." fi -# configure googletest +# update the git submodules - libcgroup-tests and googletest git submodule update --init --recursive + +# configure libcgroup-tests +pushd tests +git checkout master +popd + +# configure googletest pushd googletest/googletest git checkout release-1.8.0 cmake -DBUILD_SHARED_LIBS=ON .