diff options
Diffstat (limited to '.github/actions/run-example-boost/action.yml')
| -rw-r--r-- | .github/actions/run-example-boost/action.yml | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/.github/actions/run-example-boost/action.yml b/.github/actions/run-example-boost/action.yml index 0dd9f44..0fd05ed 100644 --- a/.github/actions/run-example-boost/action.yml +++ b/.github/actions/run-example-boost/action.yml @@ -19,23 +19,14 @@ runs: $absolute_test = Join-Path (Get-Location).Path 'test.txt' $exe_path = (Join-Path $path 'bin' 'foo') - if (-not $env:CI_TARGET_CYGWIN) { - $exe_path += $env:CI_EXE_EXT - } - - $argv0 = $exe_path - if ($env:CI_TARGET_CYGWIN) { - # Apparently, Cygwin programs convert argv[0] when executing native - # programs or being executed by them. - $argv0 = cygpath.exe -ua $argv0 - } + $exe_path += $env:CI_EXE_EXT $actual = & $exe_path $relative_test echo 'Actual output:' echo $actual - $expected = $argv0,$absolute_test + $expected = $exe_path,$absolute_test echo 'Expected output:' echo $expected |
