Skip to content

Commit

Permalink
Update ut.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-hanqing authored Jul 15, 2020
1 parent 729436a commit 72dc8e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ ps -ef | grep mds | grep -v grep | awk '{print $2}' | sudo xargs kill -9 || true
ps -ef | grep etcd | grep -v grep | awk '{print $2}' | sudo xargs kill -9 || true
ps -ef | grep test | grep -v grep | awk '{print $2}' | sudo xargs kill -9 || true

#cd /curve/curve_multijob/thirdparties/etcdclient && make all
cd /curve/curve_multijob/thirdparties/etcdclient && make all
#sudo cp /curve/curve_multijob/thirdparties/etcdclient/libetcdclient.so /usr/lib/
#make clean
cd /curve/curve_multijob
mkdir runlog
bazel clean --async
sleep 5
git submodule update --init
bazel build tools/... --compilation_mode=dbg --collect_code_coverage --jobs=64 --copt -DHAVE_ZLIB=1 --define=with_glog=true --define=libunwind=true --copt -DGFLAGS_NS=google --copt -Wno-error=format-security --copt -DUSE_BTHREAD_MUTEX
bazel build src/... --compilation_mode=dbg --collect_code_coverage --jobs=64 --copt -DHAVE_ZLIB=1 --define=with_glog=true --define=libunwind=true --copt -DGFLAGS_NS=google --copt -Wno-error=format-security --copt -DUSE_BTHREAD_MUTEX
#bazel build tools/... --compilation_mode=dbg --collect_code_coverage --jobs=64 --copt -DHAVE_ZLIB=1 --define=with_glog=true --define=libunwind=true --copt -DGFLAGS_NS=google --copt -Wno-error=format-security --copt -DUSE_BTHREAD_MUTEX
#bazel build src/... --compilation_mode=dbg --collect_code_coverage --jobs=64 --copt -DHAVE_ZLIB=1 --define=with_glog=true --define=libunwind=true --copt -DGFLAGS_NS=google --copt -Wno-error=format-security --copt -DUSE_BTHREAD_MUTEX
bazel build test/... --compilation_mode=dbg --collect_code_coverage --jobs=64 --copt -DHAVE_ZLIB=1 --define=with_glog=true --define=libunwind=true --copt -DGFLAGS_NS=google --copt -Wno-error=format-security --copt -DUSE_BTHREAD_MUTEX
for i in 0 1 2 3; do mkdir -p $i/{copysets,recycler}; done
for i in `find bazel-bin/test/ -type f -executable -exec file -i '{}' \; | grep -v "integration" | grep -E 'x-executable|x-sharedlib' | grep "charset=binary" | grep -v ".so"|grep test | grep -Ev 'snapshot-server|snapshot_dummy_server|client-test|server-test|multi|topology_dummy|curve_client_workflow|curve_fake_mds' | awk -F":" '{print $1'}`;do sudo $i 2>&1 | tee $i.log & done
Expand Down

0 comments on commit 72dc8e1

Please sign in to comment.