Pārlūkot izejas kodu

Avoid nowhere in NUMA case, the test is bogus there

Samuel Thibault 8 gadi atpakaļ
vecāks
revīzija
55a33a1255
1 mainītis faili ar 8 papildinājumiem un 0 dzēšanām
  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