File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/device/libraries/BSTest Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def get_test_list(self):
5555 return
5656 debug_print ('got begin' )
5757 while True :
58- res = self .sp .expect (['>>>>>bs_test_item id\=(\d+) name\="([^\ " ]*?)" desc="([^"]*?)"' ,
58+ res = self .sp .expect ([r '>>>>>bs_test_item id\=(\d+) name\="([^"]*?)" desc="([^"]*?)"' ,
5959 '>>>>>bs_test_menu_end' ,
6060 EOF , TIMEOUT ])
6161 if res == 0 :
@@ -118,8 +118,8 @@ def run_test(self, index):
118118 if timeout <= 0 :
119119 raise 'test begin timeout'
120120 while timeout > 0 :
121- res = self .sp .expect (['>>>>>bs_test_check_failure line=(\d+)' ,
122- '>>>>>bs_test_end line=(\d+) result=(\d+) checks=(\d+) failed_checks=(\d+)' ,
121+ res = self .sp .expect ([r '>>>>>bs_test_check_failure line=(\d+)' ,
122+ r '>>>>>bs_test_end line=(\d+) result=(\d+) checks=(\d+) failed_checks=(\d+)' ,
123123 TIMEOUT ,
124124 EOF ,
125125 'Exception' ,
You can’t perform that action at this time.
0 commit comments