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