Comments (6)
@jphickey shared works, posix-ng looks broken
from osal.
Looks like it's from -I/home/jhageman/cFS/cFS-GitHub/osal/src/os/posix-ng, since it's now posix
from osal.
Tried git mv posix-ng posix
, and -DOSALCOVERAGE_TARGET_OSTYPE='posix', and it now fails with:
[ 42%] Building C object posix/modules/CMakeFiles/ut_posix_osapi.dir/src/ut-osapi.c.o
In file included from /home/jhageman/cFS/cFS-GitHub/osal/src/unit-test-coverage/posix/modules/src/ut-osapi.c:9:0:
/home/jhageman/cFS/cFS-GitHub/osal/src/os/posix/osapi.c: In function ‘OS_ConsoleCreate_Impl’:
/home/jhageman/cFS/cFS-GitHub/osal/src/os/posix/osapi.c:47:33: error: ‘STDOUT_FILENO’ undeclared (first use in this function)
#define OSAL_CONSOLE_FILENO STDOUT_FILENO
and others.
from osal.
Note that previous OSAL versions only ever had a coverage test for vxworks6. There was never a coverage test available for posix at all.
The stuff for posix under unit-test-coverage is the start of something, but quite incomplete. It was never a focus of testing because AFAIK the coverage test was only a requirement for VxWorks OS.
I can probably fix the immediate build issues to make it work at least into something buildable and runnable, but note this would be a new feature as it is not something that OSAL previously offered.
from osal.
Marked as an enhancement to reflect Joe's comment (new feature). Providing coverage metrics for rtems is likely higher priority than posix, although they are both in the plan to provide the certification framework for projects that will need to show coverage statistics.
from osal.
This issue is OBE, opening a new one to implement coverage tests for posix-ng, #412
from osal.
Related Issues (20)
- Add default build/install scripts for regular and test builds.
- Stack size on POSIX needs to account for internal TCB+TLS
- RTEMS `OS_BinSemTimedWait_Impl` and `OS_CountSemTimedWait_Impl` return incorrect status HOT 3
- OS_FileSysAddFixedMap should use the virtual vs physical path name
- OS_GetErrorName Seg Faults HOT 2
- SemGetInfo partial success cases
- Reinstate RTEMS 4.11 build
- count-sem-test, bin-sem-test intermittently fail on POSIX as non-root user HOT 3
- Add generic RTEMS tar file system support HOT 2
- POSIX implementation does not adhere to user-specified stack pointer
- Softsleep is no longer used
- Update OS_TimedRead and OS_TimedWrite to support sub-millisecond timeout resolution
- Static analysis issues JSC 2.1
- Shared workflow scripts need updates for node.js version 20
- Many compilation warnings when compiling under lp64 data model with -Wconversion option HOT 1
- Permit stack allocation from alternative memory pool on VxWorks
- f-sanitizer detect runtime error in coverage-vxworks-console-testrunner
- f-sanitizer detect runtime error in coverage-shared-idma
- Incorrect function parameter types in os-impl-no-select.c HOT 2
- Unit test for scheduler app requires increase in UT_MAX_FUNC_STUBS value HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osal.