Ver código fonte

rename STARPU_SKIP_IF_VALGRIND_RETURN_0 to STARPU_SKIP_IF_VALGRIND_RETURN_ZERO

Nathalie Furmento 9 anos atrás
pai
commit
71fe42b175
3 arquivos alterados com 3 adições e 3 exclusões
  1. 1 1
      mpi/tests/mpi_earlyrecv2.c
  2. 1 1
      mpi/tests/mpi_earlyrecv2_sync.c
  3. 1 1
      tests/helper.h

+ 1 - 1
mpi/tests/mpi_earlyrecv2.c

@@ -150,7 +150,7 @@ int exchange_void(int rank, int detached)
 	starpu_data_handle_t tab_handle[NB];
 
 	// This test is not run with valgrind as valgrind falsely detects error when exchanging NULL pointers
-	STARPU_SKIP_IF_VALGRIND_RETURN_0;
+	STARPU_SKIP_IF_VALGRIND_RETURN_ZERO;
 
 	FPRINTF_MPI(stderr, "Exchanging void data with detached=%d\n", detached);
 

+ 1 - 1
mpi/tests/mpi_earlyrecv2_sync.c

@@ -135,7 +135,7 @@ int exchange_void(int rank)
 	starpu_data_handle_t tab_handle[NB];
 
 	// This test is not run with valgrind as valgrind falsely detects error when exchanging NULL pointers
-	STARPU_SKIP_IF_VALGRIND_RETURN_0;
+	STARPU_SKIP_IF_VALGRIND_RETURN_ZERO;
 
 	ret = starpu_init(NULL);
 	STARPU_CHECK_RETURN_VALUE(ret, "starpu_init");

+ 1 - 1
tests/helper.h

@@ -61,7 +61,7 @@ static int _starpu_valgrind_print_once STARPU_ATTRIBUTE_UNUSED = 0;
 		}							\
 	} while(0)
 
-#  define STARPU_SKIP_IF_VALGRIND_RETURN_0 \
+#  define STARPU_SKIP_IF_VALGRIND_RETURN_ZERO \
 	do \
 	{								\
 		if(STARPU_RUNNING_ON_VALGRIND)					\