Exemplo n.º 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'))
Exemplo n.º 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'))
Exemplo n.º 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"))
Exemplo n.º 4
0
    def lint_test(self, options=[], env={}):
        sandbox = LintSandbox(env, ['configure'] + options)

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

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