Use specific appveyor scripts

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2016-03-17 15:11:10 +01:00
parent 1ed15b32c1
commit aabeee9df2
4 changed files with 26 additions and 3 deletions

View File

@ -103,7 +103,7 @@ matrix:
fast_finish: true
install:
- C:\cygwin\setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P openssl-devel -P libiodbc-devel -P libiodbc2 -P odbc-mysql -P odbc-pgsql -P odbc-sqlite3
- C:\cygwin\setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P openssl-devel -P libiodbc-devel -P libiodbc2 -P odbc-mysql -P odbc-pgsql -P odbc-sqlite3 -P mysqlclient-devel -P libsqlite3-devel
# - C:\cygwin64\setup-x86_64.exe -B -q -n -N -d -l C:/cygwin64/var/cache/setup -R c:\cygwin64 -s http://cygwin.mirror.constant.com -P openssl-devel
- set POCO_BASE=%CD%
@ -451,8 +451,8 @@ test_script:
{
if (($env:builder -eq "cygwin") -and ($env:platform -eq "Win32"))
{
$cmd = '/usr/sbin/cygserver &';iex "& $cmd"
$cmd = 'sh travis/Linux/runtests.sh';iex "& $cmd"
$cmd = '/usr/sbin/cygserver "&"';iex "& $cmd"
$cmd = 'sh appveyor/Cygwin/runtests.sh';iex "& $cmd"
}
if ($env:builder -eq "msbuild" -and $env:linkmode -eq "shared")
{

View File

@ -0,0 +1,2 @@
export EXCLUDE_TESTS="Data/ODBC Data/MySQL Redis PDF"

View File

@ -0,0 +1,11 @@
#!/bin/bash
#
# set -ev
#
set -v
export POCO_BASE=`pwd`
export PATH=$PATH:.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
source ./appveyor/ignored.sh
source ./appveyor/Cygwin/excluded.sh
build/script/runtests.sh

10
appveyor/ignored.sh Normal file
View File

@ -0,0 +1,10 @@
export CPPUNIT_IGNORE="\
N7CppUnit10TestCallerI8PathTestEE.testExpand, \
N7CppUnit10TestCallerI13RawSocketTestEE.testEchoIPv4, \
N7CppUnit10TestCallerI13RawSocketTestEE.testSendToReceiveFromIPv4, \
N7CppUnit10TestCallerI14ICMPClientTestEE.testPing, \
N7CppUnit10TestCallerI22HTTPSClientSessionTestEE.testProxy, \
N7CppUnit10TestCallerI22HTTPSStreamFactoryTestEE.testProxy, \
N7CppUnit10TestCallerI19MulticastSocketTestEE.testMulticast, \
N7CppUnit10TestCallerI13NTPClientTestEE.testTimeSync"