@@ -67,11 +67,11 @@ def __init__(self, total=0):
6767
6868 total = yaml test scenarios * applicable platforms
6969 done := instances that reached report_out stage of the pipeline
70- done = skipped_configs + passed + failed + error
70+ done = filtered_configs + passed + failed + error
7171 completed = done - skipped_filter
72- skipped_configs = skipped_runtime + skipped_filter
72+ filtered_configs = skipped_runtime + skipped_filter
7373
74- pass rate = passed / (total - skipped_configs )
74+ pass rate = passed / (total - filtered_configs )
7575 case pass rate = passed_cases / (cases - filtered_cases - skipped_cases)
7676 '''
7777 # instances that go through the pipeline
@@ -91,7 +91,7 @@ def __init__(self, total=0):
9191
9292 # static filter + runtime filter + build skipped
9393 # updated by update_counting_before_pipeline() and report_out()
94- self ._skipped_configs = Value ('i' , 0 )
94+ self ._filtered_configs = Value ('i' , 0 )
9595
9696 # cmake filter + build skipped
9797 # updated by report_out()
@@ -151,22 +151,22 @@ def summary(self):
151151 suites_n_length = self ._find_number_length (self .total if self .total > self .done else self .done )
152152 processed_suites_n_length = self ._find_number_length (self .done )
153153 completed_suites_n_length = self ._find_number_length (completed_configs )
154- skipped_suites_n_length = self ._find_number_length (self .skipped_configs )
154+ skipped_suites_n_length = self ._find_number_length (self .filtered_configs )
155155 total_cases_n_length = self ._find_number_length (self .cases )
156156 selected_cases_n_length = self ._find_number_length (selected_cases )
157157
158158 print ("--------------------------------------------------" )
159159 print (f"{ 'Total test suites: ' :<23} { self .total :>{suites_n_length }} " ) # actually test instances
160160 print (f"{ 'Processed test suites: ' :<23} { self .done :>{suites_n_length }} " )
161161 print (f"├─ { 'Filtered test suites (static): ' :<37} { self .skipped_filter :>{processed_suites_n_length }} " )
162- print (f"└─ { 'Completed test suites: ' :<37} { completed_configs :>{processed_suites_n_length }} " )
163- print (f" ├─ { 'Filtered test suites (at runtime) : ' :<37} { self .skipped_runtime :>{completed_suites_n_length }} " )
162+ print (f"└─ { 'Selected test suites: ' :<37} { completed_configs :>{processed_suites_n_length }} " )
163+ print (f" ├─ { 'Skipped test suites: ' :<37} { self .skipped_runtime :>{completed_suites_n_length }} " )
164164 print (f" ├─ { 'Passed test suites: ' :<37} { self .passed :>{completed_suites_n_length }} " )
165165 print (f" ├─ { 'Built only test suites: ' :<37} { self .notrun :>{completed_suites_n_length }} " )
166166 print (f" ├─ { 'Failed test suites: ' :<37} { self .failed :>{completed_suites_n_length }} " )
167167 print (f" └─ { 'Errors in test suites: ' :<37} { self .error :>{completed_suites_n_length }} " )
168168 print (f"" )
169- print (f"{ 'Filtered test suites: ' :<21} { self .skipped_configs } " )
169+ print (f"{ 'Filtered test suites: ' :<21} { self .filtered_configs } " )
170170 print (f"├─ { 'Filtered test suites (static): ' :<37} { self .skipped_filter :>{skipped_suites_n_length }} " )
171171 print (f"└─ { 'Filtered test suites (at runtime): ' :<37} { self .skipped_runtime :>{skipped_suites_n_length }} " )
172172 print ("---------------------- ----------------------" )
@@ -412,18 +412,18 @@ def notrun_increment(self, value=1):
412412 self ._notrun .value += value
413413
414414 @property
415- def skipped_configs (self ):
416- with self ._skipped_configs .get_lock ():
417- return self ._skipped_configs .value
415+ def filtered_configs (self ):
416+ with self ._filtered_configs .get_lock ():
417+ return self ._filtered_configs .value
418418
419- @skipped_configs .setter
420- def skipped_configs (self , value ):
421- with self ._skipped_configs .get_lock ():
422- self ._skipped_configs .value = value
419+ @filtered_configs .setter
420+ def filtered_configs (self , value ):
421+ with self ._filtered_configs .get_lock ():
422+ self ._filtered_configs .value = value
423423
424- def skipped_configs_increment (self , value = 1 ):
425- with self ._skipped_configs .get_lock ():
426- self ._skipped_configs .value += value
424+ def filtered_configs_increment (self , value = 1 ):
425+ with self ._filtered_configs .get_lock ():
426+ self ._filtered_configs .value += value
427427
428428 @property
429429 def skipped_filter (self ):
@@ -1381,9 +1381,9 @@ def report_out(self, results):
13811381 if not self .options .verbose :
13821382 self .log_info_file (self .options .inline_logs )
13831383 elif instance .status == TwisterStatus .SKIP :
1384- results .skipped_configs_increment ()
1384+ results .filtered_configs_increment ()
13851385 elif instance .status == TwisterStatus .FILTER :
1386- results .skipped_configs_increment ()
1386+ results .filtered_configs_increment ()
13871387 elif instance .status == TwisterStatus .PASS :
13881388 results .passed_increment ()
13891389 elif instance .status == TwisterStatus .NOTRUN :
@@ -1439,8 +1439,8 @@ def report_out(self, results):
14391439 TwisterStatus .get_color (TwisterStatus .NOTRUN ),
14401440 results .notrun ,
14411441 Fore .RESET ,
1442- TwisterStatus .get_color (TwisterStatus .SKIP ) if results .skipped_configs > 0 else Fore .RESET ,
1443- results .skipped_configs ,
1442+ TwisterStatus .get_color (TwisterStatus .SKIP ) if results .filtered_configs > 0 else Fore .RESET ,
1443+ results .filtered_configs ,
14441444 Fore .RESET ,
14451445 TwisterStatus .get_color (TwisterStatus .FAIL ) if results .failed > 0 else Fore .RESET ,
14461446 results .failed ,
@@ -1699,7 +1699,7 @@ def update_counting_before_pipeline(self):
16991699 for instance in self .instances .values ():
17001700 if instance .status == TwisterStatus .FILTER and not instance .reason == 'runtime filter' :
17011701 self .results .skipped_filter_increment ()
1702- self .results .skipped_configs_increment ()
1702+ self .results .filtered_configs_increment ()
17031703 self .results .filtered_cases_increment (len (instance .testsuite .testcases ))
17041704 self .results .cases_increment (len (instance .testsuite .testcases ))
17051705 elif instance .status == TwisterStatus .ERROR :
@@ -1709,9 +1709,9 @@ def show_brief(self):
17091709 logger .info ("%d test scenarios (%d configurations) selected, "
17101710 "%d configurations filtered (%d by static filter, %d at runtime)." %
17111711 (len (self .suites ), len (self .instances ),
1712- self .results .skipped_configs ,
1712+ self .results .filtered_configs ,
17131713 self .results .skipped_filter ,
1714- self .results .skipped_configs - self .results .skipped_filter ))
1714+ self .results .filtered_configs - self .results .skipped_filter ))
17151715
17161716 def add_tasks_to_queue (self , pipeline , build_only = False , test_only = False , retry_build_errors = False ):
17171717 for instance in self .instances .values ():
0 commit comments