File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 15
15
before_install :
16
16
- sh ./conf/travis-install-mpi.sh $MPI_IMPL
17
17
- export PATH=$HOME/OpenMPI/bin:$HOME/MPICH/bin:$PATH
18
+ - export CC=mpicc
19
+ - export FC=mpif90
18
20
# Work around OpenMPI attempting to create overly long temporary
19
21
# file names - and erroring as a result
20
22
- export TMPDIR=/tmp
Original file line number Diff line number Diff line change @@ -20,6 +20,14 @@ juliafiles = ["test_cman_julia.jl"]
20
20
# Files to run with mpiexec -n 1
21
21
singlefiles = [" test_spawn.jl" ]
22
22
23
+ excludedfiles = []
24
+ if is_windows ()
25
+ excludedfiles = [" test_info.jl" , " test_onesided.jl" ]
26
+ if Sys. WORD_SIZE == 32
27
+ push! (excludedfiles, " test_spawn.jl" )
28
+ end
29
+ end
30
+
23
31
function runtests ()
24
32
nprocs = clamp (Sys. CPU_CORES, 2 , 4 )
25
33
exename = joinpath (BINDIR, Base. julia_exename ())
@@ -37,6 +45,10 @@ function runtests()
37
45
nfail = 0
38
46
print_with_color (:white , " Running MPI.jl tests\n " )
39
47
for f in testfiles
48
+ if f ∈ excludedfiles
49
+ println (" Skipping disabled test $f " )
50
+ continue
51
+ end
40
52
try
41
53
coverage_opt = coverage_opts[Base. JLOptions (). code_coverage]
42
54
if f ∈ singlefiles
You can’t perform that action at this time.
0 commit comments