diff --git a/pisi/build.py b/pisi/build.py index dee29028..ad9e3c46 100644 --- a/pisi/build.py +++ b/pisi/build.py @@ -198,7 +198,7 @@ class Builder: self.run_setup_action() self.run_build_action() - if ctx.get_option('debug'): + if ctx.get_option('debug') and not ctx.get_option('ignore_check'): self.run_check_action() self.run_install_action() diff --git a/pisi/cli/commands.py b/pisi/cli/commands.py index 2adc33c5..ae05e0c8 100644 --- a/pisi/cli/commands.py +++ b/pisi/cli/commands.py @@ -444,6 +444,8 @@ to be downloaded from a repository containing sources. help=_("Bypass errors from ActionsAPI")) group.add_option("--ignore-safety", action="store_true", default=False, help=_("Bypass safety switch")) + group.add_option("--ignore-check", action="store_true", + default=False, help=_("Bypass testing step")) group.add_option("--create-static", action="store_true", default=False, help=_("Create a static package with ar files")) group.add_option("--no-install", action="store_true",