Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
loser646
TDengine
提交
ce6e0741
T
TDengine
项目概览
loser646
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ce6e0741
编写于
4月 30, 2020
作者:
sangshuduo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
reduce CI output to make the log clear.
[TD-214]
上级
14243057
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
29 addition
and
18 deletion
+29
-18
.travis.yml
.travis.yml
+12
-12
tests/pytest/smoketest.sh
tests/pytest/smoketest.sh
+11
-0
tests/pytest/util/log.py
tests/pytest/util/log.py
+4
-4
tests/test-all.sh
tests/test-all.sh
+2
-2
未找到文件。
.travis.yml
浏览文件 @
ce6e0741
...
...
@@ -32,15 +32,15 @@ matrix:
-
cd debug
script
:
-
cmake ..
-
make
-
cmake ..
> /dev/null
-
make
> /dev/null
after_success
:
-
|-
case $TRAVIS_OS_NAME in
linux)
cd ${TRAVIS_BUILD_DIR}/debug
make install || travis_terminate $?
make install
> /dev/null
|| travis_terminate $?
pip install --user ${TRAVIS_BUILD_DIR}/src/connector/python/linux/python2/
pip3 install --user ${TRAVIS_BUILD_DIR}/src/connector/python/linux/python3/
...
...
@@ -98,11 +98,11 @@ matrix:
# Commands to prepare for build_command
# ** likely specific to your build **
build_command_prepend
:
cmake .
build_command_prepend
:
cmake .
> /dev/null
# The command that will be added as an argument to "cov-build" to compile your project for analysis,
# ** likely specific to your build **
build_command
:
make
build_command
:
make
> /dev/null
# Pattern to match selecting branches that will run analysis. We recommend leaving this set to 'coverity_scan'.
# Take care in resource usage, and consider the build frequency allowances per
...
...
@@ -135,15 +135,15 @@ matrix:
-
cd debug
script
:
-
cmake -DCOVER=true ..
-
make
-
cmake -DCOVER=true ..
> /dev/null
-
make
> /dev/null
after_success
:
-
|-
case $TRAVIS_OS_NAME in
linux)
cd ${TRAVIS_BUILD_DIR}/debug
make install || travis_terminate $?
make install
> /dev/null
|| travis_terminate $?
pip install --user ${TRAVIS_BUILD_DIR}/src/connector/python/linux/python2/
pip3 install --user ${TRAVIS_BUILD_DIR}/src/connector/python/linux/python3/
...
...
@@ -208,8 +208,8 @@ matrix:
-
cd debug
script
:
-
cmake ..
-
make
-
cmake ..
> /dev/null
-
make
> /dev/null
# - os
:
osx
# language: c
...
...
@@ -225,5 +225,5 @@ matrix:
# - cd ${TRAVIS_BUILD_DIR}
# - mkdir debug
# - cd debug
# - cmake ..
# - make
# - cmake ..
> /dev/null
# - make
> /dev/null
tests/pytest/smoketest.sh
浏览文件 @
ce6e0741
...
...
@@ -23,6 +23,17 @@ sleep 1
python3 ./test.py
$1
-f
insert/tinyint.py
python3 ./test.py
-s
$1
sleep
1
python3 ./test.py
$1
-f
table/column_name.py
python3 ./test.py
-s
$1
sleep
1
python3 ./test.py
$1
-f
table/column_num.py
python3 ./test.py
-s
$1
sleep
1
python3 ./test.py
$1
-f
table/db_table.py
python3 ./test.py
-s
$1
sleep
1
python3 ./test.py
$1
-f
import_merge/importDataLastTO.py
python3 ./test.py
-s
$1
sleep
1
...
...
tests/pytest/util/log.py
浏览文件 @
ce6e0741
...
...
@@ -23,14 +23,14 @@ class TDLog:
self
.
path
=
""
def
info
(
self
,
info
):
print
f
(
"%s %s"
%
(
datetime
.
datetime
.
now
(),
info
))
print
(
"%s %s"
%
(
datetime
.
datetime
.
now
(),
info
))
def
sleep
(
self
,
sec
):
print
f
(
"%s sleep %d seconds"
%
(
datetime
.
datetime
.
now
(),
sec
))
print
(
"%s sleep %d seconds"
%
(
datetime
.
datetime
.
now
(),
sec
))
time
.
sleep
(
sec
)
def
debug
(
self
,
err
):
print
f
(
"
\033
[1;36m%s %s
\033
[0m"
%
(
datetime
.
datetime
.
now
(),
err
))
print
(
"
\033
[1;36m%s %s
\033
[0m"
%
(
datetime
.
datetime
.
now
(),
err
))
def
success
(
self
,
info
):
printf
(
"
\033
[1;32m%s %s
\033
[0m"
%
(
datetime
.
datetime
.
now
(),
info
))
...
...
@@ -43,7 +43,7 @@ class TDLog:
sys
.
exit
(
1
)
def
printNoPrefix
(
self
,
info
):
print
f
(
"
\033
[1;36m%s
\033
[0m"
%
(
info
))
print
(
"
\033
[1;36m%s
\033
[0m"
%
(
info
))
tdLog
=
TDLog
()
tests/test-all.sh
浏览文件 @
ce6e0741
...
...
@@ -27,9 +27,9 @@ fi
cd
../pytest
if
[
"
$1
"
==
"cron"
]
;
then
./fulltest.sh
2>&1
|
tee
pytest-out.txt
./fulltest.sh
>
/dev/null
|
tee
pytest-out.txt
else
./smoketest.sh
2>&1
|
tee
pytest-out.txt
./smoketest.sh
>
/dev/null
|
tee
pytest-out.txt
fi
totalPySuccess
=
`
grep
'successfully executed'
pytest-out.txt |
wc
-l
`
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录