소스 검색

tests/core/static_restartable.c: temporarily skip the test when running on valgrind

Nathalie Furmento 14 년 전
부모
커밋
cde1f9b0c9
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      tests/core/static_restartable.c

+ 5 - 0
tests/core/static_restartable.c

@@ -54,6 +54,11 @@ static void parse_args(int argc, char **argv)
 
 
 int main(int argc, char **argv)
 int main(int argc, char **argv)
 {
 {
+
+#ifdef STARPU_HAVE_VALGRIND_H
+	if(RUNNING_ON_VALGRIND) return STARPU_TEST_SKIPPED;
+#endif
+
 	unsigned i;
 	unsigned i;
 	double timing;
 	double timing;
 	struct timeval start;
 	struct timeval start;