From 340d33ff0e09aedce556693dd74365997027944b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Sun, 25 Mar 2007 17:25:38 +0000 Subject: [PATCH] =?UTF-8?q?g=C3=B6kmen=20garibi=20sevinsin=20:P?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/build.py | 2 +- pisi/cli/commands.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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",