Exclude Data/MySQL testsuite on Win32 for now. Infinite loop.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2016-03-08 19:04:50 +01:00
parent 2e39c6c874
commit 080302b921

View File

@ -5,6 +5,7 @@ cache:
- C:\ProgramData\chocolatey - C:\ProgramData\chocolatey
- C:\OpenSSL-Win32 - C:\OpenSSL-Win32
- C:\OpenSSL-Win64 - C:\OpenSSL-Win64
- C:\Program Files (x86)\PostgreSQL
hosts: hosts:
localhost: 127.0.0.1 localhost: 127.0.0.1
@ -175,6 +176,8 @@ install:
# http://www.enterprisedb.com/products-services-training/pgdownload#windows # http://www.enterprisedb.com/products-services-training/pgdownload#windows
# ------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------
- ps: | - ps: |
if ($env:platform -eq "Win32")
{
Write-Host "Installing PostgreSQL 9.4..." -ForegroundColor Cyan Write-Host "Installing PostgreSQL 9.4..." -ForegroundColor Cyan
Write-Host "Downloading..." Write-Host "Downloading..."
@ -190,7 +193,7 @@ install:
Set-Service -Name postgresql-9.4 -StartupType Manual Set-Service -Name postgresql-9.4 -StartupType Manual
Write-Host "PostgreSQL 9.4 installed" -ForegroundColor Green Write-Host "PostgreSQL 9.4 installed" -ForegroundColor Green
}
# ------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------
@ -207,7 +210,6 @@ before_build:
$vspath= convert-path $env:VS120COMNTOOLS\..\..\VC\bin;$yyyy='2013' $vspath= convert-path $env:VS120COMNTOOLS\..\..\VC\bin;$yyyy='2013'
if($env:platform -eq 'Win32') { $vctool='';} if($env:platform -eq 'Win32') { $vctool='';}
if($env:platform -eq 'x64') { $vctool='x86_amd64';$vspath+='\'+$vctool } if($env:platform -eq 'x64') { $vctool='x86_amd64';$vspath+='\'+$vctool }
} }
if ($env:vsver -eq "140") if ($env:vsver -eq "140")
{ {
@ -255,11 +257,13 @@ before_build:
{ {
$env:INCLUDE = "C:\Program Files (x86)\PostgreSQL\9.4\include;" + $env:INCLUDE $env:INCLUDE = "C:\Program Files (x86)\PostgreSQL\9.4\include;" + $env:INCLUDE
$env:LIB = "C:\Program Files (x86)\PostgreSQL\9.4\lib;" + $env:LIB $env:LIB = "C:\Program Files (x86)\PostgreSQL\9.4\lib;" + $env:LIB
$env:PATH = "C:\Program Files (x86)\PostgreSQL\9.4\lib;" + $env:PATH
} }
if ($env:platform -eq "x64") if ($env:platform -eq "x64")
{ {
$env:INCLUDE = "C:\Program Files\PostgreSQL\9.4\include;" + $env:INCLUDE $env:INCLUDE = "C:\Program Files\PostgreSQL\9.4\include;" + $env:INCLUDE
$env:LIB = "C:\Program Files\PostgreSQL\9.4\lib;" + $env:LIB $env:LIB = "C:\Program Files\PostgreSQL\9.4\lib;" + $env:LIB
$env:PATH = "C:\Program Files\PostgreSQL\9.4\lib;" + $env:PATH
} }
after_build: after_build:
@ -359,11 +363,6 @@ build_script:
} }
before_test: before_test:
# -------------------------------------------------------------------------------------------
# PostgreSQL
- set PATH=C:\Program Files\PostgreSQL\9.4\bin\;%PATH%
- ps: | - ps: |
$line='-------------------------------------------------------------------------------------'; $line='-------------------------------------------------------------------------------------';
$CPPUNIT_IGNORE=''; $CPPUNIT_IGNORE='';
@ -394,7 +393,7 @@ test_script:
if ($env:platform -eq "Win32") if ($env:platform -eq "Win32")
{ {
$env:PATH = "$env:POCO_BASE\bin;" + $env:PATH;$suffix = ''; $env:PATH = "$env:POCO_BASE\bin;" + $env:PATH;$suffix = '';
$excluded = @('Data', 'Data/ODBC','Data/PostgreSQL', 'Redis', 'PDF') $excluded = @('Data', 'Data/ODBC', 'Data/MySQL', 'Data/PostgreSQL', 'Redis', 'PDF')
} }
if ($env:platform -eq "x64") if ($env:platform -eq "x64")
{ {