Skip to content

Conversation

@PucikaBiubiubiu
Copy link

Add cunit test for libutempter to test libutempter interface.

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

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