示例#1
0
 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'))
示例#2
0
 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'))
示例#3
0
 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"))
示例#4
0
    def lint_test(self, options=[], env={}):
        sandbox = LintSandbox(env, ['configure'] + options)

        sandbox.run(mozpath.join(test_data_path, 'moz.configure'))
示例#5
0
    def lint_test(self, options=[], env={}):
        sandbox = LintSandbox(env, ['configure'] + options)

        sandbox.run(mozpath.join(test_data_path, 'moz.configure'))