Closed Bug 484363 Opened 15 years ago Closed 15 years ago

pymake should support -k (--keep-going)

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Swatinem, Assigned: Swatinem)

Details

Attachments

(1 file)

From gnu makes manpage:
       -k, --keep-going
            Continue  as  much  as  possible after an error.  While the target
            that failed, and those that depend on it, cannot  be  remade,  the
            other dependencies of these targets can be processed all the same.

pymake currently fails when passing -k:

make.py: error: no such option: -k

It should either start to support this flag or just ignore it instead of failing.
I have a clone of pymake here: http://hg.swatinem.de/pymake/
currently adds support for #T grep-for: "text" and adds a test for -k behavior.
I'm still trying to understand how pymake actually works and I may make -k work sometime.
This patch includes changes to runtests to support #T grep-for: syntax, a test for keep-going behavior and the implementation for --keep-going.

I wonder if there is any easier way to pass that flag on as to create a new Makefile member variable.

Comments much appreciated.
Assignee: nobody → arpad.borsos
Status: NEW → ASSIGNED
Attachment #368669 - Flags: review?(benjamin)
http://hg.mozilla.org/users/bsmedberg_mozilla.com/pymake/rev/50d8e87e8af3

Intermediate changes totally hosed your patch, plus there were details being missed in the parallel case. I think both of those have been resolved in my rework.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Attachment #368669 - Flags: review?(benjamin)
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: