DPDK patches and discussions
 help / color / mirror / Atom feed
* [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
* [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

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:25 [dpdk-dev] [PATCH] test: disable alarm autotest in FreeBSD Pallantla Poornima
2018-09-19 14:39 Pallantla Poornima
2018-09-20 16:01 ` Burakov, Anatoly
2018-10-17 15:13 ` Pattan, Reshma
2018-10-29  2:30   ` Thomas Monjalon

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).