Kaynağa Gözat

disable test invalid_blocking_calls with --enable-fast, since the assertion is not compiled in

Samuel Thibault 10 yıl önce
ebeveyn
işleme
a9dd1bbdc7
1 değiştirilmiş dosya ile 9 ekleme ve 1 silme
  1. 9 1
      tests/errorcheck/invalid_blocking_calls.c

+ 9 - 1
tests/errorcheck/invalid_blocking_calls.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2009, 2010, 2013  Université de Bordeaux
+ * Copyright (C) 2009, 2010, 2013, 2015  Université de Bordeaux
  * Copyright (C) 2010, 2011, 2012, 2013  CNRS
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -19,6 +19,13 @@
 #include <starpu.h>
 #include "../helper.h"
 
+#ifdef STARPU_NO_ASSERT
+int main(int argc, char **argv)
+{
+	return STARPU_TEST_SKIPPED;
+}
+#else
+
 #define TAG	0x42
 
 static starpu_data_handle_t handle;
@@ -108,3 +115,4 @@ enodev:
 	starpu_shutdown();
 	return STARPU_TEST_SKIPPED;
 }
+#endif