Importing CUnit sources
i'm having a problem to use Unit test in C, i've tried to install CUnit in my computer and after include the lib. i've followed steeps to install the CUnit: 1 - download the sources 2 - configure it using "./configure --prefix='/lib' " 3 - make (only make) 4 - sudo make install and this is my test source file, it's not making tests, but i can't compile this, i got this error before "CUnit.h: No such file or directory": #include "CUnit.h" #include <stdlib.h> #include <stdio.h> int main(){ print("Hello"); return 0; } I want to know, how can i install CUnit to use in my test source files! Thanks
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.