Browse Source

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

Nathalie Furmento 13 years ago
parent
commit
cde1f9b0c9
1 changed files with 5 additions and 0 deletions
  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)
 {
+
+#ifdef STARPU_HAVE_VALGRIND_H
+	if(RUNNING_ON_VALGRIND) return STARPU_TEST_SKIPPED;
+#endif
+
 	unsigned i;
 	double timing;
 	struct timeval start;