Changeset 66999 in vbox for trunk/src/VBox/ValidationKit/testmanager/core
- Timestamp:
- May 22, 2017 9:33:20 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/core/schedulerbase.py
r66998 r66999 247 247 # 248 248 iGrpPrio = self.aoTestGroups[0].iSchedPriority; 249 for oTestGroup in self.aoTestGroups:249 for iTestGroup, oTestGroup in enumerate(self.aoTestGroups): 250 250 if oTestGroup.iSchedPriority > iGrpPrio: 251 raise TMExceptionBase('Incorrectly sorted testgroups returned by database.'); 251 raise TMExceptionBase('Incorrectly sorted testgroups returned by database: iTestGroup=%s prio=%s %s' 252 % ( iTestGroup, iGrpPrio, 253 ', '.join(['(%s: %s)' % (oCur.idTestGroup, oCur.iSchedPriority) 254 for oCur in oTestGroup.aoTestCases]), ) ); 252 255 iGrpPrio = oTestGroup.iSchedPriority; 253 256 … … 258 261 raise TMExceptionBase('Incorrectly sorted testcases returned by database: i=%s prio=%s idGrp=%s %s' 259 262 % ( iTestCase, iTstPrio, oTestGroup.idTestGroup, 260 ', '.join(['(%s: %s)' % (oCur.idTestCase, oCur.iSchedPriority)263 ', '.join(['(%s: %s)' % (oCur.idTestCase, oCur.iSchedPriority) 261 264 for oCur in oTestGroup.aoTestCases]),)); 262 265
Note:
See TracChangeset
for help on using the changeset viewer.