We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0ee2d15 + 2408315 commit f67977aCopy full SHA for f67977a
test/CMakeLists.txt
@@ -30,6 +30,10 @@ if(WIN32)
30
FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/test_helper.ps1
31
"if (Test-Path $args[2]) { Remove-Item -Force $args[2] } \n"
32
"$ErrorActionPreference = \"Stop\"\n"
33
+"If ((Get-Content $args[1] | & file - | %{$_ -match \"BOM\"}) -contains $true) {\n"
34
+"echo 'Skipped due to wrong input encoding'\n"
35
+"exit 0\n"
36
+"}\n"
37
"Get-Content $args[1] | & $args[0]\n"
38
"If ((Get-Content $args[2] | %{$_ -match \"FATAL\"}) -contains $true) {\n"
39
"echo Error\n"
0 commit comments