summaryrefslogtreecommitdiff
path: root/tools/test-installed-numpy.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test-installed-numpy.py')
-rw-r--r--tools/test-installed-numpy.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/test-installed-numpy.py b/tools/test-installed-numpy.py
index 04a2a1da2..14f11b7ed 100644
--- a/tools/test-installed-numpy.py
+++ b/tools/test-installed-numpy.py
@@ -46,6 +46,10 @@ elif numpy.ones((10, 1), order='C').flags.f_contiguous:
print('NPY_RELAXED_STRIDES_CHECKING not set, but active.')
sys.exit(1)
+if options.coverage:
+ # Produce code coverage XML report for codecov.io
+ args += ["--cov-report=xml"]
+
result = numpy.test(options.mode,
verbose=options.verbose,
extra_argv=args,