Comments (5)
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.
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.
@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.
Thanks for the tipps, I will look into the test examples on CONTRIBUTING guide.
from libc.
@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)
- Use Clang + aarch64 configuration to test library in aarch64 mode
- ea-nightly/libc/master: #21 Failed HOT 1
- Consider switching from mpaland/printf to eyalroz/printf HOT 4
- Create M1 Build Variant HOT 3
- Support configuration of printf options in Meson HOT 1
- printf produces additional warnings when compiled with GCC HOT 1
- Revisit use of FLT_EPSILON HOT 5
- SSH URLs in .gitmodules HOT 2
- Feature Request: risc-v support HOT 4
- Add CMake build system
- Add MacStadium Logo
- Missing scanf family of functions HOT 4
- Add CI support for CMake Build System
- strcspn: Undefined behavior due to invalid pointer arithmetic HOT 4
- strerror: String returned for code zero (0) violates POSIX HOT 2
- heapsort and heapsort_r: Undefined behavior due to out of bounds pointer arithmetic HOT 1
- Implementing the memmove() unittests HOT 3
- Unable to checkout on windows due to invalid characters in some file names HOT 8
- Building for aarch64 using the aarch64-none-elf-gcc cross-compiler. HOT 6
- Feature Request: Add Meson project option to disable (enable?) testing HOT 2
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 libc.