Selaa lähdekoodia

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

Nathalie Furmento 13 vuotta sitten
vanhempi
commit
1ad5a75c0b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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