瀏覽代碼

New configure option --enable-new-check to enable new testcases which are known to fail

Nathalie Furmento 10 年之前
父節點
當前提交
643a61c5b0
共有 4 個文件被更改,包括 21 次插入0 次删除
  1. 2 0
      ChangeLog
  2. 9 0
      configure.ac
  3. 7 0
      doc/doxygen/chapters/41configure_options.doxy
  4. 3 0
      examples/Makefile.am

+ 2 - 0
ChangeLog

@@ -111,6 +111,8 @@ Small features:
   * New flag STARPU_DATA_MODE_ARRAY for the function family
     starpu_task_insert to allow to define a array of data handles
     along with their access modes.
+  * New configure option --enable-new-check to enable new testcases
+    which are known to fail
 
 Changes:
   * Data interfaces (variable, vector, matrix and block) now define

+ 9 - 0
configure.ac

@@ -277,6 +277,15 @@ if  test x$enable_long_check = xyes; then
 fi
 AM_CONDITIONAL([STARPU_LONG_CHECK], [test "x$enable_long_check" = "xyes"])
 
+# Define new check
+AC_ARG_ENABLE(new-check, [AS_HELP_STRING([--enable-new-check],
+				   [Enable new and known-to-fail testcases])],
+				   enable_new_check=$enableval, enable_new_check=no)
+if  test x$enable_new_check = xyes; then
+	AC_DEFINE(STARPU_NEW_CHECK, [1], [enable new check])
+fi
+AM_CONDITIONAL([STARPU_NEW_CHECK], [test "x$enable_new_check" = "xyes"])
+
 AC_CHECK_HEADERS([malloc.h], [AC_DEFINE([STARPU_HAVE_MALLOC_H], [1], [Define to 1 if you have the <malloc.h> header file.])])
 
 AC_ARG_ENABLE(valgrind, [AS_HELP_STRING([--disable-valgrind],

+ 7 - 0
doc/doxygen/chapters/41configure_options.doxy

@@ -71,6 +71,13 @@ allowing a faster execution time
 Enable some exhaustive checks which take a really long time.
 </dd>
 
+<dt>--enable-new-check</dt>
+<dd>
+\anchor enable-new-check
+\addindex __configure__--enable-new-check
+Enable new testcases which are known to fail.
+</dd>
+
 <dt>--with-hwloc</dt>
 <dd>
 \anchor with-hwloc

+ 3 - 0
examples/Makefile.am

@@ -131,8 +131,11 @@ noinst_HEADERS = 				\
 examplebin_PROGRAMS 	+=	$(STARPU_EXAMPLES)
 
 TESTS			=	$(STARPU_EXAMPLES)
+
+if STARPU_NEW_CHECK
 TESTS			+=	scheduler/schedulers.sh
 TESTS			+=	scheduler/schedulers_context.sh
+endif
 
 if STARPU_HAVE_WINDOWS
 check_PROGRAMS		=	$(STARPU_EXAMPLES)