浏览代码

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;