Debian Codegraph @

test/run_tests_cygwin.sh

raw symbols SCIP
1 #!/bin/bash
2
3
4 # This is not supported by freetds driver
5 # 'odbc:DSN=MSSQL;UID=root;PWD=rootroot;@engine=mssql' \
6 # 'odbc:DSN=MSSQL;UID=root;PWD=rootroot;@engine=mssql;@utf=wide' \
7
8 rm Fail.txt
9
10 for CS in \
11 'sqlite3:db=test.db' \
12
13 do
14 for OP in '' ';@use_prepared=off' ';@pool_size=8' ';@use_prepared=off;@pool_size=8'
15 do
16 echo $CS$OP
17 if ! ./test_backend "$CS$OP" &> rep.txt
18 then
19 echo " ------------------ FAIL test_backend ------"
20 cat rep.txt >> Fail.txt
21 echo " -------------------------------------------"
22 else
23 echo " test_backend - OK"
24 fi
25 if ! ./test_basic "$CS$OP" &> rep.txt
26 then
27 echo " ------------------ FAIL test_basic ------"
28 cat rep.txt >> Fail.txt
29 echo " -------------------------------------------"
30 else
31 echo " test_basic - OK"
32 fi
33 done
34 done
35
36 if ! ./test_caching &> rep.txt
37 then
38 echo " ------------------ FAIL test_caching ------"
39 cat rep.txt >> Fail.txt
40 echo " -------------------------------------------"
41 else
42 echo " test_caching - OK"
43 fi
44