[jhbuild/wip/lantw/add-tinderbox-check-and-buildone-no-poison: 4/4] Add -N (--no-poison) to buildone



commit 82cbe6e57f2395b78767a8d07a784d748cba6b9b
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Sun Oct 27 23:53:38 2019 +0800

    Add -N (--no-poison) to buildone
    
    While jhbuild buildone does not build dependencies, it still check
    dependencies and skip a module when any dependency of it fails to build.
    This option allows users to disable the behavior when multiple modules
    are specified on jhbuild buildone command line.

 jhbuild/commands/base.py | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/jhbuild/commands/base.py b/jhbuild/commands/base.py
index 1a9b14a4..94acb85f 100644
--- a/jhbuild/commands/base.py
+++ b/jhbuild/commands/base.py
@@ -303,6 +303,9 @@ class cmd_buildone(BuildCommand):
             make_option('-x', '--no-xvfb',
                         action='store_true', dest='noxvfb', default=False,
                         help=_('run tests in real X and not in Xvfb')),
+            make_option('-N', '--no-poison',
+                        action='store_true', dest='nopoison', default=False,
+                        help=_("don't poison modules on failure")),
             make_option('-f', '--force',
                         action='store_true', dest='force_policy', default=False,
                         help=_('build even if policy says not to')),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]