Update CMakeLists.txt

This commit is contained in:
Martin Kroeker 2022-03-21 18:43:10 +01:00 committed by GitHub
parent 5fe2dfb244
commit f29f845cb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/test_helper.ps1
"$ErrorActionPreference = \"Stop\"\n" "$ErrorActionPreference = \"Stop\"\n"
"$OutputEncoding = [Text.UTF8Encoding]::new($false)\n" "$OutputEncoding = [Text.UTF8Encoding]::new($false)\n"
"$OutputEncoding\n" "$OutputEncoding\n"
"Get-Content $args[1]\n"
"Get-Content $args[1] | & file -\n"
"Get-Content $args[1] | & $args[0]\n" "Get-Content $args[1] | & $args[0]\n"
"If ((Get-Content $args[2] | %{$_ -match \"FATAL\"}) -contains $true) {\n" "If ((Get-Content $args[2] | %{$_ -match \"FATAL\"}) -contains $true) {\n"
"echo Error\n" "echo Error\n"