Define an "attic" test suite for unstable or unmaintained tests, and
move the red autotest to that suite.

Signed-off-by: Bruce Richardson <[email protected]>
---
 app/test/test.h     | 4 ++++
 app/test/test_red.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/app/test/test.h b/app/test/test.h
index 30a8e1b8f1..10dc45f19d 100644
--- a/app/test/test.h
+++ b/app/test/test.h
@@ -218,5 +218,9 @@ void add_test_command(struct test_command *t);
  */
 #define REGISTER_FAST_TEST(cmd, no_huge, ASan, func)  
REGISTER_TEST_COMMAND(cmd, func)
 
+/* For unstable or experimental tests cases which need work or which may be 
removed
+ * in the future.
+ */
+#define REGISTER_ATTIC_TEST REGISTER_TEST_COMMAND
 
 #endif
diff --git a/app/test/test_red.c b/app/test/test_red.c
index 7f38ed1469..23013237c0 100644
--- a/app/test/test_red.c
+++ b/app/test/test_red.c
@@ -1872,6 +1872,6 @@ test_red_all(void)
 
 #endif /* !RTE_EXEC_ENV_WINDOWS */
 
-REGISTER_TEST_COMMAND(red_autotest, test_red);
+REGISTER_ATTIC_TEST(red_autotest, test_red);
 REGISTER_PERF_TEST(red_perf, test_red_perf);
 REGISTER_PERF_TEST(red_all, test_red_all);
-- 
2.51.0

Reply via email to