Skip to contentSkip to conversation

app/test: add telemetry tests to fast test suite

PATCH In review Bruce Richardson 3 participants 3 messages Sep 14, 2023 – Sep 15, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 app/test: add telemetry tests to fast test suite

The telemetry data tests, and the telemetry json tests execute very quickly, so can be added to the fast-test suite.

---
 app/test/test_telemetry_data.c | 2 +-
 app/test/test_telemetry_json.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
app/test/test_telemetry_data.c +1 -1
index 31629a001b..59898ff5e9 100644
@@ -615,4 +615,4 @@ telemetry_data_autotest(void)
 }
 #endif /* !RTE_EXEC_ENV_WINDOWS */
 
-REGISTER_TEST_COMMAND(telemetry_data_autotest, telemetry_data_autotest);
+REGISTER_FAST_TEST(telemetry_data_autotest, true, true, telemetry_data_autotest);
app/test/test_telemetry_json.c +1 -1
index 5617eac540..758e89303f 100644
@@ -213,4 +213,4 @@ test_telemetry_json(void)
 	return 0;
 }
 
-REGISTER_TEST_COMMAND(telemetry_json_autotest, test_telemetry_json);
+REGISTER_FAST_TEST(telemetry_json_autotest, true, true, test_telemetry_json);
Signature · 1 line
2.39.2
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines

-----Original Message-----
From: Richardson, Bruce <[email protected]>
Sent: Thursday, September 14, 2023 4:25 PM
To: [email protected]
Cc: [email protected]; Richardson, Bruce <[email protected]>; Power, Ciara <[email protected]>
Subject: [PATCH] app/test: add telemetry tests to fast test suite

Quoted 8 lines

The telemetry data tests, and the telemetry json tests execute very quickly, so can be added to the fast-test suite.

---
 app/test/test_telemetry_data.c | 2 +-
 app/test/test_telemetry_json.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)