Skip to content

Timer "reconfig" tests do not work on RTEMS or VxWorks #1083

@jphickey

Description

@jphickey

Describe the bug
The "reconfig" tests were added to verify that timer config calls from the context of a timer callback are rejected. Unfortunately the underlying mechanism that allows this to happen only works on POSIX (via the pthread keys, which can do this). On RTEMS and VxWorks, the mechanism which gets the task ID (OS_TaskGetId_Impl) doesn't return the timer ID when called from a timer task.

To Reproduce
Run timer tests on VxWorks or RTEMS, timer reconfig tests will fail.

Expected behavior
Test should pass.

System observed on:
MCP750 VxWorks 6.9
RTEMS 4.11.3

Additional context
Might be fixable on RTEMS but probably difficult to fix on VxWorks. May want to consider just skipping this test?

Reporter Info
Joseph Hickey, Vantage Systems, Inc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RTEMSbugunit-testTickets related to the OSAL unit testing (functional and/or coverage)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions