mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-28 18:01:08 -06:00
20 lines
452 B
PowerShell
20 lines
452 B
PowerShell
. "$PsScriptRoot\io.ps1"
|
|
Describe "ai" {
|
|
It "Should build Advanced Installer" {
|
|
|
|
[string] $advinstRepo = $env:ADVINST
|
|
|
|
if ($advinstRepo)
|
|
{
|
|
Push-Location $advinstRepo
|
|
|
|
[string] $scriptLocation = Canonize-Path -base "$PSScriptRoot" -child "..\clang-build.ps1"
|
|
&"$scriptLocation" 2>&1 | Out-Default
|
|
[int] $exitCode = $LASTEXITCODE
|
|
Pop-Location
|
|
|
|
Write-Output "$PSScriptRoot"
|
|
$exitCode | Should -BeExactly 0
|
|
}
|
|
}
|
|
} |