File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616* See the License for the specific language governing permissions and
1717* limitations under the License.
1818*/
19+ #include < cstdarg>
1920#include " test/mocks/CapMock.h"
2021
2122extern CapMock *g_CapMock;
Original file line number Diff line number Diff line change 11#! /bin/sh
2- cd ../
3- ENABLE_COV=true
2+
3+ ENABLE_COV=false
44
55if [ " x$1 " = " x--enable-cov" ]; then
66 echo " Enabling coverage options"
@@ -10,17 +10,18 @@ if [ "x$1" = "x--enable-cov" ]; then
1010 ENABLE_COV=true
1111fi
1212
13- autoreconf --install
13+ cd ../
14+ if [ " $ENABLE_COV " = true ]; then
15+ make distclean 2> /dev/null || true
16+ find . -name " *.gcda" -delete
17+ find . -name " *.gcno" -delete
18+ fi
1419
20+ autoreconf --install
1521./configure --enable-gtestapp
1622
17- make clean
18- find . -name " *.gcda" -delete
19- find . -name " *.gcno" -delete
2023make -C source/test
21-
2224echo " **** Compiling libunpriv_gtest ****"
23-
2425./source/test/libunpriv_gtest.bin
2526
2627if [ $? -ne 0 ]; then
You can’t perform that action at this time.
0 commit comments