소스 검색

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