Преглед изворни кода

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

Nathalie Furmento пре 13 година
родитељ
комит
1ad5a75c0b
1 измењених фајлова са 1 додато и 1 уклоњено
  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