Skip to content

Commit 2baf0cc

Browse files
committed
split mpi tests.
1 parent f3797fd commit 2baf0cc

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ install:
2121
- python setup.py install
2222

2323
script:
24-
- python ./runtests.py tests/test_regular.py
25-
- python ./runtests-mpi.py tests/test_mpiworld.py --mpirun
24+
- python ./runtests.py runtests/tests/test_regular.py
25+
- python ./runtests-mpi.py runtests/mpi/tests/test_mpiworld.py --mpirun
2626
# expecting a failure for uncollective
27-
- if python ./runtests-mpi.py tests/test_uncollective.py --mpirun; then false; fi;
27+
- if python ./runtests-mpi.py runtests/mpi/tests/test_uncollective.py --mpirun; then false; fi;
2828
- bash check_tag.sh runtests/version.py
2929

3030
deploy:

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
include runtests/tests/*.py
2+
include runtests/mpi/tests/*.py
File renamed without changes.
File renamed without changes.

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ def find_version(path):
2323
license='BSD-2-Clause',
2424
packages= ['runtests'],
2525
requires=['pytest', 'coverage'],
26-
package_data = {'runtests' : ['tests/*.py']},
26+
package_data = {'runtests' : ['tests/*.py', 'mpi/tests/*.py']},
2727
extras_require={'full':['mpi4py'], 'mpi':['mpi4py']}
2828
)

0 commit comments

Comments
 (0)