Giter Site home page Giter Site logo

Comments (6)

skliper avatar skliper commented on September 1, 2024

@jphickey shared works, posix-ng looks broken

from osal.

skliper avatar skliper commented on September 1, 2024

Looks like it's from -I/home/jhageman/cFS/cFS-GitHub/osal/src/os/posix-ng, since it's now posix

from osal.

skliper avatar skliper commented on September 1, 2024

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.

jphickey avatar jphickey commented on September 1, 2024

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.

skliper avatar skliper commented on September 1, 2024

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.

skliper avatar skliper commented on September 1, 2024

This issue is OBE, opening a new one to implement coverage tests for posix-ng, #412

from osal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.