Fix #11, Update OS_TimerSet to return OS_ERROR #19
Merged
skliper merged 1 commit intonasa:merge-20191001from Oct 1, 2019
avan989:OS_ERROR
Merged
Fix #11, Update OS_TimerSet to return OS_ERROR #19skliper merged 1 commit intonasa:merge-20191001from avan989:OS_ERROR
skliper merged 1 commit intonasa:merge-20191001from
avan989:OS_ERROR
Conversation
skliper
suggested changes
Sep 18, 2019
Contributor
skliper
left a comment
There was a problem hiding this comment.
Likely needs unit test update to cover this logic. Check if one of the test packages exercise this error, and if not add it.
Contributor
|
See code below, ensure it covers and checks for the error case: osal/src/unit-test-coverage/shared/src/coveragetest-time.c Lines 153 to 181 in d0f1a39 |
Contributor
Author
|
update coverage test, unit test successful. Had to do some modification to the original unit test, all unit test cases where both start time and interval time = 0 are no longer valid because of the new condition in OS_TimerSet. Changed those conditions to start_time = o and interval_time =1 to make valid: |
skliper
approved these changes
Sep 23, 2019
jphickey
pushed a commit
to jphickey/osal
that referenced
this pull request
Aug 10, 2022
Fix code markup in readme
dzbaker
pushed a commit
that referenced
this pull request
Jan 15, 2026
dzbaker
pushed a commit
that referenced
this pull request
Jan 15, 2026
Fix #19, Remove Cache for Standalone Build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe the contribution
Update OS_TimerSet to return OS_ERROR when both parameters are zero.
Fix #11
Testing performed
Steps taken to test the contribution:
Expected behavior changes
System(s) tested on:
Contributor Info
Anh Van, NASA Goddard
Community contributors
You must attach a signed CLA (required for acceptance) or reference one already submitted