From 2d0c7b7b64c17f25c94189efce66842f15743e0d Mon Sep 17 00:00:00 2001 From: spisarski Date: Thu, 13 Apr 2017 10:11:48 -0600 Subject: Run all test suites when none chosen. Changed the test_runner.py to run all four suites of tests when none have been chosen. JIRA: SNAPS-10 Change-Id: I9f8f543f9aca07d01911bd8812478bf470673575 Signed-off-by: spisarski --- snaps/test_runner.py | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/snaps/test_runner.py b/snaps/test_runner.py index 00b1b25..143882b 100644 --- a/snaps/test_runner.py +++ b/snaps/test_runner.py @@ -94,11 +94,18 @@ def main(arguments): suite = None if arguments.env and arguments.ext_net: + unit = arguments.include_unit != ARG_NOT_SET + connection = arguments.include_connection != ARG_NOT_SET + api = arguments.include_api != ARG_NOT_SET + integration = arguments.include_integration != ARG_NOT_SET + if not unit and not connection and not api and not integration: + unit = True + connection = True + api = True + integration = True + suite = __create_test_suite(arguments.env, arguments.ext_net, arguments.proxy, arguments.ssh_proxy_cmd, - arguments.include_unit != ARG_NOT_SET, - arguments.include_connection != ARG_NOT_SET, - arguments.include_api != ARG_NOT_SET, - arguments.include_integration != ARG_NOT_SET, + unit, connection, api, integration, flavor_metadata, arguments.use_keystone != ARG_NOT_SET, arguments.floating_ips != ARG_NOT_SET, log_level) -- cgit 1.2.3-korg