Skip to content

Conversation

@mkhamoyan
Copy link
Contributor

@mkhamoyan mkhamoyan commented Feb 21, 2023

Fixes #81908

Copy link
Member

@pavelsavara pavelsavara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add src\libraries\System.Globalization\tests\System.Globalization.Tests.csproj to src\libraries\tests.proj wasi SmokeTestProject section.

unsigned char *buffer;
long filelen;
char filename[256];
sprintf(filename, "%s/%s", ".", "icudt.dat");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is constant string, you don't have to concatenate it here.

@mkhamoyan mkhamoyan changed the title Wasi icu load test Wasi icu loading Feb 23, 2023
@mkhamoyan mkhamoyan marked this pull request as ready for review February 23, 2023 13:34
char filename[256];
sprintf(filename, "./icudt.dat");

fileptr = fopen(filename, "rb");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fopen("./icudt.dat", "rb");

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

filename is also used in lines 342 and 352.

@mkhamoyan
Copy link
Contributor Author

Failures are not related.

@mkhamoyan mkhamoyan merged commit fed0691 into dotnet:main Feb 23, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Mar 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[wasi] System.Globalization.CultureNotFoundException : Only the invariant culture is supported in globalization-invariant mode.

4 participants