udpate testing section to add -e parameter for unit test and two packages for centos 8 building section by charles
This commit is contained in:
parent
c7b436fb62
commit
e9945c0969
|
@ -77,7 +77,7 @@ sudo apt-get install -y gcc cmake build-essential git libjansson-dev libsnappy-d
|
|||
sudo yum update
|
||||
yum install -y epel-release gcc gcc-c++ make cmake git perl dnf-plugins-core
|
||||
yum config-manager --set-enabled powertools
|
||||
yum install -y zlib-static xz-devel snappy-devel jansson-devel pkgconfig
|
||||
yum install -y zlib-static xz-devel snappy-devel jansson-devel pkgconfig libatomic-static libstdc++-static
|
||||
```
|
||||
|
||||
### For Fedora or Rocky Linux
|
||||
|
@ -342,7 +342,8 @@ bash setup-lcov.sh -v 1.16 && ./run_local_coverage.sh -b main -c task
|
|||
# on main branch and run cases in longtimeruning_cases.task
|
||||
# for more infomation about options please refer to ./run_local_coverage.sh -h
|
||||
```
|
||||
Please note that the -b and -i options will recompile TDengine with the -DCOVER=true option, which may take a amount of time.
|
||||
> [!NOTE]
|
||||
> Please note that the -b and -i options will recompile TDengine with the -DCOVER=true option, which may take a amount of time.
|
||||
|
||||
# 11. Contributing
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ Unit test script is the smallest testable part and developed for some function,
|
|||
the script with below command:
|
||||
|
||||
```bash
|
||||
cd tests/unit-test/
|
||||
cd tests/unit-test/ -e 0
|
||||
bash test.sh
|
||||
```
|
||||
|
||||
|
|
|
@ -7,10 +7,10 @@ function usage() {
|
|||
}
|
||||
|
||||
ent=1
|
||||
while getopts "eh" opt; do
|
||||
while getopts "e:h" opt; do
|
||||
case $opt in
|
||||
e)
|
||||
ent=1
|
||||
ent="$OPTARG"
|
||||
;;
|
||||
h)
|
||||
usage
|
||||
|
|
Loading…
Reference in New Issue