Code Monkey home page Code Monkey logo

Comments (5)

seekaddo avatar seekaddo commented on August 15, 2024

I want to start working on some of the test issues. Can you please point me to some good reference or examples. For now I am learning from this

from libc.

phillipjohnston avatar phillipjohnston commented on August 15, 2024

That website is helpful, and you can also look into the test directory in the repository, which has test examples for other functions. Many of the existing tests were imported from an old 'libc-test' repository I found on the web.

I've provided some tips for adding new tests to the CONTRIBUTING guide as well.

I'm not sure what OS you are using, but there may be a linker problem with CMocka - I only have an OSX static library included at the moment. If that's a problem I'll look into a fix.

from libc.

seekaddo avatar seekaddo commented on August 15, 2024

@phillipjohnston I have using Max osx sierra and I have install cmocka. Its able to link with my Clion IDE without a problem. I and I have tried a few things here on Travis also. It works well. Take a look here even on mac osx travis builds ok here. Just with home brew and all was good.

from libc.

seekaddo avatar seekaddo commented on August 15, 2024

Thanks for the tipps, I will look into the test examples on CONTRIBUTING guide.

from libc.

seekaddo avatar seekaddo commented on August 15, 2024

@phillipjohnston
cmocka is not working when i am trying to build the whole test project. I don't know if is having conflicts with my cmock 1.1 installed on mac osx. But when i build with cmake on my mac as a standalone function it works. I have to figure out a way to build it with the whole project otherwise i can just push it and see the build results from the CI/Jenkins.

from libc.

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.