1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/ulib/orm.test
2015-01-23 17:24:36 +01:00

26 lines
607 B
Bash
Executable File

#!/bin/sh
. ../.function
## orm.test -- Test wrapping ORM features
start_msg orm
#UTRACE="0 50M 1"
#UOBJDUMP="0 100k 10"
#USIMERR="error.sim"
export UTRACE UOBJDUMP USIMERR
#ORM_DRIVER="sqlite"
#ORM_OPTION="dbname=../db/hello_world"
SQLITE="sqlite \"sample\""
#PGSQL="pgsql \"host='localhost' user='benchmarkdbuser' password='benchmarkdbpass' dbname='sample' client_encoding='UTF8' sslmode='allow'\""
#MYSQL="mysql \"dbname=sample password=stefano1\""
#STRACE=$LTRUSS
start_prg orm ../../src/ulib/orm/driver/.libs '"pgsql mysql sqlite"' $SQLITE
# Test against expected output
test_output_wc w orm