From c12aeb11279b9deecdd43e3259d6e52d66fe3661 Mon Sep 17 00:00:00 2001 From: He Yin Ling Date: Wed, 2 Nov 2016 20:12:43 +0800 Subject: [PATCH] add case select by name mark " before case name --- .../idf_test/unit_test/TestCaseScript/IDFUnitTest/UnitTest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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