Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: third_party/recipe_engine/unittests/show_me_the_modules_test.py

Issue 1241323004: Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Moved show_me_the_modules into recipe_engine Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import os 6 import os
7 import subprocess 7 import subprocess
8 import unittest 8 import unittest
9 9
10 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 10 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
11 11
12 class ShowMeTheModulesTest(unittest.TestCase): 12 class ShowMeTheModulesTest(unittest.TestCase):
13 def testShowMeTheModules(self): 13 def testShowMeTheModules(self):
14 scriptPath = os.path.join(BASE_DIR, 'show_me_the_modules.py') 14 scriptPath = os.path.join(BASE_DIR, 'recipes.py')
15 exitcode = subprocess.call(['python', scriptPath]) 15 exitcode = subprocess.call(['python', scriptPath, 'show_me_the_modules'])
16 self.assertEqual(0, exitcode) 16 self.assertEqual(0, exitcode)
17 17
18 if __name__ == '__main__': 18 if __name__ == '__main__':
19 unittest.TestCase.maxDiff = None 19 unittest.TestCase.maxDiff = None
20 unittest.main() 20 unittest.main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698