Merge pull request #22265 from taosdata/test/sangshuduo/ci-test
test: add test case for r
This commit is contained in:
commit
b07df46c51
|
@ -0,0 +1 @@
|
|||
apt install -y libbz2-dev libpcre2-dev libicu-dev
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
pgrep taosd || taosd >> /dev/null 2>&1 &
|
||||
pgrep taosadapter || taosadapter >> /dev/null 2>&1 &
|
||||
|
||||
cd ../../docs/examples/R
|
||||
wget -N https://repo1.maven.org/maven2/com/taosdata/jdbc/taos-jdbcdriver/3.2.4/taos-jdbcdriver-3.2.4-dist.jar
|
||||
|
||||
jar_path=`find . -name taos-jdbcdriver-*-dist.jar`
|
||||
echo jar_path=$jar_path
|
||||
R -f connect_native.r --args $jar_path
|
||||
# R -f connect_rest.r --args $jar_path # bug 14704
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#Coulumn Define
|
||||
#Column Define
|
||||
#caseID,rerunTimes,Run with Sanitizer,casePath,caseCommand
|
||||
#NA,NA,y or n,script,./test.sh -f tsim/user/basic.sim
|
||||
|
||||
|
@ -1219,3 +1219,4 @@
|
|||
,,n,docs-examples-test,bash csharp.sh
|
||||
,,n,docs-examples-test,bash jdbc.sh
|
||||
,,n,docs-examples-test,bash go.sh
|
||||
,,n,docs-examples-test,bash test_R.sh
|
||||
|
|
Loading…
Reference in New Issue