Fix first-time make config=coverage test
Not sure why xargs -r is not the default...
This commit is contained in:
parent
21cff3bca2
commit
97893ad738
2
Makefile
2
Makefile
@ -30,7 +30,7 @@ all: $(EXECUTABLE)
|
|||||||
|
|
||||||
ifeq ($(config),coverage)
|
ifeq ($(config),coverage)
|
||||||
test: $(EXECUTABLE)
|
test: $(EXECUTABLE)
|
||||||
@find $(BUILD) -name '*.gcda' | xargs rm
|
@find $(BUILD) -name '*.gcda' | xargs -r rm
|
||||||
./$(EXECUTABLE)
|
./$(EXECUTABLE)
|
||||||
@gcov -b -c $(BUILD)/src/pugixml.cpp.gcda | sed -e '/./{H;$!d;}' -e 'x;/pugixml.cpp/!d;'
|
@gcov -b -c $(BUILD)/src/pugixml.cpp.gcda | sed -e '/./{H;$!d;}' -e 'x;/pugixml.cpp/!d;'
|
||||||
@ls *.gcov | grep -v pugixml.cpp.gcov | xargs rm
|
@ls *.gcov | grep -v pugixml.cpp.gcov | xargs rm
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user