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

Unified Diff: scripts/slave/unittests/runisolatedtest_test.py

Issue 218473003: Remove .isolated file rewriting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 6 years, 9 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/slave/runisolatedtest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/unittests/runisolatedtest_test.py
diff --git a/scripts/slave/unittests/runisolatedtest_test.py b/scripts/slave/unittests/runisolatedtest_test.py
index f12cb654aa5f7c36144aa527121a55466c3203da..db67906e47160e654445b0da8ea5780e171f3880 100755
--- a/scripts/slave/unittests/runisolatedtest_test.py
+++ b/scripts/slave/unittests/runisolatedtest_test.py
@@ -87,15 +87,17 @@ class TestAll(unittest.TestCase):
res = runisolatedtest.main(sample_line)
expected_data = {
- 'version': '1.0',
- 'command': [ '../testing/test_env.py',
- r'..\out\Release/browser_test.exe'],
- 'files': { r'out\Release\testdata': {} },
- 'variables' : {
- 'EXECUTABLE_SUFFIX' : '.exe',
- 'OS' : 'win',
- 'PRODUCT_DIR' : '../out/Release'
+ u'command': [
+ u'../testing/test_env.py',
+ u'..\\build\\Release/browser_test.exe',
+ ],
+ u'files': { u'build\\Release\\testdata': {} },
+ u'variables' : {
+ u'EXECUTABLE_SUFFIX' : u'.exe',
+ u'OS' : u'win',
+ u'PRODUCT_DIR' : u'../build/Release'
},
+ u'version': u'1.0',
}
with open(isolated) as f:
converted_data = json.load(f)
@@ -107,4 +109,6 @@ class TestAll(unittest.TestCase):
if __name__ == '__main__':
+ if '-v' in sys.argv:
+ unittest.TestCase.maxDiff = None
unittest.main()
« no previous file with comments | « scripts/slave/runisolatedtest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698