Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Skip message if test is deactivated.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Tue, 8 Oct 2013 14:36:35 +0000 (16:36 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Tue, 8 Oct 2013 15:13:02 +0000 (17:13 +0200)
teshsuite/xbt/parmap_test.c

index 52c4050..3e09198 100644 (file)
@@ -120,8 +120,8 @@ int main(int argc, char** argv)
 
   XBT_INFO("Basic testing posix");
   status += test_parmap_basic(XBT_PARMAP_POSIX);
-  XBT_INFO("Basic testing futex");
 #ifdef HAVE_FUTEX_H
+  XBT_INFO("Basic testing futex");
   status += test_parmap_basic(XBT_PARMAP_FUTEX);
 #endif
   XBT_INFO("Basic testing busy wait");
@@ -129,8 +129,8 @@ int main(int argc, char** argv)
 
   XBT_INFO("Extended testing posix");
   status += test_parmap_extended(XBT_PARMAP_POSIX);
-  XBT_INFO("Extended testing futex");
 #ifdef HAVE_FUTEX_H
+  XBT_INFO("Extended testing futex");
   status += test_parmap_extended(XBT_PARMAP_FUTEX);
 #endif
   XBT_INFO("Extended testing busy wait");