author Nick Alexander <>
Tue, 18 Dec 2018 23:01:16 +0000
changeset 511200 c15860d7d189eedc89ff61ca4e0bd145e71c151b
parent 505139 40399d94b5dad6b35379e5e6099b2f8bb2819026
permissions -rw-r--r--
Bug 1509573 - Part 3: Use |make -C ... stage-package| rather than special Make target. r=snorp This splits the two stage-package invocations (which are rather slow) between Fennec and GeckoView, hopefully speeding local GV development up a little (in the IDE). The stage-package invocations depend on |mach build faster|, because the omnijar contents might need to be updated. In addition, we feed the packaged libs (and asset libs) through. Differential Revision:

# vim: set ts=8 sts=4 et sw=4 tw=99:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

# ----------------------------------------------------------------------------
# This script checks bytecode documentation in js/src/vm/Opcodes.h
# ----------------------------------------------------------------------------

from __future__ import print_function

import os
import sys

scriptname = os.path.basename(__file__)
topsrcdir = os.path.dirname(os.path.dirname(__file__))

def log_pass(text):
    print('TEST-PASS | {} | {}'.format(scriptname, text))

def log_fail(text):
    print('TEST-UNEXPECTED-FAIL | {} | {}'.format(scriptname, text))

def check_opcode():
    sys.path.insert(0, os.path.join(topsrcdir, 'js', 'src', 'vm'))
    import jsopcode

    except Exception as e:
        return False

    return True

def main():
    if not check_opcode():


if __name__ == '__main__':