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

Side by Side Diff: testing_support/trial_dir.py

Issue 8508015: Create a new depot_tools_testing_lib to move utility modules there (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Renamed to testing_support Created 9 years, 1 month 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
« no previous file with comments | « testing_support/super_mox.py ('k') | tests/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 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 6
7 import atexit 7 import atexit
8 import logging 8 import logging
9 import os 9 import os
10 import sys 10 import sys
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 def tearDown(self): 88 def tearDown(self):
89 TrialDirMixIn.tearDown(self) 89 TrialDirMixIn.tearDown(self)
90 unittest.TestCase.tearDown(self) 90 unittest.TestCase.tearDown(self)
91 91
92 92
93 if '-l' in sys.argv: 93 if '-l' in sys.argv:
94 # See SHOULD_LEAK definition in TrialDir for its purpose. 94 # See SHOULD_LEAK definition in TrialDir for its purpose.
95 TrialDir.SHOULD_LEAK = True 95 TrialDir.SHOULD_LEAK = True
96 print 'Leaking!' 96 print 'Leaking!'
97 sys.argv.remove('-l') 97 sys.argv.remove('-l')
OLDNEW
« no previous file with comments | « testing_support/super_mox.py ('k') | tests/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698