Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NativeAOT/iOS] Fix System.Private.Xml tests #76071

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix test failure on NativeAOT with non-English locale
  • Loading branch information
filipnavara committed Sep 23, 2022
commit f1c847253f7c3a4cd649389885993c5abd8f7504
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,18 @@ public ExceptionVerifier(string assemblyName, ExceptionVerificationFlags flags,
{
_output.WriteLine(e2.ToString());
}
catch (PlatformNotSupportedException e3)
{
// NativeAOT doesn't support assembly loading
_output.WriteLine(e3.ToString());
}
}
}
catch (Exception e)
{
_output.WriteLine("Exception: " + e.Message);
_output.WriteLine("Stack: " + e.StackTrace);
throw new VerifyException("Error while loading assembly");
throw new VerifyException("Error while loading assembly", e);
}

string[] resArray;
Expand Down Expand Up @@ -395,5 +400,9 @@ public class VerifyException : Exception
public VerifyException(string msg)
: base(msg)
{ }

public VerifyException(string msg, Exception innerException)
: base(msg, innerException)
{ }
}
}