From bac1c1d26a5628d536f567fa3953693509326922 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sat, 18 Aug 2012 23:21:50 -0400 Subject: [PATCH] regressions/ck_stack: Disable various TRYMPMC benchmarks on unsupported platforms. --- regressions/ck_stack/validate/pair.c | 2 +- regressions/ck_stack/validate/pop.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/regressions/ck_stack/validate/pair.c b/regressions/ck_stack/validate/pair.c index 261e169..8261070 100644 --- a/regressions/ck_stack/validate/pair.c +++ b/regressions/ck_stack/validate/pair.c @@ -172,7 +172,7 @@ main(int argc, char *argv[]) pthread_t *thread; struct timeval stv, etv; -#if defined(MPMC) && (!defined(CK_F_STACK_PUSH_MPMC) || !defined(CK_F_STACK_POP_MPMC)) +#if (defined(TRYMPMC) || defined(MPMC)) && (!defined(CK_F_STACK_PUSH_MPMC) || !defined(CK_F_STACK_POP_MPMC)) fprintf(stderr, "Unsupported.\n"); return 0; #endif diff --git a/regressions/ck_stack/validate/pop.c b/regressions/ck_stack/validate/pop.c index 27d65ad..0b5af13 100644 --- a/regressions/ck_stack/validate/pop.c +++ b/regressions/ck_stack/validate/pop.c @@ -192,7 +192,7 @@ main(int argc, char *argv[]) pthread_t *thread; struct timeval stv, etv; -#if defined(MPMC) && (!defined(CK_F_STACK_PUSH_MPMC) || !defined(CK_F_STACK_POP_MPMC)) +#if (defined(TRYMPMC) || defined(MPMC)) && (!defined(CK_F_STACK_PUSH_MPMC) || !defined(CK_F_STACK_POP_MPMC)) fprintf(stderr, "Unsupported.\n"); return 0; #endif