removed tabs and fixed bug in which datasheets generated without the characterizer running

This commit is contained in:
Jesse Cirimelli-Low
2018-10-11 11:18:40 -07:00
parent 49268b025f
commit bc54bc238f
3 changed files with 77 additions and 88 deletions
+4 -3
View File
@@ -63,9 +63,10 @@ class openram_test(openram_test):
files = glob.glob('{0}/*.lib'.format(out_path))
self.assertTrue(len(files)>0)
# Make sure there is any .html file
datasheets = glob.glob('{0}/{1}/*html'.format(OPENRAM_HOME,datasheets))
self.assertTrue(len(datasheets)>0)
# Make sure there is any .html file if characterizer was ran
if not OPTS.analytical_delay:
datasheets = glob.glob('{0}/{1}/*html'.format(OPENRAM_HOME,'datasheets'))
self.assertTrue(len(datasheets)>0)
# grep any errors from the output
output_log = open("{0}/output.log".format(out_path),"r")