File: tox.ini

package info (click to toggle)
mpi4py 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,672 kB
  • ctags: 7,083
  • sloc: python: 15,291; ansic: 7,099; makefile: 711; f90: 158; sh: 156; cpp: 121
file content (22 lines) | stat: -rw-r--r-- 635 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions.To use it,
# "pip install tox" and then run "tox" from this directory.

[tox]
minversion = 1.7.2
skip_missing_interpreters=True
envlist =
    py27,
    py35,
    pypy,
    pypy3,

[mpi]
mpiexec = {env:MPIEXEC:mpiexec}

[testenv]
whitelist_externals = {[mpi]mpiexec}
commands =
    {[mpi]mpiexec} -n 1 {envpython} {toxinidir}/test/runtests.py --no-builddir -q -e spawn []
    {[mpi]mpiexec} -n 5 {envpython} {toxinidir}/test/runtests.py --no-builddir -q -e spawn []