blob: 764e280c19d544337a3b25e42097fca218077a17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
set -e -o pipefail
echo $WORKSPACE
git clone https://github.com/google/googletest.git $WORKSPACE/googletest
cmake $WORKSPACE/googletest/CMakeLists.txt
make -C $WORKSPACE/googletest
echo GTEST_DIR=$WORKSPACE/googletest/googletest > gtest-env.prop
echo GMOCK_DIR=$WORKSPACE/googletest/googlemock >> gtest-env.prop
echo "*******************************************************************"
echo "* GTEST BUILD SUCCESSFULLY COMPLETED"
echo "*******************************************************************"
|