-
Notifications
You must be signed in to change notification settings - Fork 219
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
Integration Candidate 20191230 #334
Merged
Merged
Conversation
This file contains 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
Rather than utilizing a separate "stub-map-to-real.h" file that would need to be injected into the build of the unit under test, this builds the mappings into the mapping into the override files themselves. The stub functions are then moved into a separate header under a unique name with an OCS_ prefix. This introduces a number of new files, as what previously required a single header now requires two, but it it eliminates the separate map file.
Add a union wrapper for the abstract data field such that it will be aligned for 32 bit integer values and/or pointers, whichever is greater. This should be sufficient for casting to the system "struct sockaddr"
Fix warnings that are triggered by compiling the OSAL coverage unit test with strict settings. - The OS_FPUExcAttachHandler function needs to be prototyped as accepting a function pointer (not void*) - Const-Correctness on OS_ModuleLoad_Impl() - Use void* instead of char* for buffer pointer as the specific type is not known - Cast the function passed into taskSpawn on VxWorks
Additional compiler warning fixes for the UT code itself. This is committed separately from the changes that affect the OSAL FSW code.
- Ensure the FPU functions that are actually not implemented in RTEMS/POSIX all return OS_ERR_NOT_IMPLEMENTED, not OS_SUCCESS. - The RTEMS IntEnable/Disable API should not be a duplicate of the IntLock/Unlock API, as the semantics are slightly different. The Enable/Disable API should return OS_ERR_NOT_IMPLEMENTED. - The OS_FPUExcGetMask API should confirm that the output buffer is not NULL.
Modify the "unit-tests" (extended/functional tests) for OSAL to use the UT assert library for test case reporting and platform support. Reduce or eliminate the use of macros for platform abstraction wherever possible. This removes most platform-specific logic from the test cases, leaving that to the OSAL/BSP abstraction.
This is related to the change for #271, where the return value of this function depends on the configured timer interval. The coverage test case for this was not updated in the original change.
1. Add a hard limit to the execution (work) counter for the sem-speed-test worker threads. With this they will self-exit eventually even if the root task never gets CPU time to stop them. 2. Set the priority of the worker tasks to be logically lower, so it is less likely to preempt the main task. Note that the logical priority is inverted from the numeric value.
Adds a NOSA copyright header to all files touched as part of the fix for #297.
Reran cFS unit tests and osal coverage tests after push of d14743c, all passed. |
Fix #297 Reviewed and approved at 2019-12-18 CCB
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
1st merge: Fix #295, Fix #298, Fix #305, Fix #307, Fix #308,
Fix #313, Fix #314, Fix #316, Fix #321, Fix #323
2nd merge: Fix #297
Testing performed
Expected behavior changes
See related pull requests
System(s) tested on
Additional context
N/A
Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC