test: add test_R.sh

This commit is contained in:
Shuduo Sang 2023-07-31 21:23:49 +08:00
parent 29ced3d2b2
commit a350794ea7
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,14 @@
#!/bin/bash
set -e
pgrep taosd || taosd >> /dev/null 2>&1 &
pgrep taosadapter || taosadapter >> /dev/null 2>&1 &
cd ../../docs/examples/R
jar_path=`find ../../../../debug/build -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

View File

@ -1,4 +1,4 @@
#Coulumn Define #Column Define
#caseID,rerunTimes,Run with Sanitizer,casePath,caseCommand #caseID,rerunTimes,Run with Sanitizer,casePath,caseCommand
#NA,NA,y or n,script,./test.sh -f tsim/user/basic.sim #NA,NA,y or n,script,./test.sh -f tsim/user/basic.sim
@ -1218,3 +1218,4 @@
,,n,docs-examples-test,bash csharp.sh ,,n,docs-examples-test,bash csharp.sh
,,n,docs-examples-test,bash jdbc.sh ,,n,docs-examples-test,bash jdbc.sh
,,n,docs-examples-test,bash go.sh ,,n,docs-examples-test,bash go.sh
,,n,docs-examples-test,bash test_R.sh