Changeset 61462 in vbox for trunk/src/VBox/ValidationKit/testmanager/core/testset.py
- Timestamp:
- Jun 4, 2016 1:21:11 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/core/testset.py
r61424 r61462 381 381 'WHERE idTestResult = %s\n' 382 382 , (aoRow[0],)); 383 self._oDb.execute('INSERT INTO TestResultMsgs (idTestResult, id StrMsg, enmLevel)\n'384 'VALUES ( %s, %s, \'failure\'::TestResultMsgLevel_T)\n'385 , (aoRow[0], id Str,));383 self._oDb.execute('INSERT INTO TestResultMsgs (idTestResult, idTestSet, idStrMsg, enmLevel)\n' 384 'VALUES ( %s, %s, %s, \'failure\'::TestResultMsgLevel_T)\n' 385 , (aoRow[0], idTestSet, idStr,)); 386 386 387 387 # … … 476 476 477 477 idStr = self.strTabString('The test was abandond by the testbox', fCommit = fCommit); 478 self._oDb.execute('INSERT INTO TestResultMsgs (idTestResult, id StrMsg, enmLevel)\n'479 'VALUES ( %s, %s, \'failure\'::TestResultMsgLevel_T)\n'480 , (oData.idTestResult, id Str,));478 self._oDb.execute('INSERT INTO TestResultMsgs (idTestResult, idTestSet, idStrMsg, enmLevel)\n' 479 'VALUES ( %s, %s, %s, \'failure\'::TestResultMsgLevel_T)\n' 480 , (oData.idTestResult, idTestSet, idStr,)); 481 481 482 482 # … … 519 519 520 520 idStr = self.strTabString('Gang gathering timed out', fCommit = fCommit); 521 self._oDb.execute('INSERT INTO TestResultMsgs (idTestResult, id StrMsg, enmLevel)\n'522 'VALUES ( %s, %s, \'failure\'::TestResultMsgLevel_T)\n'523 , (oData.idTestResult, id Str,));521 self._oDb.execute('INSERT INTO TestResultMsgs (idTestResult, idTestSet, idStrMsg, enmLevel)\n' 522 'VALUES ( %s, %s, %s, \'failure\'::TestResultMsgLevel_T)\n' 523 , (oData.idTestResult, idTestSet, idStr,)); 524 524 525 525 self._oDb.execute('UPDATE TestSets\n' … … 602 602 raise TMExceptionBase('Failed to find unique name for %s.' % (sOrgName,)); 603 603 604 self._oDb.execute('INSERT INTO TestResultFiles(idTestResult, idStrFile, idStrDescription, idStrKind, idStrMime)\n' 605 'VALUES (%s, %s, %s, %s, %s)\n' 604 self._oDb.execute('INSERT INTO TestResultFiles(idTestResult, idTestSet, idStrFile, idStrDescription,\n' 605 ' idStrKind, idStrMime)\n' 606 'VALUES (%s, %s, %s, %s, %s, %s)\n' 606 607 , ( idTestResult, 608 oTestSet.idTestSet, 607 609 self.strTabString(sName), 608 610 self.strTabString(sDesc),
Note:
See TracChangeset
for help on using the changeset viewer.