From 5b8fad754cd2b76a1180f7f498e0045cc3ee87d9 Mon Sep 17 00:00:00 2001 From: Chuck Thier Date: Thu, 24 Apr 2014 16:50:03 +0000 Subject: [PATCH] Fix coverage report for newer versions of coverage With newer versions of coverage (at least what is installed with ubuntu trusty), code coverage isn't working. Making this change allows the coverage library to find the swift package. Change-Id: I3b3792622904a86096064c0e03c8095636f83973 --- .unittests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.unittests b/.unittests index 4004b842ac..51c110f68e 100755 --- a/.unittests +++ b/.unittests @@ -11,7 +11,7 @@ else cover_branches="--cover-branches --cover-html --cover-html-dir=$TOP_DIR/cover" fi cd $TOP_DIR/test/unit -nosetests --exe --with-coverage --cover-package swift. --cover-erase $cover_branches $@ +nosetests --exe --with-coverage --cover-package swift --cover-erase $cover_branches $@ rvalue=$? rm -f .coverage cd -