소스 검색

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
  */
 
+#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 void prod(void *descr[], void *_args STARPU_ATTRIBUTE_UNUSED)
@@ -131,3 +138,4 @@ enodev:
 	starpu_shutdown();
 	return STARPU_TEST_SKIPPED;
 }
+#endif