]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
bootstrap: Update bootstrap to support libcgroup-tests
authorTom Hromatka <tom.hromatka@oracle.com>
Tue, 7 Apr 2020 14:13:23 +0000 (08:13 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Tue, 7 Apr 2020 14:13:23 +0000 (08:13 -0600)
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 <tom.hromatka@oracle.com>
bootstrap.sh

index 6e6dcbb5962a308df54b2a83ff99d2ade431a473..d9784c32e9462884904e11b07c861cea405e0188 100755 (executable)
@@ -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 .