From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id A35902BD3 for ; Wed, 19 Sep 2018 16:25:57 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2018 07:25:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,394,1531810800"; d="scan'208";a="75607659" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga006.jf.intel.com with ESMTP; 19 Sep 2018 07:25:54 -0700 Received: from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com [10.102.246.100]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w8JEPrVa015329; Wed, 19 Sep 2018 15:25:53 +0100 Received: from wgcvswdev001.ir.intel.com (localhost [127.0.0.1]) by wgcvswdev001.ir.intel.com with ESMTP id w8JEPfWl030386; Wed, 19 Sep 2018 15:25:41 +0100 Received: (from jmparthx@localhost) by wgcvswdev001.ir.intel.com with œ id w8JEPfrf030382; Wed, 19 Sep 2018 15:25:41 +0100 From: Pallantla Poornima To: dev@dpdk.org Cc: anatoly.burakov@intel.com, reshma.pattan@intel.com, Pallantla Poornima Date: Wed, 19 Sep 2018 15:25:38 +0100 Message-Id: <1537367138-30231-1-git-send-email-pallantlax.poornima@intel.com> X-Mailer: git-send-email 1.7.12.2 X-Mailman-Approved-At: Thu, 20 Sep 2018 10:13:16 +0200 Subject: [dpdk-dev] [PATCH] test: disable alarm autotest in FreeBSD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2018 14:25:58 -0000 Disabled the alarm_autotest UT in FreeBSD Interrupts are not supported in FreeBSD. Alarm API depends on interrupts, so disabled alarm test on FreeBSD. Signed-off-by: Pallantla Poornima --- test/test/test_alarm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/test/test_alarm.c b/test/test/test_alarm.c index f566947f2..d1284b379 100644 --- a/test/test/test_alarm.c +++ b/test/test/test_alarm.c @@ -178,7 +178,10 @@ static int test_alarm(void) { int count = 0; - +#ifdef RTE_EXEC_ENV_BSDAPP + printf("The alarm API is not supported on FreeBSD\n"); + return 0; +#endif /* check if the callback will be called */ printf("check if the callback will be called\n"); flag = 0; -- 2.16.3