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

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

Issue 195183003: Don't use a temp file for changelog in push-to-trunk. (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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 TEST_CONFIG = { 46 TEST_CONFIG = {
47 BRANCHNAME: "test-prepare-push", 47 BRANCHNAME: "test-prepare-push",
48 TRUNKBRANCH: "test-trunk-push", 48 TRUNKBRANCH: "test-trunk-push",
49 PERSISTFILE_BASENAME: "/tmp/test-v8-push-to-trunk-tempfile", 49 PERSISTFILE_BASENAME: "/tmp/test-v8-push-to-trunk-tempfile",
50 TEMP_BRANCH: "test-prepare-push-temporary-branch-created-by-script", 50 TEMP_BRANCH: "test-prepare-push-temporary-branch-created-by-script",
51 DOT_GIT_LOCATION: None, 51 DOT_GIT_LOCATION: None,
52 VERSION_FILE: None, 52 VERSION_FILE: None,
53 CHANGELOG_FILE: None, 53 CHANGELOG_FILE: None,
54 CHANGELOG_ENTRY_FILE: "/tmp/test-v8-push-to-trunk-tempfile-changelog-entry", 54 CHANGELOG_ENTRY_FILE: "/tmp/test-v8-push-to-trunk-tempfile-changelog-entry",
55 NEW_CHANGELOG_FILE: "/tmp/test-v8-push-to-trunk-tempfile-new-changelog",
55 PATCH_FILE: "/tmp/test-v8-push-to-trunk-tempfile-patch", 56 PATCH_FILE: "/tmp/test-v8-push-to-trunk-tempfile-patch",
56 COMMITMSG_FILE: "/tmp/test-v8-push-to-trunk-tempfile-commitmsg", 57 COMMITMSG_FILE: "/tmp/test-v8-push-to-trunk-tempfile-commitmsg",
57 CHROMIUM: "/tmp/test-v8-push-to-trunk-tempfile-chromium", 58 CHROMIUM: "/tmp/test-v8-push-to-trunk-tempfile-chromium",
58 DEPS_FILE: "/tmp/test-v8-push-to-trunk-tempfile-chromium/DEPS", 59 DEPS_FILE: "/tmp/test-v8-push-to-trunk-tempfile-chromium/DEPS",
59 SETTINGS_LOCATION: None, 60 SETTINGS_LOCATION: None,
60 ALREADY_MERGING_SENTINEL_FILE: 61 ALREADY_MERGING_SENTINEL_FILE:
61 "/tmp/test-merge-to-branch-tempfile-already-merging", 62 "/tmp/test-merge-to-branch-tempfile-already-merging",
62 COMMIT_HASHES_FILE: "/tmp/test-merge-to-branch-tempfile-PATCH_COMMIT_HASHES", 63 COMMIT_HASHES_FILE: "/tmp/test-merge-to-branch-tempfile-PATCH_COMMIT_HASHES",
63 TEMPORARY_PATCH_FILE: "/tmp/test-merge-to-branch-tempfile-temporary-patch", 64 TEMPORARY_PATCH_FILE: "/tmp/test-merge-to-branch-tempfile-temporary-patch",
64 } 65 }
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 988
988 Review URL: https://codereview.chromium.org/83173002 989 Review URL: https://codereview.chromium.org/83173002
989 990
990 ------------------------------------------------------------------------""") 991 ------------------------------------------------------------------------""")
991 self.assertEquals( 992 self.assertEquals(
992 """Prepare push to trunk. Now working on version 3.23.11. 993 """Prepare push to trunk. Now working on version 3.23.11.
993 994
994 R=danno@chromium.org 995 R=danno@chromium.org
995 996
996 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