Explorar o código

tests/helper.h: fix macro STARPU_SKIP_IF_VALGRIND to always return, not only when printing message

Nathalie Furmento %!s(int64=13) %!d(string=hai) anos
pai
achega
1ad5a75c0b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/helper.h

+ 1 - 1
tests/helper.h

@@ -51,8 +51,8 @@ static int _starpu_valgrind_print_once = 0;
 			{						\
 				FPRINTF(stderr, "Running on valgrind, skipping the actual computations\n"); \
 				_starpu_valgrind_print_once = 1;	\
-				return;					\
 			}						\
+			return;						\
 		}							\
 	} while(0)
 #else