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

Unified Diff: tools/cygprofile/run_tests

Issue 281093002: Make cygprofile order functions by process and thread ID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/cygprofile/run_tests
diff --git a/tools/memory_inspector/run_tests b/tools/cygprofile/run_tests
similarity index 85%
copy from tools/memory_inspector/run_tests
copy to tools/cygprofile/run_tests
index c19068381e1105d4e91a10955c640884965adca4..70eb64981ab719b8de055211f1ce340fbad597cf 100755
--- a/tools/memory_inspector/run_tests
+++ b/tools/cygprofile/run_tests
@@ -4,7 +4,7 @@
# found in the LICENSE file.
import logging
-import memory_inspector
+import os
import sys
import unittest
@@ -16,10 +16,10 @@ if __name__ == '__main__':
suite = unittest.TestSuite()
loader = unittest.TestLoader()
- suite.addTests(loader.discover(start_dir=memory_inspector.ROOT_DIR,
+ suite.addTests(loader.discover(start_dir=os.path.dirname(__file__),
pattern='*_unittest.py'))
res = unittest.TextTestRunner(verbosity=2).run(suite)
if res.wasSuccessful():
sys.exit(0)
else:
- sys.exit(1)
+ sys.exit(1)
« tools/cygprofile/mergetraces.py ('K') | « tools/cygprofile/mergetraces_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698