Skip to content

Commit 080fcae

Browse files
authored
WasmBuildTest can exit with negative code. (#108181)
1 parent dee9010 commit 080fcae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mono/wasm/Wasm.Build.Tests/BrowserRunner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ internal class BrowserRunner : IAsyncDisposable
1818
{
1919
private static Regex s_blazorUrlRegex = new Regex("Now listening on: (?<url>https?://.*$)");
2020
private static Regex s_appHostUrlRegex = new Regex("^App url: (?<url>https?://.*$)");
21-
private static Regex s_exitRegex = new Regex("WASM EXIT (?<exitCode>[0-9]+)$");
21+
private static Regex s_exitRegex = new Regex("WASM EXIT (?<exitCode>-?[0-9]+)$");
2222
private static readonly Lazy<string> s_chromePath = new(() =>
2323
{
2424
string artifactsBinDir = Path.Combine(Path.GetDirectoryName(typeof(BuildTestBase).Assembly.Location)!, "..", "..", "..", "..");

0 commit comments

Comments
 (0)