Config for multiple engines => Send NPS on workloads

This commit is contained in:
AndyGrant committed 2018-06-23 17:02:09 -04:00
1 parent e93b65fd25
commit 4d169220c6
6 files changed
+40 -11

No files matched your search

+2
View File
@@ -55,6 +55,7 @@ def newTest(request):
test = Test() # New Test, saved only after parsing
test.author = request.user.username
test.engine = request.POST['enginename']
# Extract Development Fields
devname = request.POST['devbranch']
@@ -204,6 +205,7 @@ def workloadDictionary(machine, result, test):
'result' : { 'id' : result.id, },
'test' : {
'id' : test.id,
'nps' : FRAMEWORK_DEFAULTS['config']['engines'][test.engine]['nps'],
'book' : FRAMEWORK_DEFAULTS['config']['books'][test.bookname],
'timecontrol' : test.timecontrol,
'dev' : {