Clang doesn't append .exe automatically
This commit is contained in:
parent
9b71c16666
commit
685da103bf
1 changed files with 2 additions and 2 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -67,7 +67,7 @@ jobs:
|
||||||
$flags += @(
|
$flags += @(
|
||||||
'-x', 'c++',
|
'-x', 'c++',
|
||||||
'-std=c++14',
|
'-std=c++14',
|
||||||
'-o', 'foo',
|
'-o', 'foo.exe',
|
||||||
'foo.cpp',
|
'foo.cpp',
|
||||||
'-lstdc++'
|
'-lstdc++'
|
||||||
)
|
)
|
||||||
|
@ -83,7 +83,7 @@ jobs:
|
||||||
Doing something #2
|
Doing something #2
|
||||||
Doing something #3
|
Doing something #3
|
||||||
"@
|
"@
|
||||||
$actual = & (Join-Path . foo)
|
$actual = & (Join-Path . foo.exe)
|
||||||
$actual = $actual -join [Environment]::NewLine
|
$actual = $actual -join [Environment]::NewLine
|
||||||
$($actual -eq $expected) -or $(throw @"
|
$($actual -eq $expected) -or $(throw @"
|
||||||
Unexpected output:
|
Unexpected output:
|
||||||
|
|
Loading…
Add table
Reference in a new issue