소스 검색

tests/: further reduce test values when running on valgrind

Nathalie Furmento 13 년 전
부모
커밋
19ec8425d6
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      tests/core/static_restartable_tag.c

+ 3 - 0
tests/core/static_restartable_tag.c

@@ -68,6 +68,9 @@ int main(int argc, char **argv)
 #ifdef STARPU_SLOW_MACHINE
 	ntasks /= 100;
 #endif
+#ifdef STARPU_HAVE_VALGRIND_H
+	if(RUNNING_ON_VALGRIND) ntasks = 5;
+#endif
 
 	ret = starpu_init(NULL);
 	if (ret == -ENODEV) return STARPU_TEST_SKIPPED;