提交 68a9a2ae 编写于 作者: sangshuduo's avatar sangshuduo

[TD-2598] feature: C# taosdemo, CI integration.

上级 9ac37307
......@@ -34,6 +34,7 @@ matrix:
- psmisc
- unixodbc
- unixodbc-dev
- mono-complete
before_script:
- export TZ=Asia/Harbin
......@@ -74,6 +75,15 @@ matrix:
./valgrind-test.sh 2>&1 > mem-error-out.log
sleep 1
cd ${TRAVIS_BUILD_DIR}/tests/examples/C#/taosdemo
mcs -output:taosdemo *.cs || travis_terminate $?
pkill -TERM -x taosd
fuser -k -n tcp 6030
sleep 1
taosd > /dev/null &
sleep 1
mono taosdemo -Q -y || travis_terminate $?
# Color setting
RED='\033[0;31m'
GREEN='\033[1;32m'
......
......@@ -204,7 +204,7 @@ namespace TDengineDriver
String tmp = argv[i + 1];
if (tmp[0] == '-')
{
Console.WriteLine("option {0:G} requires an argument", tmp);
Console.WriteLine("option {0:G} requires an argument", argName);
ExitProgram();
}
......@@ -236,7 +236,7 @@ namespace TDengineDriver
String tmp = argv[i + 1];
if (tmp[0] == '-')
{
Console.WriteLine("option {0:G} requires an argument", tmp);
Console.WriteLine("option {0:G} requires an argument", argName);
ExitProgram();
}
return tmp;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册