Run Cygwin64 tetsuite

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2016-03-28 10:32:31 +02:00
parent a4f9b01e4d
commit 137704c065
2 changed files with 10 additions and 4 deletions

View File

@ -105,7 +105,6 @@ matrix:
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 -P libmysqlclient-devel -P libsqlite3-devel
- C:\cygwin64\setup-x86_64.exe -qnNdO -R C:/cygwin64 -s http://cygwin.mirror.constant.com -l C:/cygwin64/var/cache/setup -P openssl-devel -P libiodbc-devel -P libiodbc2 -P odbc-mysql -P odbc-pgsql -P odbc-sqlite3 -P libmysqlclient-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%
- set PATH=C:\ProgramData\chocolatey\bin;%PATH%
@ -373,7 +372,7 @@ build_script:
# Command executed with exception: MC: Compiling C:/projects/poco/Foundation/src/pocomsg.mc
# -------------------------------------------------------------------------------------------
- ps: |
if (($env:builder -eq "cygwin") -and ($env:platform -eq "Win32"))
if ($env:builder -eq "cygwin")
{
$cmd = 'bash.exe configure --everything';iex "& $cmd"
$cmd = 'make.exe -s';iex "& $cmd"
@ -451,7 +450,14 @@ test_script:
{
if (($env:builder -eq "cygwin") -and ($env:platform -eq "Win32"))
{
$cmd = 'C:\cygwin\usr\sbin\cygserver.exe "&"';iex "& $cmd"
if ($env:platform -eq "Win32")
{
$cmd = 'C:\cygwin\usr\sbin\cygserver.exe "&"';iex "& $cmd"
}
if ($env:platform -eq "x64")
{
$cmd = 'C:\cygwin64\usr\sbin\cygserver.exe "&"';iex "& $cmd"
}
$cmd = 'bash.exe -c "appveyor/Cygwin/runtests.sh"';iex "& $cmd"
}
if ($env:builder -eq "msbuild" -and $env:linkmode -eq "shared")

View File

@ -3,7 +3,7 @@
# set -ev
#
set -v
export POCO_BASE=`pwd`
#export POCO_BASE=`pwd`
export PATH=$PATH:.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
source ./appveyor/ignored.sh