# these.
sumfile_kv.update({tool+"_version":r"^([^#].+)$"})
- target_variation_names = " ".join(sorted(list(target_variations))) # lightly canonicalize
- db.execute("insert or ignore into testrun_kv (tr, key, value) values (?, ?, ?);",
- (trid, 'target_board', target_variation_names))
- db.commit()
- logging.debug("found key target_board value %s", target_variation_names)
+ if len(target_variations)>0:
+ target_variation_names = " ".join(sorted(list(target_variations))) # lightly canonicalize
+ db.execute("insert or ignore into testrun_kv (tr, key, value) values (?, ?, ?);",
+ (trid, 'target_board', target_variation_names))
+ db.commit()
+ logging.debug("found key target_board value %s", target_variation_names)
# reject testruns with .sum files that are not parseable as proper dejagnu
# e.g. glibc