Browse Source

Do not run stencil examples when it is built with MPI support and MPI check is disabled

Samuel Thibault 8 years ago
parent
commit
cb947e77e8
1 changed files with 7 additions and 1 deletions
  1. 7 1
      examples/stencil/Makefile.am

+ 7 - 1
examples/stencil/Makefile.am

@@ -1,6 +1,6 @@
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
-# Copyright (C) 2010-2012, 2015-2016  Université de Bordeaux
+# Copyright (C) 2010-2012, 2015-2017  Université de Bordeaux
 #
 # StarPU is free software; you can redistribute it and/or modify
 # it under the terms of the GNU Lesser General Public License as published by
@@ -64,8 +64,14 @@ check_PROGRAMS	=	$(LOADER) $(STARPU_EXAMPLES)
 endif
 
 if !STARPU_SIMGRID
+if USE_MPI
+if STARPU_MPI_CHECK
 TESTS		=	$(STARPU_EXAMPLES)
 endif
+else
+TESTS		=	$(STARPU_EXAMPLES)
+endif
+endif
 
 if !STARPU_HAVE_WINDOWS
 ## test loader program