mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
27 lines
634 B
Bash
Executable File
27 lines
634 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. ../.function
|
|
|
|
## orm.test -- Test wrapping ORM features
|
|
|
|
start_msg orm
|
|
|
|
#UTRACE="0 50M 0"
|
|
#UOBJDUMP="0 100k 10"
|
|
#USIMERR="error.sim"
|
|
export UTRACE UOBJDUMP USIMERR
|
|
|
|
ORM_DRIVER="sqlite"
|
|
ORM_OPTION="dbname=../db/hello_world"
|
|
export ORM_DRIVER ORM_OPTION
|
|
|
|
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
|