diff options
author | Shwetha-H-Panduranga <shwetha@gluster.com> | 2011-12-06 14:25:20 +0530 |
---|---|---|
committer | Shwetha-H-Panduranga <shwetha@gluster.com> | 2011-12-06 14:25:20 +0530 |
commit | 129e39fe6878f28ca203c690fab382b7289b334c (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /atf.py | |
parent | 18445ae1a94366c955cc7626fb8ec749dedcf73e (diff) |
Removing all automation files from the repo
Diffstat (limited to 'atf.py')
-rwxr-xr-x | atf.py | 51 |
1 files changed, 0 insertions, 51 deletions
@@ -1,51 +0,0 @@ -"""atf module is the entry point of the regression suite. - -CommandLine Usage: python atf.py -f testruninfo.cfg -""" -import argparse -import atfinit -import atfexecute - -def main(args): - """ - Description: - *) Initialize TestRun - *) Execute TestUnits - - Parameters: - args: Command Line Arguments passed to 'atf' - - Returns: - Success: 0 - Failure: 1 - """ - if atfinit.initialize(args): - exit(1) - - if atfexecute.execute(): - exit(1) - - else: - exit(0) - -if __name__ == "__main__": - - argparser = argparse.ArgumentParser( - description="Runs GlusterFS Functional/Regression Test Suite", - epilog="Report Bugs to dl-qa@gluster.com") - - argparser.add_argument('-f', '--file', required=True, type=str, - help="TestRunInfo FileName") - - args = argparser.parse_args() - - main(args) - - - - - - - - - |