diff --git a/lib/hgaster/ascommands.py b/lib/hgaster/ascommands.py index 86eebc1830e7b993838befa25ecd8730b1c2db56..f4da15b0426df692de7f137af2de273c8300c03e 100644 --- a/lib/hgaster/ascommands.py +++ b/lib/hgaster/ascommands.py @@ -1036,8 +1036,6 @@ class SubmitAsterXX(SubmitAster): """Initialization""" super(SubmitAsterXX, self).__init__(ui, repo, *args, **opts) self.refbranch = "asterxx" - if self.reponame != "src": - return resudir = tempfile.mkdtemp(prefix='resutest_') self.command_tests = [ @@ -1075,6 +1073,9 @@ class SubmitAsterXX(SubmitAster): @log_as_important def check_testcase_run(self): """running testcases""" + if self.reponame != "src": + return logger.errcode + return AbstractSubmit.check_testcase_run(self) @stop_on_failure