Skip to content

Fix mktime test #4519

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

Merged
merged 2 commits into from
Jun 10, 2017
Merged

Fix mktime test #4519

merged 2 commits into from
Jun 10, 2017

Conversation

c1728p9
Copy link
Contributor

@c1728p9 c1728p9 commented Jun 9, 2017

Fix errors causing mktime to fail on IAR.

c1728p9 added 2 commits June 9, 2017 16:26
Do not test mktime or localtime past the year 1935 for IAR since this
is out of their supported range.
Initialize all values of timeinfo in make_time_info. This prevents
the field 'tm_isdst' from getting inadvertently set to 1 causing
time to be off by 1 hour.
@c1728p9
Copy link
Contributor Author

c1728p9 commented Jun 9, 2017

/morph test

@c1728p9
Copy link
Contributor Author

c1728p9 commented Jun 9, 2017

Verified mktime test passes locally on GCC_ARM, ARM and IAR

@mbed-bot
Copy link

mbed-bot commented Jun 9, 2017

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 521

All builds and test passed!

@0xc0170 0xc0170 merged commit 6d5f4db into ARMmbed:master Jun 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants