@@ -863,6 +863,7 @@ def runAggregateReport(self,comp,ts,env_name,report_name):
863863 shutil .copyfile (fname , report_name )
864864 except :
865865 traceback .print_exc ()
866+
866867 def skipReporting (self , env ):
867868
868869 build_dir = ""
@@ -1016,10 +1017,8 @@ def __init__(self, FullManageProjectName, build_dir, env, compiler, testsuite, c
10161017
10171018 ## use hash code instead of final directory name as regression scripts can have overlapping final directory names
10181019 build_dir = build_dir .replace ("\\ " ,"/" )
1019-
1020- # not sure why this was added, but causing issues with a path with /.blah as a path
1021- # commenting out for now
1022- # build_dir = build_dir.replace("/.","")
1020+ if build_dir .endswith ("/." ):
1021+ build_dir = build_dir .replace ("/." ,"" )
10231022 build_dir_4hash = build_dir .upper ()
10241023 build_dir_4hash = "/" .join (build_dir_4hash .split ("/" )[- 2 :])
10251024
@@ -1086,12 +1085,6 @@ def generate_unit(self):
10861085 print ("self.api: " )
10871086 pprint (dump (self .api ))
10881087
1089- print ("self.api.TestCase.all(): " )
1090- try :
1091- pprint (self .api .TestCase .all ())
1092- except :
1093- print ("error with self.api.TestCase.all() call" )
1094-
10951088
10961089 if isinstance (self .api , CoverApi ):
10971090 try :
@@ -1133,6 +1126,13 @@ def generate_unit(self):
11331126 return
11341127
11351128 else :
1129+ if self .verbose :
1130+
1131+ print ("self.api.TestCase.all(): " )
1132+ try :
1133+ pprint (self .api .TestCase .all ())
1134+ except :
1135+ print ("error with self.api.TestCase.all() call" )
11361136 try :
11371137 self .start_unit_test_file ()
11381138 self .add_compound_tests ()
0 commit comments