DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] test: disable alarm autotest in FreeBSD
@ 2018-09-19 14:39 Pallantla Poornima
  2018-09-20 16:01 ` Burakov, Anatoly
  2018-10-17 15:13 ` Pattan, Reshma
  0 siblings, 2 replies; 5+ messages in thread
From: Pallantla Poornima @ 2018-09-19 14:39 UTC (permalink / raw)
  To: dev; +Cc: anatoly.burakov, reshma.pattan, Pallantla Poornima

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 <pallantlax.poornima@intel.com>
---
 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] test: disable alarm autotest in FreeBSD
  2018-09-19 14:39 [dpdk-dev] [PATCH] test: disable alarm autotest in FreeBSD Pallantla Poornima
@ 2018-09-20 16:01 ` Burakov, Anatoly
  2018-10-17 15:13 ` Pattan, Reshma
  1 sibling, 0 replies; 5+ messages in thread
From: Burakov, Anatoly @ 2018-09-20 16:01 UTC (permalink / raw)
  To: Pallantla Poornima, dev; +Cc: reshma.pattan

On 19-Sep-18 3:39 PM, Pallantla Poornima wrote:
> 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 <pallantlax.poornima@intel.com>
> ---
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>

-- 
Thanks,
Anatoly

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] test: disable alarm autotest in FreeBSD
  2018-09-19 14:39 [dpdk-dev] [PATCH] test: disable alarm autotest in FreeBSD Pallantla Poornima
  2018-09-20 16:01 ` Burakov, Anatoly
@ 2018-10-17 15:13 ` Pattan, Reshma
  2018-10-29  2:30   ` Thomas Monjalon
  1 sibling, 1 reply; 5+ messages in thread
From: Pattan, Reshma @ 2018-10-17 15:13 UTC (permalink / raw)
  To: Poornima, PallantlaX, dev; +Cc: Burakov, Anatoly



> -----Original Message-----
> From: Poornima, PallantlaX
> Sent: Wednesday, September 19, 2018 3:39 PM
> To: dev@dpdk.org
> Cc: Burakov, Anatoly <anatoly.burakov@intel.com>; Pattan, Reshma
> <reshma.pattan@intel.com>; Poornima, PallantlaX
> <pallantlax.poornima@intel.com>
> Subject: [PATCH] test: disable alarm autotest in FreeBSD
> 
> 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 <pallantlax.poornima@intel.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] test: disable alarm autotest in FreeBSD
  2018-10-17 15:13 ` Pattan, Reshma
@ 2018-10-29  2:30   ` Thomas Monjalon
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Monjalon @ 2018-10-29  2:30 UTC (permalink / raw)
  To: Poornima, PallantlaX; +Cc: dev, Pattan, Reshma, Burakov, Anatoly

> > 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 <pallantlax.poornima@intel.com>
> Acked-by: Reshma Pattan <reshma.pattan@intel.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [dpdk-dev] [PATCH] test: disable alarm autotest in FreeBSD
@ 2018-09-19 14:25 Pallantla Poornima
  0 siblings, 0 replies; 5+ messages in thread
From: Pallantla Poornima @ 2018-09-19 14:25 UTC (permalink / raw)
  To: dev; +Cc: anatoly.burakov, reshma.pattan, Pallantla Poornima

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 <pallantlax.poornima@intel.com>
---
 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-10-29  2:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-19 14:39 [dpdk-dev] [PATCH] test: disable alarm autotest in FreeBSD Pallantla Poornima
2018-09-20 16:01 ` Burakov, Anatoly
2018-10-17 15:13 ` Pattan, Reshma
2018-10-29  2:30   ` Thomas Monjalon
  -- strict thread matches above, loose matches on Subject: below --
2018-09-19 14:25 Pallantla Poornima

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).