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

Unified Diff: scripts/tools/unittests/show_me_the_modules_test.py

Issue 1347263002: Revert of Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/tools/show_me_the_modules.py ('k') | tests/masters_recipes_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/tools/unittests/show_me_the_modules_test.py
diff --git a/scripts/tools/unittests/show_me_the_modules_test.py b/scripts/tools/unittests/show_me_the_modules_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..c963dae295e17e74d233082ee8067b469ed6e83f
--- /dev/null
+++ b/scripts/tools/unittests/show_me_the_modules_test.py
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import os
+import subprocess
+import unittest
+
+BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+
+class ShowMeTheModulesTest(unittest.TestCase):
+ def testShowMeTheModules(self):
+ scriptPath = os.path.join(BASE_DIR, 'show_me_the_modules.py')
+ exitcode = subprocess.call(['python', scriptPath])
+ self.assertEqual(0, exitcode)
+
+if __name__ == '__main__':
+ unittest.TestCase.maxDiff = None
+ unittest.main()
« no previous file with comments | « scripts/tools/show_me_the_modules.py ('k') | tests/masters_recipes_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698