Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a --verbose option for testall.
[simgrid.git] / include / xbt / cunit.h
index 6cedde1..0cd6358 100644 (file)
@@ -51,7 +51,7 @@ XBT_PUBLIC(void) xbt_test_suite_push(xbt_test_suite_t suite,
  * * testname: if given, the test on which the directive acts. If not, acts on any tests.
  */
 
-XBT_PUBLIC(int) xbt_test_run(char *selection);
+XBT_PUBLIC(int) xbt_test_run(char *selection, int verbosity);
 /* Show information about the selection of tests */
 XBT_PUBLIC(void) xbt_test_dump(char *selection);
 /* Cleanup the mess */
@@ -89,7 +89,7 @@ XBT_PUBLIC(void) xbt_test_skip(void);
     void func(void);  /*prototype*/       \
     void func(void)
 
-#if 1 || defined(XBT_USE_DEPRECATED)
+#ifdef XBT_USE_DEPRECATED
 
 /* Kept for backward compatibility. */