X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7f4f03348bd07609e258eb3b545bdafc2c881847..a4d071afeab4b3ff0a50eefbf48a391d4e8978aa:/teshsuite/xbt/parmap_test/parmap_test.c diff --git a/teshsuite/xbt/parmap_test/parmap_test.c b/teshsuite/xbt/parmap_test/parmap_test.c index 8337604cdc..e2d5faf310 100644 --- a/teshsuite/xbt/parmap_test/parmap_test.c +++ b/teshsuite/xbt/parmap_test/parmap_test.c @@ -47,8 +47,7 @@ static int test_parmap_basic(e_xbt_parmap_mode_t mode) for (i = 0; i < len; i++) { unsigned expected = (1U << num) * (i + 1) - 1; if (a[i] != expected) { - XBT_CRITICAL("with %u threads, a[%u]: expected %u, got %u", - num_workers, i, expected, a[i]); + XBT_CRITICAL("with %u threads, a[%u]: expected %u, got %u", num_workers, i, expected, a[i]); ret = 1; break; } @@ -121,7 +120,7 @@ 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 +#if HAVE_FUTEX_H status += test_parmap_basic(XBT_PARMAP_FUTEX); #endif XBT_INFO("Basic testing busy wait"); @@ -130,7 +129,7 @@ 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 +#if HAVE_FUTEX_H status += test_parmap_extended(XBT_PARMAP_FUTEX); #endif XBT_INFO("Extended testing busy wait");