add test to jenkins
This commit is contained in:
parent
bfe01ed8ea
commit
3a162be310
|
@ -39,6 +39,7 @@
|
|||
./test.sh -f tsim/query/explain.sim
|
||||
./test.sh -f tsim/query/session.sim
|
||||
./test.sh -f tsim/query/scalarNull.sim
|
||||
./test.sh -f tsim/query/udf.sim
|
||||
|
||||
# ---- qnode
|
||||
./test.sh -f tsim/qnode/basic1.sim
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
set +e
|
||||
#set -x
|
||||
|
||||
echo "Executing gen_udf.sh"
|
||||
echo "Executing copy_udf.sh"
|
||||
|
||||
SCRIPT_DIR=`dirname $0`
|
||||
cd $SCRIPT_DIR/../
|
||||
|
|
|
@ -21,6 +21,9 @@ sql insert into t values(now, 1)(now+1s, 2);
|
|||
sql create function udf1 as '/tmp/udf/libudf1.so' outputtype int bufSize 8;
|
||||
sql create aggregate function udf2 as '/tmp/udf/libudf2.so' outputtype double bufSize 8;
|
||||
sql show functions;
|
||||
if $rows != 2 then
|
||||
return -1
|
||||
endi
|
||||
sql select udf1(f) from t;
|
||||
if $rows != 2 then
|
||||
return -1
|
||||
|
|
Loading…
Reference in New Issue