Skip to content

Commit

Permalink
WasmBuildTest can exit with negative code. (#108181)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilonatommy authored Sep 25, 2024
1 parent dee9010 commit 080fcae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/wasm/Wasm.Build.Tests/BrowserRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal class BrowserRunner : IAsyncDisposable
{
private static Regex s_blazorUrlRegex = new Regex("Now listening on: (?<url>https?://.*$)");
private static Regex s_appHostUrlRegex = new Regex("^App url: (?<url>https?://.*$)");
private static Regex s_exitRegex = new Regex("WASM EXIT (?<exitCode>[0-9]+)$");
private static Regex s_exitRegex = new Regex("WASM EXIT (?<exitCode>-?[0-9]+)$");
private static readonly Lazy<string> s_chromePath = new(() =>
{
string artifactsBinDir = Path.Combine(Path.GetDirectoryName(typeof(BuildTestBase).Assembly.Location)!, "..", "..", "..", "..");
Expand Down

0 comments on commit 080fcae

Please sign in to comment.