Merge "Support to run mandatory or optional test cases separately"
authorLeo wang <grakiss.wanglei@huawei.com>
Fri, 29 Sep 2017 03:34:16 +0000 (03:34 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Fri, 29 Sep 2017 03:34:16 +0000 (03:34 +0000)
1  2 
dovetail/report.py
dovetail/run.py

Simple merge
diff --cc dovetail/run.py
@@@ -298,11 -282,10 +291,11 @@@ def main(*args, **kwargs)
          duration = run_test(testsuite_yaml, testarea, logger)
          if dt_cfg.dovetail_config['report_dest'] == "file":
              Report.generate(testsuite_yaml, testarea, duration)
 -        Report.save_logs()
 +        if dt_cfg.dovetail_config['report_dest'].startswith("http"):
 +            Report.save_logs()
      else:
          logger.error('Invalid input commands, testsuite {} testarea {}'
-                      .format(kwargs['testsuite'], testarea))
+                      .format(kwargs['testsuite'], origin_testarea))
  
  
  dt_cfg.load_config_files()