aboutsummaryrefslogtreecommitdiff
path: root/test/validation/api
diff options
context:
space:
mode:
authorMalvika Gupta <Malvika.Gupta@arm.com>2021-02-24 14:08:40 -0600
committerPetri Savolainen <petri.savolainen@nokia.com>2021-03-22 14:17:26 +0200
commit8c7702a4d115b29bbb0ec663c5d85224604bb557 (patch)
treeef8721629c40fc7f0e81c26bd9755a1f4628c747 /test/validation/api
parent3a12dbec4b1ae0a3a5edab7bec863c055d7ff7d2 (diff)
validation: traffic_mngr: skip shaper test on arm64 systems
The traffic_mngr_shaper_test intermittenly fails on arm64 systems. For enabling the CI, this test has been skipped until the issue is resolved and the shaper test no longer fails on arm64 platforms. Signed-off-by: Malvika Gupta <Malvika.Gupta@arm.com> Reviewed-by: Govindarajan Mohandoss <govindarajan.mohandoss@arm.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'test/validation/api')
-rw-r--r--test/validation/api/traffic_mngr/traffic_mngr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/validation/api/traffic_mngr/traffic_mngr.c b/test/validation/api/traffic_mngr/traffic_mngr.c
index 1029a128b..13f39457d 100644
--- a/test/validation/api/traffic_mngr/traffic_mngr.c
+++ b/test/validation/api/traffic_mngr/traffic_mngr.c
@@ -2451,6 +2451,14 @@ static int traffic_mngr_check_shaper(void)
odp_cpumask_t cpumask;
int cpucount = odp_cpumask_all_available(&cpumask);
+/* Skip the shaper test on arm64 systems */
+#if defined(__aarch64__)
+ printf("\nTemporarily skip shaper test which intermittently "
+ "fails on arm64 systems. Will be activated when issue "
+ "is resolved\n");
+ return ODP_TEST_INACTIVE;
+#endif
+
if (cpucount < 2) {
ODPH_DBG("\nSkipping shaper test because cpucount = %d "
"is less then min number 2 required\n", cpucount);