diff options
author | zhifeng.jiang <jiang.zhifeng@zte.com.cn> | 2016-10-07 13:12:39 +0800 |
---|---|---|
committer | zhifeng.jiang <jiang.zhifeng@zte.com.cn> | 2016-10-13 09:28:16 +0800 |
commit | f7b4e61fcc20c5814d9b7ed5ebefbec1b549cd03 (patch) | |
tree | b912b940397d6d570cb4865d7c54b20b41e173e7 /qtip.py | |
parent | 2dda7f90927934bc5738287b2f8960a4d14bb07e (diff) |
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 <jiang.zhifeng@zte.com.cn>
Diffstat (limited to 'qtip.py')
-rw-r--r-- | qtip.py | 41 |
1 files changed, 19 insertions, 22 deletions
@@ -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() |