Skip to content

Commit 0c2d9ad

Browse files
committed
Support for addons to define additional test suites
- New function, addSuites, that will add dict entries to define additional test suites - Suite definition and testcase import done in addon setup file Signed-off-by: Jason Albert <[email protected]>
1 parent 4fb955d commit 0c2d9ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

op-test

+4
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,10 @@ suites = {
324324
'full' : FullSuite(),
325325
}
326326

327+
# Loop through the addons and load in suites defined there
328+
for opt in OpTestConfiguration.optAddons:
329+
suites = OpTestConfiguration.optAddons[opt].addSuites(suites)
330+
327331
if OpTestConfiguration.conf.args.list_suites:
328332
print '{0:34}{1}'.format('Test Suite', 'Description')
329333
print '{0:34}{1}'.format('----------', '-----------')

0 commit comments

Comments
 (0)