Skip to content

Commit

Permalink
Rename quickcover_new to cover_new, add fullcover_new target
Browse files Browse the repository at this point in the history
  • Loading branch information
nwellnhof committed Jan 2, 2011
1 parent cf58fa9 commit 111bbdb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
20 changes: 18 additions & 2 deletions config/gen/makefiles/root.in
Expand Up @@ -2696,10 +2696,26 @@ cover: \
done
$(COVER) $(COVERAGE_DIR) -ignore_re '^\/usr\/local\/bin'

quickcover_new: \
cover_new: \
cover.dummy \
cover-test_core
$(PERL) tools/dev/make_cover.pl $(COVER_DIRS)
$(PERL) $(DEV_TOOLS_DIR)/make_cover.pl $(COVER_DIRS)

fullcover_new: \
cover.dummy \
cover-testb \
cover-testf \
cover-testr \
cover-src \
cover-run \
cover-perl \
cover-extra \
cover-codingstd \
cover-benchmark \
cover-manifest \
cover-examples \
cover-distro
$(PERL) $(DEV_TOOLS_DIR)/make_cover.pl $(COVER_DIRS)

cover.dummy: have-cover
$(PERL) Configure.pl --ccflags="$(CC_FLAGS) $(COVER_FLAGS)" \
Expand Down
3 changes: 0 additions & 3 deletions tools/dev/make_cover.pl
Expand Up @@ -39,9 +39,6 @@ sub get_source_path {
# Run gcov with all C files in $dir

for my $path (glob("$dir/*.c")) {
$path =~ m'\/([^/]+)\z' or next;
my $c_file = $1;

# Remove old gcov files
system("rm -f *.gcov");

Expand Down

0 comments on commit 111bbdb

Please sign in to comment.