From f7b4e61fcc20c5814d9b7ed5ebefbec1b549cd03 Mon Sep 17 00:00:00 2001 From: "zhifeng.jiang" Date: Fri, 7 Oct 2016 13:12:39 +0800 Subject: Refactor pushing suite result to test db modification: remove compute_suite.py,network_suite.py,storage_suite.py handler all suite result in suite_result.py refactor pushtoDB.py so that it can be called by qtip_server JIRA:QTIP-99 Change-Id: I1630a512c22cba7be038f5301f1454b8ef4f762f Signed-off-by: zhifeng.jiang --- qtip.py | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) (limited to 'qtip.py') diff --git a/qtip.py b/qtip.py index 094483fe..38130955 100644 --- a/qtip.py +++ b/qtip.py @@ -1,22 +1,19 @@ -############################################################################## -# Copyright (c) 2015 Dell Inc and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## -from func.cli import Cli -import os - - -def main(): - os.system('./data/file_permission.sh') - Cli() -# os.system('cd data/ref_results && python compute_suite.py') -# os.system('cd data/ref_results && python storage_suite.py') -# os.system('cd data/ref_results && python network_suite.py') -# os.system('cd data/report && python Qtip_Report.py') - -if __name__ == "__main__": - main() +############################################################################## +# Copyright (c) 2015 Dell Inc and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## +from func.cli import Cli +import os + + +def main(): + os.system('./data/file_permission.sh') + Cli() + + +if __name__ == "__main__": + main() -- cgit 1.2.3-korg