CMSIS-DSP:Test framework improvements and bug corrections
Corrected memory issue in IORunner when using static buffer of
parameters.
Added script to generate a db of regression
Added max regression coef to summary results.
diff --git a/CMSIS/DSP/Testing/addToDB.py b/CMSIS/DSP/Testing/addToDB.py
index 580e213..514df54 100755
--- a/CMSIS/DSP/Testing/addToDB.py
+++ b/CMSIS/DSP/Testing/addToDB.py
@@ -55,7 +55,7 @@
def getColumns(elem,full):
colsToKeep=[]
cols = list(full.columns)
- params = list(joinit(elem.params.full,","))
+ params = list(elem.params.full)
common = diff(cols + ["TYPE"] , ['OLDID'] + params)
for field in common:
@@ -75,8 +75,8 @@
if not tableExists(conn,tableName):
sql = "CREATE TABLE %s (" % tableName
cols = list(full.columns)
- params = list(joinit(elem.params.full,","))
- common = diff(cols + ["TYPE"] , ['OLDID'] + params)
+ params = list(elem.params.full)
+ common = diff(cols + ["TYPE"] , ['OLDID'] + params)
sql += "%sid INTEGER PRIMARY KEY" % (tableName)
start = ","
@@ -104,7 +104,6 @@
sql += "FOREIGN KEY(coreid) REFERENCES CORE(coreid),"
sql += "FOREIGN KEY(compilerid) REFERENCES COMPILER(compilerid)"
sql += " )"
- #print(sql)
conn.execute(sql)
# Find the key or add it in a table
@@ -148,7 +147,7 @@
# different from the columns in the table
keep = getColumns(elem,full)
cols = list(full.columns)
- params = list(joinit(elem.params.full,","))
+ params = list(elem.params.full)
common = diff(["TYPE"] + cols , ['OLDID'] + params)
colNameList = []
for c in params + keep: