ci(build.ps1): restore comment removed in #19336

This commit is contained in:
zeertzjq
2022-08-15 12:41:00 +08:00
committed by GitHub
parent 93ae183810
commit 6264aa521e

View File

@@ -101,6 +101,8 @@ function Test {
# The $LastExitCode from MSBuild can't be trusted # The $LastExitCode from MSBuild can't be trusted
$failed = $false $failed = $false
# Run only this test file:
# $env:TEST_FILE = "test\functional\foo.lua"
cmake --build $buildDir --target functionaltest 2>&1 | cmake --build $buildDir --target functionaltest 2>&1 |
ForEach-Object { $failed = $failed -or ForEach-Object { $failed = $failed -or
$_ -match 'functional tests failed with error'; $_ } $_ -match 'functional tests failed with error'; $_ }