-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add cunit test for libutempter #3
base: master
Are you sure you want to change the base?
Conversation
libutempter/Makefile
Outdated
@@ -21,6 +21,8 @@ | |||
PROJECT = utempter | |||
VERSION = $(shell sed '/^Version: */!d;s///;q' libutempter.spec) | |||
MAJOR = 0 | |||
RMFLAGS = -fr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the recursive flag? I see no directories removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the development process, I have directories store line coverage data, but I forgot to remove -r flag. Now I remove them
libutempter/Makefile
Outdated
@@ -21,6 +21,8 @@ | |||
PROJECT = utempter | |||
VERSION = $(shell sed '/^Version: */!d;s///;q' libutempter.spec) | |||
MAJOR = 0 | |||
RMFLAGS = -fr | |||
CC = gcc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why fix the compiler to GCC? Clang is also supported and for cross-compiling CC
must be override-able.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your advice, now I stop overriding CC flag
Add cunit test for libutempter to test libutempter interface.