new file mode 100644
@@ -0,0 +1,27 @@
+.. SPDX-License-Identifier: BSD-3-Clause
+ Copyright 2022 The DTS contributors
+
+DTS Release 22.04
+=================
+
+New Features
+------------
+
+Removed Items
+-------------
+
+**Removed Makefile Builds.**
+
+Support for makefile builds has been removed.
+
+
+Deprecation Notices
+-------------------
+
+**Unit Testing**
+
+Support for running unit tests through DTS is now
+deprecated and will be removed in the next release.
+The meson build system was judged to provide a sufficient
+test harness for all presented usecases.
+
@@ -59,6 +59,7 @@ class TestUnitTestsCmdline(TestCase):
"""
# icc compilation cost long long time.
self.cores = self.dut.get_core_list("all")
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
def set_up(self):
"""
@@ -57,6 +57,7 @@ class TestUnitTestsCrc(TestCase):
Run at the start of each test suite.
"""
self.cores = self.dut.get_core_list("all")
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
def set_up(self):
"""
@@ -40,6 +40,7 @@ class UnitTestsCryptodev(TestCase):
def set_up_all(self):
self._app_path = self.dut.apps_name["test"]
cc.bind_qat_device(self, "vfio-pci")
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
def set_up(self):
pass
@@ -66,6 +66,7 @@ class TestUnitTestsDump(TestCase):
self.verify(len(self.dut_ports) >= 1, "Insufficient ports for testing")
self.start_test_time = 60
self.run_cmd_time = 60
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
def set_up(self):
"""
@@ -65,6 +65,7 @@ class TestUnitTestsEal(TestCase):
eal_params = self.dut.create_eal_parameters(cores=default_cores)
app_name = self.dut.apps_name["test"]
self.test_app_cmdline = app_name + eal_params
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
def set_up(self):
"""
@@ -66,6 +66,8 @@ class TestUnitTestEventTimer(TestCase):
self.eventdev_timer_device_bus_id = "0000:0a:01.0"
self.dut.bind_eventdev_port(port_to_bind=self.eventdev_timer_device_bus_id)
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
+
def set_up(self):
"""
Run before each test case.
@@ -64,6 +64,8 @@ class TestUnitTestsKni(TestCase):
self.verify("Error" not in out, "Error loading KNI module: " + out)
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
+
#
#
#
@@ -82,6 +82,7 @@ class TestUnitTestsLoopback(TestCase):
self.tmp_path = "/tmp/test_pmd_perf.c"
self.dut.send_expect("rm -fr %s" % self.tmp_path, "# ")
self.dut.send_expect("cp app/test/test_pmd_perf.c %s" % self.tmp_path, "# ")
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
def set_up(self):
"""
@@ -61,6 +61,7 @@ class TestUnitTestsLpmIpv6(TestCase):
Qos Prerequisites
"""
self.cores = self.dut.get_core_list("all")
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
def set_up(self):
"""
@@ -58,6 +58,7 @@ class TestUnitTestsMbuf(TestCase):
Run at the start of each test suite.
"""
self.cores = self.dut.get_core_list("all")
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
def set_up(self):
"""
@@ -58,6 +58,7 @@ class TestUnitTestsMempool(TestCase):
Run at the start of each test suite.
"""
self.cores = self.dut.get_core_list("all")
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
def set_up(self):
"""
@@ -71,6 +71,7 @@ class TestUnitTestsPmdPerf(TestCase):
self.anchors = ["rxtx", "rxonly", "txonly"]
socket_id = self.dut.ports_info[0]["port"].socket
self.cores = self.dut.get_core_list(config="1S/4C/1T", socket=socket_id)
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
def set_up(self):
"""
@@ -59,6 +59,7 @@ class TestUnitTestsPower(TestCase):
Power Prerequisites
"""
self.cores = self.dut.get_core_list("all")
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
def set_up(self):
"""
@@ -60,6 +60,7 @@ class TestUnitTestsQos(TestCase):
QoS Prerequisites
"""
self.cores = self.dut.get_core_list("all")
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
def set_up(self):
"""
@@ -58,6 +58,7 @@ class TestUnitTestsRing(TestCase):
Run at the start of each test suite.
"""
self.cores = self.dut.get_core_list("all")
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
def set_up(self):
"""
@@ -59,6 +59,7 @@ class TestUnitTestsRingPmd(TestCase):
Nothing to do here.
"""
self.cores = self.dut.get_core_list("all")
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
def set_up(self):
"""
@@ -65,6 +65,7 @@ class TestUnitTestsTimer(TestCase):
self.this_timeout = 60
if len(self.cores) > 16:
self.this_timeout = self.this_timeout * len(self.cores) / 16
+ self.logger.warning(f"Test Suite {self.__name__} is deprecated and will be removed in the next release")
def set_up(self):
"""