summaryrefslogtreecommitdiffstats
path: root/jjb/tldk/gtest-build.sh
blob: dc66908e7e79a2316a7ab8ef35632f0cfc897b8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# basic build script example
set -e -o pipefail
set -x
echo $WORKSPACE
git clone https://github.com/google/googletest.git $WORKSPACE/googletest
cmake $WORKSPACE/googletest/CMakeLists.txt
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 "*******************************************************************"