You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cursor.execute("SELECT name FROM [sqlite_master] WHERE type='table' AND name=?", (branch,))
102
-
v=cursor.fetchone()[0]
102
+
one=cursor.fetchone()
103
+
ifone==None:
104
+
print("No such table '%s'; specify it using --branch=XXX when running test.py"%branch)
105
+
# ignore this table and continue
106
+
continue
107
+
else:
108
+
v=one[0]
103
109
except:
104
-
raiseException("No such table '%s'; specify it using --branch=XXX"%branch)
105
-
106
-
forbranchinbranches:
110
+
# raise Exception("No such table '%s'; specify it using --branch=XXX" % branch)
111
+
print("No such table '%s'; specify it using --branch=XXX when running test.py"%branch)
112
+
# ignore this table and continue
113
+
continue
114
+
107
115
cursor.execute('''CREATE INDEX IF NOT EXISTS [idx_%s_date] ON [%s](date)'''% (branch,branch))
108
116
libs= {}
109
117
for (date,libname,total,frontend,backend,simcode,template,compile,simulate,verify) incursor.execute("""SELECT date,libname,COUNT(finalphase),COUNT(finalphase>=1 or null),COUNT(finalphase>=2 or null),COUNT(finalphase>=3 or null),COUNT(finalphase>=4 or null),COUNT(finalphase>=5 or null),COUNT(finalphase>=6 or null),COUNT(finalphase>=7 or null)
0 commit comments