def lint(self, project): sandbox = LintSandbox({ 'OLD_CONFIGURE': os.path.join(topsrcdir, 'old-configure'), 'MOZCONFIG': os.path.join(os.path.dirname(test_path), 'data', 'empty_mozconfig'), }, ['configure', '--enable-project=%s' % project, '--help']) sandbox.run(os.path.join(topsrcdir, 'moz.configure'))
def lint(self, project): sandbox = LintSandbox( { 'OLD_CONFIGURE': os.path.join(topsrcdir, 'old-configure'), 'MOZCONFIG': os.path.join(os.path.dirname(test_path), 'data', 'empty_mozconfig'), }, ['--enable-project=%s' % project]) sandbox.run(os.path.join(topsrcdir, 'moz.configure'))
def lint(self, project): sandbox = LintSandbox( { "OLD_CONFIGURE": os.path.join(topsrcdir, "old-configure"), "MOZCONFIG": os.path.join( os.path.dirname(test_path), "data", "empty_mozconfig" ), }, ["configure", "--enable-project=%s" % project, "--help"], ) sandbox.run(os.path.join(topsrcdir, "moz.configure"))
def lint_test(self, options=[], env={}): sandbox = LintSandbox(env, ['configure'] + options) sandbox.run(mozpath.join(test_data_path, 'moz.configure'))