Debian Codegraph @

test/run_test_linux_b.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 run_testscip-shell shell cppdb 0.3.1+dfsg-10 run_test().()
4 {
5 if $1 "$2" &>report.txt
6 then
7 echoscip-shell system . . echo. "Passed: $1 $2"
8 else
9 echoscip-shell system . . echo. "Failed: $1 $2"
10 catscip-shell system . . cat. report.txt >>fail.txt
11 fi
12 catscip-shell system . . cat. report.txt >>all.txt
13 }
14
15
16 rmscip-shell system . . rm. -f all.txt fail.txt
17 # 'odbc:@engine=sqlite3;Driver=Sqlite3;database=/tmp/test.db' \
18 # 'postgresql:dbname=test' \
19
20 for STR in \
21 'postgresql:dbname=test;@blob=bytea' \
22 'sqlite3:db=test.db' \
23 'mysql:user=root;password=root;database=test' \
24 'odbc:@engine=postgresql;Database=test;Driver=Postgresql ANSI' \
25 'odbc:@engine=mysql;UID=root;PWD=root;Database=test;Driver=MySQL' \
26
27 do
28 for SUFFIX in '' ';@use_prepared=off' ';@pool_size=5' ';@use_prepared=off;@pool_size=5'
29 do
30 run_testscip-shell shell cppdb 0.3.1+dfsg-10 run_test(). ./test_backend "$STR$SUFFIX"
31 run_testscip-shell shell cppdb 0.3.1+dfsg-10 run_test(). ./test_basic "$STR$SUFFIX"
32 done
33 done
34
35 run_testscip-shell shell cppdb 0.3.1+dfsg-10 run_test(). ./test_caching