瀏覽代碼

Avoid nowhere in NUMA case, the test is bogus there

Samuel Thibault 8 年之前
父節點
當前提交
55a33a1255
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      tests/datawizard/nowhere.c

+ 8 - 0
tests/datawizard/nowhere.c

@@ -25,6 +25,13 @@
  * Try the NOWHERE flag
  * Try the NOWHERE flag
  */
  */
 
 
+#ifdef STARPU_USE_NUMA
+int main(int argc, char **argv)
+{
+	/* FIXME: assumes only one RAM node */
+	return STARPU_TEST_SKIPPED;
+}
+#else
 static int x, y;
 static int x, y;
 
 
 static void prod(void *descr[], void *_args STARPU_ATTRIBUTE_UNUSED)
 static void prod(void *descr[], void *_args STARPU_ATTRIBUTE_UNUSED)
@@ -131,3 +138,4 @@ enodev:
 	starpu_shutdown();
 	starpu_shutdown();
 	return STARPU_TEST_SKIPPED;
 	return STARPU_TEST_SKIPPED;
 }
 }
+#endif