mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
2ee15dbd8d
Hopefully this makes it more obvious how all of this is hooked together. MozReview-Commit-ID: 1jeyIZgHYht --HG-- extra : rebase_source : 961474b1c19eacdcfe5ed2d90ba0d1b16a5a29c3
35 lines
825 B
Python
35 lines
825 B
Python
#!/usr/bin/python
|
|
# 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 http://mozilla.org/MPL/2.0/.
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
import logging
|
|
import mozunit
|
|
import os
|
|
import subprocess
|
|
import unittest
|
|
|
|
from buildconfig import substs
|
|
|
|
log = logging.getLogger(__name__)
|
|
|
|
|
|
class TestCompareMozconfigs(unittest.TestCase):
|
|
def test_compare_mozconfigs(self):
|
|
topsrcdir = substs['top_srcdir']
|
|
|
|
ret = subprocess.call([
|
|
substs['PYTHON'],
|
|
os.path.join(topsrcdir, 'build', 'compare-mozconfig',
|
|
'compare-mozconfigs.py'),
|
|
topsrcdir
|
|
])
|
|
|
|
self.assertEqual(0, ret)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
mozunit.main()
|