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

Side by Side Diff: tools/push-to-trunk/test_scripts.py

Issue 196883003: Suppress error handling for test coverage in push and merge scripts. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/push-to-trunk/push_to_trunk.py ('k') | no next file » | 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 2013 the V8 project authors. All rights reserved. 2 # Copyright 2013 the V8 project authors. All rights reserved.
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following 10 # copyright notice, this list of conditions and the following
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 ["status -s -b -uno", "## some_branch\n"], 795 ["status -s -b -uno", "## some_branch\n"],
796 ["svn fetch", ""], 796 ["svn fetch", ""],
797 ["svn log -1 --oneline", "r100 | Text"], 797 ["svn log -1 --oneline", "r100 | Text"],
798 [("log -1 --format=%H --grep=\"" 798 [("log -1 --format=%H --grep=\""
799 "^Version [[:digit:]]*\.[[:digit:]]*\.[[:digit:]]* (based\"" 799 "^Version [[:digit:]]*\.[[:digit:]]*\.[[:digit:]]* (based\""
800 " svn/trunk"), "push_hash\n"], 800 " svn/trunk"), "push_hash\n"],
801 ["svn find-rev push_hash", "65"], 801 ["svn find-rev push_hash", "65"],
802 ]) 802 ])
803 803
804 auto_roll.AutoRoll(TEST_CONFIG, self).Run( 804 auto_roll.AutoRoll(TEST_CONFIG, self).Run(
805 AUTO_ROLL_ARGS + ["--status-password", password]) 805 AUTO_ROLL_ARGS + ["--status-password", password, "--push"])
806 806
807 state = json.loads(FileToText("%s-state.json" 807 state = json.loads(FileToText("%s-state.json"
808 % TEST_CONFIG[PERSISTFILE_BASENAME])) 808 % TEST_CONFIG[PERSISTFILE_BASENAME]))
809 809
810 self.assertEquals("100", state["lkgr"]) 810 self.assertEquals("100", state["lkgr"])
811 self.assertEquals("100", state["latest"]) 811 self.assertEquals("100", state["latest"])
812 812
813 def testAutoRollStoppedBySettings(self): 813 def testAutoRollStoppedBySettings(self):
814 TEST_CONFIG[DOT_GIT_LOCATION] = self.MakeEmptyTempFile() 814 TEST_CONFIG[DOT_GIT_LOCATION] = self.MakeEmptyTempFile()
815 TEST_CONFIG[SETTINGS_LOCATION] = self.MakeEmptyTempFile() 815 TEST_CONFIG[SETTINGS_LOCATION] = self.MakeEmptyTempFile()
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 988
989 Review URL: https://codereview.chromium.org/83173002 989 Review URL: https://codereview.chromium.org/83173002
990 990
991 ------------------------------------------------------------------------""") 991 ------------------------------------------------------------------------""")
992 self.assertEquals( 992 self.assertEquals(
993 """Prepare push to trunk. Now working on version 3.23.11. 993 """Prepare push to trunk. Now working on version 3.23.11.
994 994
995 R=danno@chromium.org 995 R=danno@chromium.org
996 996
997 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) 997 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body)
OLDNEW
« no previous file with comments | « tools/push-to-trunk/push_to_trunk.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698