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

Unified Diff: tools/memory_inspector/run_tests

Issue 559023002: [Android] memory_inspector: bug / UI fixes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mi1_heapdump_sigstop
Patch Set: Created 6 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
Index: tools/memory_inspector/run_tests
diff --git a/tools/memory_inspector/run_tests b/tools/memory_inspector/run_tests
index c19068381e1105d4e91a10955c640884965adca4..522ce80f362df0adda887d50d16c445a8192f132 100755
--- a/tools/memory_inspector/run_tests
+++ b/tools/memory_inspector/run_tests
@@ -16,8 +16,9 @@ if __name__ == '__main__':
suite = unittest.TestSuite()
loader = unittest.TestLoader()
+ pattern = '*%s*_unittest.py' % ('' if len(sys.argv) < 2 else sys.argv[1])
suite.addTests(loader.discover(start_dir=memory_inspector.ROOT_DIR,
- pattern='*_unittest.py'))
+ pattern=pattern))
res = unittest.TextTestRunner(verbosity=2).run(suite)
if res.wasSuccessful():
sys.exit(0)

Powered by Google App Engine
This is Rietveld 408576698