blob: cef5a672fef5a99f9502ec300b46299b92af0831 (
plain)
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
|
#! /usr/bin/env bash
trap 'exit 1' ERR
function error ()
{
echo "$*" 1>&2
}
if [ "$1" = "" ]; then
echo vc++ version expected
exit 1
fi
action=$2
if [ "$action" == "" ]; then
action=/Build
fi
databases="mysql"
for d in $databases; do
cmd.exe /C "setenv.bat build.bat $d $1 $action"
cd odb-tests
cmd.exe /C "..\setenv.bat test.bat $d"
cd ..
cd odb-examples
cmd.exe /C "..\setenv.bat test.bat $d"
cd ..
done
|