Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #809 from iainx/better-coverage-filtering
Browse files Browse the repository at this point in the history
Better coverage filtering
  • Loading branch information
slluis committed Mar 17, 2015
2 parents fba50d7 + b12da35 commit f5b1efb
Show file tree
Hide file tree
Showing 12 changed files with 41 additions and 1 deletion.
2 changes: 2 additions & 0 deletions main/tests/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
CoverageResult*.mlpd
CoverageResult*.xml
TestResult*.xml
5 changes: 5 additions & 0 deletions main/tests/ICSharpCode.NRefactory.Tests.dll.filter
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+ICSharpCode.NRefactory
+ICSharpCode.NRefactory.CSharp
+ICSharpCode.NRefactory.IKVM
+ICSharpCode.NRefactory.Xml
-ICSharpCode.NRefactory.Tests
1 change: 1 addition & 0 deletions main/tests/Ide.Tests.dll.filter
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
+MonoDevelop.Ide
3 changes: 2 additions & 1 deletion main/tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ coverage:
if ! test -n "$(assembly)"; then \
for asm in $(TEST_ASSEMBLIES); do \
echo Generating coverage for `basename $$asm`...; \
($(MD_LAUNCH_SETUP) exec -a "mdtool" $(RUNTIME) --debug --profile=log:coverage,output=CoverageResult_`basename $$asm`.mlpd "$(MD_BIN_PATH)/mdtool.exe" run-md-tests $$asm); \
($(MD_LAUNCH_SETUP) exec -a "mdtool" $(RUNTIME) --debug --profile=log:coverage,onlycoverage,output=CoverageResult_`basename $$asm`.mlpd,ffile=`basename $$asm`.filter "$(MD_BIN_PATH)/mdtool.exe" run-md-tests $$asm); \
mprof-report --coverage-out=CoverageResult_`basename $$asm`.xml CoverageResult_`basename $$asm`.mlpd > /dev/null; \
done; \
fi

Expand Down
2 changes: 2 additions & 0 deletions main/tests/Mono.TextTemplating.Tests.dll.filter
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
+Mono.TextTemplating
-Mono.TextTemplating.Tests
2 changes: 2 additions & 0 deletions main/tests/MonoDevelop.AspNet.Tests.dll.filter
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
+MonoDevelop.AspNet
-MonoDevelop.AspNet.Tests
5 changes: 5 additions & 0 deletions main/tests/MonoDevelop.Debugger.Tests.dll.filter
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+Mono.Debugging
+Mono.Debugging.Soft
+MonoDevelop.Debugger
+MonoDevelop.Debugger.Soft
-MonoDevelop.Debugger.Tests
2 changes: 2 additions & 0 deletions main/tests/MonoDevelop.PackageManagement.Tests.dll.filter
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
+MonoDevelop.PackageManagement
-MonoDevelop.PackageManagement.Tests
2 changes: 2 additions & 0 deletions main/tests/MonoDevelop.TextEditor.Tests.dll.filter
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
+Mono.TextEditor
-Mono.TextEditor.Tests
6 changes: 6 additions & 0 deletions main/tests/MonoDevelop.VersionControl.Git.Tests.dll.filter
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
+MonoDevelop.VersionControl
+MonoDevelop.VersionControl.Git
+MonoDevelop.VersionControl.Subversion
+MonoDevelop.VersionControl.Subversion.Unix
+NGit
-MonoDevelop.VersionControl.Git.Tests
2 changes: 2 additions & 0 deletions main/tests/MonoDevelop.Xml.Tests.dll.filter
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
+MonoDevelop.Xml
-MonoDevelop.Xml.Tests
10 changes: 10 additions & 0 deletions main/tests/UnitTests.dll.filter
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
+MonoDevelop.Core
+MonoDevelop.CSharpBinding
+MonoDevelop.CSharpBinding.Refactoring
+MonoDevelop.Ide.FindInFiles
+MonoDevelop.Ide.Gui
+MonoDevelop.Ide.Templates
+MonoDevelop.Projects
+MonoDevelop.Refactoring
+MonoDevelop.SourceEditor
+MonoDevelop.VersionControl.Views

0 comments on commit f5b1efb

Please sign in to comment.