test:add local coverage script
This commit is contained in:
parent
940d7f8561
commit
414b1c3061
|
@ -116,36 +116,6 @@ function buildTDengine() {
|
|||
make -j 8 install
|
||||
}
|
||||
|
||||
# function buildTDengineold() {
|
||||
# print_color "$GREEN" "TDengine build start"
|
||||
|
||||
# [ -d $TDENGINE_DIR/debug ] || mkdir $TDENGINE_DIR/debug
|
||||
# cd $TDENGINE_DIR/debug
|
||||
|
||||
# if [ -n "$BRANCH" ] && [ -z "$BRANCH_BUILD" ] ; then
|
||||
# print_color "$GREEN" "rebuild.."
|
||||
# rm -rf *
|
||||
# makecmd="cmake -DCOVER=true -DBUILD_TEST=false -DBUILD_HTTP=false -DBUILD_DEPENDENCY_TESTS=0 -DBUILD_TOOLS=true -DBUILD_GEOS=true -DBUILD_TEST=true -DBUILD_CONTRIB=false ../../"
|
||||
# print_color "$GREEN" "$makecmd"
|
||||
# $makecmd
|
||||
# make -j 8 install
|
||||
# elif [ -n "$BRANCH_BUILD" ] && [ "$BRANCH_BUILD" == "yes" ] ; then
|
||||
# print_color "$GREEN" "rebuild.."
|
||||
# #rm -rf *
|
||||
# makecmd="cmake -DCOVER=true -DBUILD_TEST=false -DBUILD_HTTP=false -DBUILD_DEPENDENCY_TESTS=0 -DBUILD_TOOLS=true -DBUILD_GEOS=true -DBUILD_TEST=true -DBUILD_CONTRIB=false ../../"
|
||||
# print_color "$GREEN" "$makecmd"
|
||||
# $makecmd
|
||||
# make -j 8 install
|
||||
# elif [ -n "$BRANCH_BUILD" ] && [ "$BRANCH_BUILD" == "no" ] ; then
|
||||
# print_color "$GREEN" "not build,only install"
|
||||
# cd $TDENGINE_DIR/debug
|
||||
# make -j 8 install
|
||||
# fi
|
||||
|
||||
# print_color "$GREEN" "TDengine build end"
|
||||
# }
|
||||
|
||||
|
||||
# Check and get the branch name and build branch
|
||||
if [ -n "$BRANCH" ] && [ -z "$BRANCH_BUILD" ] ; then
|
||||
branch="$BRANCH"
|
||||
|
@ -163,12 +133,14 @@ elif [ -n "$BRANCH_BUILD" ] && [ "$BRANCH_BUILD" == "no" ] ; then
|
|||
branch="$BRANCH"
|
||||
print_color "$GREEN" "Testing branch: $branch "
|
||||
print_color "$GREEN" "not build,only install!"
|
||||
pullTDengine
|
||||
cd "$TDENGINE_DIR/../"
|
||||
git pull
|
||||
cd "$TDENGINE_DIR/"
|
||||
git pull
|
||||
cd $TDENGINE_DIR/debug
|
||||
make -j 8 install
|
||||
else
|
||||
print_color "$GREEN" "Build is not required for this test!"
|
||||
pullTDengine
|
||||
fi
|
||||
|
||||
function runCasesOneByOne () {
|
||||
|
|
Loading…
Reference in New Issue