-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ST: Simplify it, only Linux/Darwin, epoll/kqueue, single process
commit f4872e5 Author: winlin <winlin@vip.126.com> Date: Fri Feb 26 09:13:21 2021 +0800 ST: For #2188: Remove sendmmsg from ST. commit aaeb891 Author: winlin <winlin@vip.126.com> Date: Thu Mar 11 08:09:54 2021 +0800 ST: Refine utest script. commit d1ac9da Author: winlin <winlin@vip.126.com> Date: Wed Mar 3 11:02:25 2021 +0800 ST: Support fast utest and coverage commit 8400115 Author: winlin <winlin@vip.126.com> Date: Fri Feb 26 07:02:19 2021 +0800 ST: Always use unserialized accept for linux or darwin commit c3686f2 Author: winlin <winlin@vip.126.com> Date: Fri Feb 26 06:54:05 2021 +0800 ST: Refine ARFLAGS by disable the verbose log commit aaa5c4f Author: winlin <winlin@vip.126.com> Date: Thu Feb 25 08:58:46 2021 +0800 ST: Stack always grows from top to down. commit dddd466 Author: winlin <winlin@vip.126.com> Date: Thu Feb 25 08:51:31 2021 +0800 ST: Ignore process fork, for single process only commit 7906cb5 Author: winlin <winlin@vip.126.com> Date: Thu Feb 25 08:50:59 2021 +0800 ST: Fix build warnings commit d94921b Author: winlin <winlin@vip.126.com> Date: Thu Feb 25 07:27:45 2021 +0800 ST: Remove select and poll support, only epoll and kqueue commit 76d2025 Author: winlin <winlin@vip.126.com> Date: Thu Feb 25 07:10:47 2021 +0800 ST: Remove multiple OS support, except Linux and Darwin. commit 13c4ba3 Author: winlin <winlin@vip.126.com> Date: Thu Feb 25 06:59:35 2021 +0800 ST: Remove __ia64__ CPU support commit 46c06e4 Author: winlin <winlin@vip.126.com> Date: Wed Feb 24 11:37:27 2021 +0800 ST: Remove unused files for ST
- Loading branch information
Showing
35 changed files
with
114 additions
and
6,175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
PWD=$(cd `dirname $0`/.. && pwd) | ||
|
||
pushd $PWD | ||
echo "Run UTest in $(pwd)" | ||
|
||
IS_LINUX=yes | ||
uname -s|grep Darwin >/dev/null && IS_DARWIN=yes && IS_LINUX=no | ||
echo "IS_LINUX: $IS_LINUX, IS_DARWIN: $IS_DARWIN" | ||
|
||
echo "Clean gcda files" | ||
rm -f ./obj/*.gcda | ||
|
||
echo "Build and run utest" | ||
if [[ $IS_DARWIN == yes ]]; then | ||
make darwin-debug-gcov && ./obj/st_utest | ||
else | ||
make linux-debug-gcov && ./obj/st_utest | ||
fi | ||
ret=$?; if [[ 0 -ne $ret ]]; then echo "Make ST utest fail, ret=$ret"; exit $ret; fi | ||
|
||
echo "Generating coverage" | ||
mkdir -p coverage && | ||
gcovr -r . -e LINUX -e DARWIN -e examples --html --html-details -o coverage/st.html && | ||
echo "Coverage report at coverage/st.html" && | ||
open coverage/st.html | ||
|
||
popd | ||
echo "UTest done, restore $(pwd)" |
Oops, something went wrong.