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

Side by Side Diff: tools/release/test_scripts.py

Issue 1003383003: Make release scripts even more robust. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « tools/release/releases.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 1388 matching lines...) Expand 10 before | Expand all | Expand 10 after
1399 Cmd("git log -1 --format=%H hash_456^", "master_456"), 1399 Cmd("git log -1 --format=%H hash_456^", "master_456"),
1400 Cmd("git log -1 --format=%B master_456", 1400 Cmd("git log -1 --format=%B master_456",
1401 "Cr-Commit-Position: refs/heads/master@{#456}"), 1401 "Cr-Commit-Position: refs/heads/master@{#456}"),
1402 Cmd("git log -1 --format=%B hash_456", c_hash_456_commit_log), 1402 Cmd("git log -1 --format=%B hash_456", c_hash_456_commit_log),
1403 Cmd("git log -1 --format=%ci hash_456", "02:15"), 1403 Cmd("git log -1 --format=%ci hash_456", "02:15"),
1404 Cmd("git checkout -f HEAD -- %s" % VERSION_FILE, "", 1404 Cmd("git checkout -f HEAD -- %s" % VERSION_FILE, "",
1405 cb=ResetVersion(3, 22, 5)), 1405 cb=ResetVersion(3, 22, 5)),
1406 Cmd("git status -s -uno", "", cwd=chrome_dir), 1406 Cmd("git status -s -uno", "", cwd=chrome_dir),
1407 Cmd("git checkout -f master", "", cwd=chrome_dir), 1407 Cmd("git checkout -f master", "", cwd=chrome_dir),
1408 Cmd("git pull", "", cwd=chrome_dir), 1408 Cmd("git pull", "", cwd=chrome_dir),
1409 Cmd("git branch", " branch1\n* %s" % TEST_CONFIG["BRANCHNAME"],
1410 cwd=chrome_dir),
1411 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], "",
1412 cwd=chrome_dir),
1409 Cmd("git new-branch %s" % TEST_CONFIG["BRANCHNAME"], "", 1413 Cmd("git new-branch %s" % TEST_CONFIG["BRANCHNAME"], "",
1410 cwd=chrome_dir), 1414 cwd=chrome_dir),
1411 Cmd("git fetch origin", "", cwd=chrome_v8_dir), 1415 Cmd("git fetch origin", "", cwd=chrome_v8_dir),
1412 Cmd("git log --format=%H --grep=\"V8\"", 1416 Cmd("git log --format=%H --grep=\"V8\"",
1413 "c_hash0\nc_hash1\nc_hash2\nc_hash3\n", 1417 "c_hash0\nc_hash1\nc_hash2\nc_hash3\n",
1414 cwd=chrome_dir), 1418 cwd=chrome_dir),
1415 Cmd("git diff --name-only c_hash0 c_hash0^", "", cwd=chrome_dir), 1419 Cmd("git diff --name-only c_hash0 c_hash0^", "", cwd=chrome_dir),
1416 Cmd("git diff --name-only c_hash1 c_hash1^", "DEPS", cwd=chrome_dir), 1420 Cmd("git diff --name-only c_hash1 c_hash1^", "DEPS", cwd=chrome_dir),
1417 Cmd("git checkout -f c_hash1 -- DEPS", "", 1421 Cmd("git checkout -f c_hash1 -- DEPS", "",
1418 cb=ResetDEPS("hash_456"), 1422 cb=ResetDEPS("hash_456"),
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1536 1540
1537 Review URL: https://codereview.chromium.org/83173002 1541 Review URL: https://codereview.chromium.org/83173002
1538 1542
1539 ------------------------------------------------------------------------""") 1543 ------------------------------------------------------------------------""")
1540 self.assertEquals( 1544 self.assertEquals(
1541 """Prepare push to trunk. Now working on version 3.23.11. 1545 """Prepare push to trunk. Now working on version 3.23.11.
1542 1546
1543 R=danno@chromium.org 1547 R=danno@chromium.org
1544 1548
1545 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) 1549 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body)
OLDNEW
« no previous file with comments | « tools/release/releases.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698