diff options
author | alyssaq <alyssaquek@gmail.com> | 2018-07-14 11:09:36 -0500 |
---|---|---|
committer | alyssaq <alyssaquek@gmail.com> | 2018-07-18 15:42:07 -0700 |
commit | 5eae3ece4d4cfddb3e72ac18bfc4059bdcc2f6bb (patch) | |
tree | 7a7d38dba9c691f84f0f35896ce2bee7f4fc2669 /tools/test-installed-numpy.py | |
parent | c8b246cee7d01c45fb80f765b06abff433ff46da (diff) | |
download | numpy-5eae3ece4d4cfddb3e72ac18bfc4059bdcc2f6bb.tar.gz |
codecov integration. scipy2018 sprint.
Diffstat (limited to 'tools/test-installed-numpy.py')
-rw-r--r-- | tools/test-installed-numpy.py | 4 |
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, |