GoogleTest - Google Testing and Mocking Framework (grpc protobuff依赖) https://google.github.io/googletest/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
348 B

10 years ago
#!/usr/bin/env sh
10 years ago
set -evx
10 years ago
env | sort
mkdir build || true
10 years ago
mkdir build/$GTEST_TARGET || true
cd build/$GTEST_TARGET
cmake -Dgtest_build_samples=ON \
-Dgmock_build_samples=ON \
-Dgtest_build_tests=ON \
-Dgmock_build_tests=ON \
-DCMAKE_CXX_FLAGS=$CXX_FLAGS \
10 years ago
../../$GTEST_TARGET
make
CTEST_OUTPUT_ON_FAILURE=1 make test