Procházet zdrojové kódy

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

Nathalie Furmento před 13 roky
rodič
revize
1ad5a75c0b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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