Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PucikaBiubiubiu
Copy link

Add cunit test for libutempter to test libutempter interface.

@@ -21,6 +21,8 @@
PROJECT = utempter
VERSION = $(shell sed '/^Version: */!d;s///;q' libutempter.spec)
MAJOR = 0
RMFLAGS = -fr
Copy link
Contributor

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.

Copy link
Author

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

@@ -21,6 +21,8 @@
PROJECT = utempter
VERSION = $(shell sed '/^Version: */!d;s///;q' libutempter.spec)
MAJOR = 0
RMFLAGS = -fr
CC = gcc
Copy link
Contributor

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.

Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants