def run(self): from skema.suiteutils import suiteloader if len(self.args) != 1: print "please specify the name of the suite to install" sys.exit(1) suite = suiteloader(self.args[0]) try: suite.install() except RuntimeError as strerror: print "Suite installation error: %s" % strerror sys.exit(1)
def run(self): from skema.suiteutils import suiteloader if len(self.args) != 1: print "please specify the name of the suite to run" sys.exit(1) suite = suiteloader(self.args[0]) try: return suite.run(quiet=self.opts.quiet, output=self.opts.output) except Exception as strerror: print "Suite execution error: %s" % strerror config = get_config() config.base_profile_mgr.stop() sys.exit(1)
def run(self): from skema.suiteutils import suiteloader if len(self.args) != 1: print "please specify the name of the suite to run" sys.exit(1) suite = suiteloader(self.args[0]) try: return suite.run(quiet=self.opts.quiet, output=self.opts.output) except Exception as strerror: print "Suite execution error: %s" % strerror print (format_exc()) config = get_config() config.base_profile_mgr.stop() sys.exit(1)