C++DB is the database layer that was designed to work with C++CMS. This customized version is used within Ye Ol' Pi Shack.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash
-
- run_test()
- {
- if $1 "$2" &>report.txt
- then
- echo "Passed: $1 $2"
- else
- echo "Failed: $1 $2"
- cat report.txt >>fail.txt
- fi
- cat report.txt >>all.txt
- }
-
-
- rm -f all.txt fail.txt
-
- # This is not supported by freetds driver
- # 'odbc:DSN=MSSQL;UID=root;PWD=rootroot;@engine=mssql' \
- # 'odbc:DSN=MSSQL;UID=root;PWD=rootroot;@engine=mssql;@utf=wide' \
-
- for STR in \
- 'sqlite3:db=test.db;@modules_path=.'
-
- do
- for SUFFIX in '' ';@use_prepared=off' ';@pool_size=5' ';@use_prepared=off;@pool_size=5'
- do
- run_test ./test_backend "$STR$SUFFIX"
- run_test ./test_basic "$STR$SUFFIX"
- done
- done
-
- run_test ./test_caching
-
|