summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--igor.py3
-rw-r--r--metacov.ini5
3 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f4af63d..8968549 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,8 @@ tests:
metacov:
COVERAGE_COVERAGE=yes tox
+
+metahtml:
python igor.py combine_html
# Kitting
diff --git a/igor.py b/igor.py
index 57e3bea..cc1e336 100644
--- a/igor.py
+++ b/igor.py
@@ -10,6 +10,7 @@ import glob
import inspect
import os
import platform
+import socket
import sys
import zipfile
@@ -64,7 +65,7 @@ def run_tests_with_coverage(tracer, *nose_args):
pth_file.close()
version = "%s%s" % sys.version_info[:2]
- suffix = "%s_%s" % (version, tracer)
+ suffix = "%s_%s_%s" % (version, tracer, socket.gethostname())
cov = coverage.coverage(config_file="metacov.ini", data_suffix=suffix)
# Cheap trick: the coverage code itself is excluded from measurement, but
diff --git a/metacov.ini b/metacov.ini
index 0d9eca1..2bbc090 100644
--- a/metacov.ini
+++ b/metacov.ini
@@ -21,3 +21,8 @@ partial_branches =
omit = mock.py
ignore_errors = true
precision = 1
+
+[paths]
+source =
+ /home/ned/coverage/trunk
+ C:\ned\coverage\trunk