File: run_test_windows_msvc.bat

package info (click to toggle)
cppdb 0.3.1+dfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 668 kB
  • sloc: cpp: 7,373; sh: 133; ansic: 72; makefile: 7
file content (54 lines) | stat: -rw-r--r-- 1,664 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
@echo off
SET CS=sqlite3:db=test.db

echo %CS%
echo "----------BASIC-----------"
test_basic "%CS%"
echo "----------BACKEND-----------"
test_backend "%CS%"
echo "%CS%;@pool_size=5"
echo "----------BASIC-----------"
test_basic "%CS%;@pool_size=5"
echo "----------BACKEND-----------"
test_backend "%CS%;@pool_size=5"
echo "%CS%;@use_prepared=off"
echo "----------BASIC-----------"
test_basic "%CS%;@use_prepared=off"
echo "----------BACKEND-----------"
test_backend "%CS%;@use_prepared=off"


SET CS=odbc:Driver=SQL Server Native Client 10.0;Databse=test;Server=localhost;UID=root;PWD=rootroot;@engine=mssql

echo %CS%
echo "----------BASIC-----------"
test_basic "%CS%"
echo "----------BACKEND-----------"
test_backend "%CS%"
echo "----------BASIC-----------"
test_basic "%CS%;@pool_size=5"
echo "----------BACKEND-----------"
test_backend "%CS%;@pool_size=5"
echo "%CS%;@use_prepared=off"
echo "----------BASIC-----------"
test_basic "%CS%;@use_prepared=off"
echo "----------BACKEND-----------"
test_backend "%CS%;@use_prepared=off"

SET CS=odbc:Driver=SQL Server Native Client 10.0;Databse=test;Server=localhost;UID=root;PWD=rootroot;@engine=mssql;@utf=wide

echo %CS%
echo "----------BASIC-----------"
test_basic "%CS%"
echo "----------BACKEND-----------"
echo "%CS%;@pool_size=5"
echo "----------BASIC-----------"
test_basic "%CS%;@pool_size=5"
echo "----------BACKEND-----------"
test_backend "%CS%;@pool_size=5"
test_backend "%CS%"
echo "%CS%;@use_prepared=off"
echo "----------BASIC-----------"
test_basic "%CS%;@use_prepared=off"
echo "----------BACKEND-----------"
test_backend "%CS%;@use_prepared=off"