mirror of https://github.com/rancher/wins.git
18 lines
473 B
PowerShell
18 lines
473 B
PowerShell
#Requires -Version 5.0
|
|
|
|
$ErrorActionPreference = 'Stop'
|
|
|
|
Import-Module -WarningAction Ignore -Name "$PSScriptRoot\utils.psm1"
|
|
|
|
$SRC_PATH = (Resolve-Path "$PSScriptRoot\..").Path
|
|
Push-Location $SRC_PATH
|
|
|
|
Invoke-Expression -Command "$SRC_PATH\tests\integration\integration_suite_test.ps1"
|
|
if ($LASTEXITCODE -ne 0) {
|
|
Log-Fatal "integration test failed"
|
|
exit $LASTEXITCODE
|
|
}
|
|
Write-Host -ForegroundColor Green "integration.ps1 has completed successfully."
|
|
|
|
Pop-Location
|