aboutsummaryrefslogtreecommitdiff
path: root/lnt/util/ImportData.py
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2016-03-29 11:07:43 +0000
committerJames Molloy <james.molloy@arm.com>2016-03-29 11:07:43 +0000
commit8a60383bd8c6bcb61cdfe9e194a69c385f437684 (patch)
tree97c6c0903ec437b2dab414fba8abb1db652c0984 /lnt/util/ImportData.py
parent7b3994c56e3e3886c6fea047a15fdcbe8b696403 (diff)
Return the new run ID in the submitRun result
It's kind of important and was somehow missing. git-svn-id: https://llvm.org/svn/llvm-project/lnt/trunk@264718 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lnt/util/ImportData.py')
-rw-r--r--lnt/util/ImportData.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lnt/util/ImportData.py b/lnt/util/ImportData.py
index e1c9518..1c17636 100644
--- a/lnt/util/ImportData.py
+++ b/lnt/util/ImportData.py
@@ -109,6 +109,7 @@ def import_and_report(config, db_name, db, file, format, commit=False,
result['added_samples'] = db.getNumSamples() - numSamples
result['committed'] = commit
+ result['run_id'] = run.id
ts_name = data['Run']['Info'].get('tag')
if commit:
db.commit()