From 9996bdbe6eef4d59c2910ce9796aefa1dd4775ba Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 20 Feb 2013 15:27:02 -0800 Subject: [PATCH] run: print pass/FAIL as final line Makes it easy to tell at a glance if your last test passed or not. Signed-off-by: Sage Weil --- teuthology/run.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/teuthology/run.py b/teuthology/run.py index d9f3ea278f541..ef9947f499268 100644 --- a/teuthology/run.py +++ b/teuthology/run.py @@ -184,10 +184,14 @@ def main(): with file(os.path.join(ctx.archive, 'summary.yaml'), 'w') as f: yaml.safe_dump(ctx.summary, f, default_flow_style=False) - if not ctx.summary.get('success', True): + if ctx.summary.get('success', True): + log.info('pass') + else: + log.info('FAIL') import sys sys.exit(1) + def schedule(): parser = argparse.ArgumentParser(description='Schedule ceph integration tests') parser.add_argument( -- 2.39.5