use github repo as central

This commit is contained in:
Jackson Tian
2019-01-09 14:07:33 +08:00
parent 9664fb1b00
commit bc0df2dcec
46 changed files with 1864 additions and 29 deletions

24
test-coverage.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
action=$1
if [ $action == "init" ]; then
echo 'init coverage'
lcov -d sdk_build -z
lcov -d sdk_build -b . --no-external --initial -c -o initCoverage.info
fi
echo 'run test'
cd sdk_build
ctest
cd ..
echo 'create info after test'
lcov -d sdk_build -b . --no-external -c -o testCoverage.info
echo 'generate html'
genhtml -o coverageReport --prefix=`pwd` initCoverage.info testCoverage.info
echo 'check report ' `pwd`/coverageReport/index.html