From 116dd31064023f5452d2d68d442534033325af14 Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Sun, 14 Aug 2016 15:11:02 +0200 Subject: [PATCH] Use test_runner for coverage testing --- .editorconfig | 2 +- circleci.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.editorconfig b/.editorconfig index f0ea6fbc127..1111d794394 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,6 +1,6 @@ root = true -[*.{c,h,d,di,dd}] +[*.{c,h,d,di,dd,sh}] end_of_line = lf insert_final_newline = true indent_style = space diff --git a/circleci.sh b/circleci.sh index d8b0ae36584..a83397afebc 100755 --- a/circleci.sh +++ b/circleci.sh @@ -87,12 +87,12 @@ coverage() # remove all existing coverage files (just in case) rm -rf $(find -name '*.lst') - # currently using the test_runner yields wrong code coverage results - # see https://github.com/dlang/phobos/pull/4719 for details - #ENABLE_COVERAGE="1" make -f posix.mak MODEL=$MODEL unittest-debug + # currently using the test_runner yields wrong code coverage results + # see https://github.com/dlang/phobos/pull/4719 for details + ENABLE_COVERAGE="1" make -f posix.mak MODEL=$MODEL unittest-debug - # instead we run all tests individually - make -f posix.mak $(find std etc -name "*.d" | sed "s/[.]d$/.test/" | grep -vE '(std.algorithm.sorting|std.encoding|net.curl)' ) + # instead we run all tests individually + make -f posix.mak $(find std etc -name "*.d" | sed "s/[.]d$/.test/" | grep -vE '(std.algorithm.sorting|std.encoding|net.curl)' ) } case $1 in