Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: Makefile

Issue 726133003: Add python coverage module to DEPS (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | README.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile
diff --git a/Makefile b/Makefile
index 5696f9736c94eeec75b69ef3bc3a2e4fad5706da..9f213181d74bbbc4bb241416062a3e8086c05372 100644
--- a/Makefile
+++ b/Makefile
@@ -14,22 +14,10 @@
SDK_LIBS = zlib tiff jpeg8d libpng freetype lua5.2 libogg
SDK_LIBS += libtheora libvorbis libwebp libxml2 tinyxml openal-soft freealut
-COVERAGE = coverage
+COVERAGE = python third_party/coverage
COVERAGE_ARGS = --fail-under=56
COVERAGE_VER := $(shell $(COVERAGE) --version 2>/dev/null)
-ifndef COVERAGE_VER
-# Debian/Ubuntu ship the coverage binary as 'python-coverage' so check
-# for that if coverage is not found.
-# The version in ubunaru/precise 3.4 does not support the --fail-under
-# argument.
-COVERAGE_VER := $(shell python-coverage --version 2>/dev/null)
-ifdef COVERAGE_VER
-COVERAGE = python-coverage
-COVERAGE_ARGS =
-endif
-endif
-
ifeq ($(V),1)
VERBOSE ?= 1
endif
« no previous file with comments | « DEPS ('k') | README.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698