diff --git a/components/idf_test/unit_test/TestCaseScript/IDFUnitTest/UnitTest.py b/components/idf_test/unit_test/TestCaseScript/IDFUnitTest/UnitTest.py index ab29a97f9b..3ec87d24bc 100644 --- a/components/idf_test/unit_test/TestCaseScript/IDFUnitTest/UnitTest.py +++ b/components/idf_test/unit_test/TestCaseScript/IDFUnitTest/UnitTest.py @@ -25,7 +25,8 @@ class UnitTest(PerformanceTCBase.PerformanceTCBase): self.flush_data("UT1") try: - self.serial_write_line("UT1", self.test_case) + # add case select by name mark " before case name + self.serial_write_line("UT1", "/"" + self.test_case) data = "" for _ in range(self.timeout): time.sleep(1) #wait for test to run before reading result