From 0c2d9adf5910bc5ef81612f6b20b19b33367c8bb Mon Sep 17 00:00:00 2001 From: Jason Albert Date: Mon, 24 Jul 2017 10:33:34 -0500 Subject: [PATCH] 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 --- op-test | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/op-test b/op-test index 85a5caf9a..75ec2e99e 100755 --- a/op-test +++ b/op-test @@ -324,6 +324,10 @@ suites = { 'full' : FullSuite(), } +# Loop through the addons and load in suites defined there +for opt in OpTestConfiguration.optAddons: + suites = OpTestConfiguration.optAddons[opt].addSuites(suites) + if OpTestConfiguration.conf.args.list_suites: print '{0:34}{1}'.format('Test Suite', 'Description') print '{0:34}{1}'.format('----------', '-----------')