From e2ce11c54f2f64df472c64bcf03c9f858e79b835 Mon Sep 17 00:00:00 2001 From: Luc Provoost Date: Mon, 16 Nov 2020 13:43:14 +0100 Subject: Support for xtesting Some files were added to for rapid testing in the xtesting framework Change-Id: Id912789c5007ca8390a67fb5b359296089aa9618 Signed-off-by: Luc Provoost --- VNFs/DPPD-PROX/helper-scripts/rapid/runrapid.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/runrapid.py') diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/runrapid.py b/VNFs/DPPD-PROX/helper-scripts/rapid/runrapid.py index f5b85a3e..44f33c06 100755 --- a/VNFs/DPPD-PROX/helper-scripts/rapid/runrapid.py +++ b/VNFs/DPPD-PROX/helper-scripts/rapid/runrapid.py @@ -127,10 +127,10 @@ class RapidTestManager(object): else: RapidLog.debug('Test name ({}) is not valid:'.format( test_param['test'])) - single_test_result = test.run() + single_test_result, result_details = test.run() if not single_test_result: result = False - return (result) + return (result, result_details) def main(): """Main function. @@ -144,7 +144,7 @@ def main(): RapidLog.log_init(log_file, test_params['loglevel'], test_params['screenloglevel'] , test_params['version'] ) test_manager = RapidTestManager() - test_result = test_manager.run_tests(test_params) + test_result, _ = test_manager.run_tests(test_params) RapidLog.info('Test result is : {}'.format(test_result)) if __name__ == "__main__": -- cgit 1.2.3-korg