| 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)
|
|
|