-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add zoneinfo data for System.Runtime.TimeZoneInfoTests #38219
Conversation
- added --enable-zoneinfo flags to WasmRunnerTemplate.sh as well as wasm/sample/Makefile - added package reference to System.Runtime.TestData
I couldn't figure out the best area label to add to this PR. Please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @safern, @ViktorHofer |
@tqiu8 the PR to add WASM test runs in CI was just merged so you should be able to rebase on top of master and address: #38219 (comment) Also, with this fix, are there any test failures left in |
@safern I was gonna go a different route and just have the timezone data included in the runtime pack instead of using the package reference. |
Is that going to be the end-to-end scenario for customers? |
…net.timezones.blat in runtime pack Remove edits to WasmSample makefile Remove package references to System.Runtime.TestData
Should we enable more test assemblies that were impacted by this? |
Co-authored-by: Larry Ewing <lewing@microsoft.com>
- Correct tests.mobile.targets - Hardcode magic number - Make folder depth variable
timezone-data: | ||
cp runtime/dotnet.timezones.blat $(BUILDS_BIN_DIR) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit in case you touch this again: this should ideally use the filename as the target name instead so make's dependency tracking works (right now it always copies the file even if it's already there:
$(BUILDS_BIN_DIR)/dotnet.timezones.blat: runtime/dotnet.timezones.blat
cp runtime/dotnet.timezones.blat $@
(the $@
is a special variable that means the target filename: https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good to know. i can open another pr with this. thank you!
System.TimeZoneNotFoundException
to pass, ~100 tests