Browse Source

tests/: further reduce test values when running on valgrind

Nathalie Furmento 13 years ago
parent
commit
19ec8425d6
1 changed files with 3 additions and 0 deletions
  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;