浏览代码

Skip tests/main/dependency_on_destroyed_task when running on valgrind.

This test has to make StarPU fail by doing crazy things with memory.
Cyril Roelandt 13 年之前
父节点
当前提交
2a80b72ae3
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      tests/main/dependency_on_destroyed_task.c

+ 8 - 0
tests/main/dependency_on_destroyed_task.c

@@ -12,6 +12,13 @@
  * probably OK to disable it for a while :-) Maybe we could also detect
  * destroyed tasks in starpu_task_declare_deps_array.
  */
+#ifdef STARPU_HAVE_VALGRIND_H
+int
+main(void)
+{
+	return STARPU_TEST_SKIPPED;
+}
+#else
 static void abort_catcher(int sig)
 {
 	(void) sig;
@@ -76,4 +83,5 @@ main(void)
 
 	return EXIT_FAILURE;
 }
+#endif