|
|
Created:
4 years, 3 months ago by jochen (gone - plz use gerrit) Modified:
4 years, 3 months ago Reviewers:
Michael Achenbach CC:
v8-reviews_googlegroups.com Target Ref:
refs/pending/heads/master Project:
v8 Visibility:
Public. |
DescriptionAdd an option --gn to run-tests.py that just runs the latest gn build
R=machenbach@chromium.org
BUG=
Committed: https://crrev.com/c3e1b5f87ccc82f8eefe63e7c220d5c95f496d52
Cr-Commit-Position: refs/heads/master@{#39011}
Patch Set 1 #
Total comments: 4
Patch Set 2 : updates #
Total comments: 1
Messages
Total messages: 19 (10 generated)
The CQ bit was checked by jochen@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2295703002/diff/1/tools/run-tests.py File tools/run-tests.py (right): https://codereview.chromium.org/2295703002/diff/1/tools/run-tests.py#newcode436 tools/run-tests.py:436: latest_timestamp = -1 nit: space too much https://codereview.chromium.org/2295703002/diff/1/tools/run-tests.py#newcode442 tools/run-tests.py:442: if os.path.getmtime(gn_config_dir) > latest_timestamp: The modified time of the directory only changes if you add/remove files. What if all files keep existing and are just modified?
The CQ bit was checked by jochen@chromium.org to run a CQ dry run
https://codereview.chromium.org/2295703002/diff/1/tools/run-tests.py File tools/run-tests.py (right): https://codereview.chromium.org/2295703002/diff/1/tools/run-tests.py#newcode436 tools/run-tests.py:436: latest_timestamp = -1 On 2016/08/30 at 11:32:17, machenbach (slow) wrote: > nit: space too much done https://codereview.chromium.org/2295703002/diff/1/tools/run-tests.py#newcode442 tools/run-tests.py:442: if os.path.getmtime(gn_config_dir) > latest_timestamp: On 2016/08/30 at 11:32:17, machenbach (slow) wrote: > The modified time of the directory only changes if you add/remove files. What if all files keep existing and are just modified? I think compiling will always first remove the target and add it (at least in my local test that seems to work)
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
lgtm https://codereview.chromium.org/2295703002/diff/20001/tools/run-tests.py File tools/run-tests.py (right): https://codereview.chromium.org/2295703002/diff/20001/tools/run-tests.py#newc... tools/run-tests.py:699: print(">>> Running tests for %s.%s" % (arch, mode)) Optional suggestion: Maybe print the last piece of the directory here in case the gn option was used? To avoid silently testing something that's undesired?
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
On 2016/08/30 at 11:51:03, machenbach wrote: > lgtm > > https://codereview.chromium.org/2295703002/diff/20001/tools/run-tests.py > File tools/run-tests.py (right): > > https://codereview.chromium.org/2295703002/diff/20001/tools/run-tests.py#newc... > tools/run-tests.py:699: print(">>> Running tests for %s.%s" % (arch, mode)) > Optional suggestion: Maybe print the last piece of the directory here in case the gn option was used? To avoid silently testing something that's undesired? run-tests already prints that: eisinger@eisinger0-w MINGW64 /c/src/v8 (outdir) $ tools/run-tests.py --gn >>> Running tests for x64.debug [02:02|% 100|+ 25051|- 0]: Done is that good enough?
On 2016/08/30 12:13:15, jochen wrote: > On 2016/08/30 at 11:51:03, machenbach wrote: > > lgtm > > > > https://codereview.chromium.org/2295703002/diff/20001/tools/run-tests.py > > File tools/run-tests.py (right): > > > > > https://codereview.chromium.org/2295703002/diff/20001/tools/run-tests.py#newc... > > tools/run-tests.py:699: print(">>> Running tests for %s.%s" % (arch, mode)) > > Optional suggestion: Maybe print the last piece of the directory here in case > the gn option was used? To avoid silently testing something that's undesired? > > run-tests already prints that: > > eisinger@eisinger0-w MINGW64 /c/src/v8 (outdir) > $ tools/run-tests.py --gn > >>> Running tests for x64.debug > [02:02|% 100|+ 25051|- 0]: Done > > > is that good enough? Hmm, probably. The new folders are more generic and one could have several folders with the same kind of build. Or folders with builds that differ in other parameters than arch.mode. But we can deliver more printing later... Still lgtm
The CQ bit was checked by jochen@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Add an option --gn to run-tests.py that just runs the latest gn build R=machenbach@chromium.org BUG= ========== to ========== Add an option --gn to run-tests.py that just runs the latest gn build R=machenbach@chromium.org BUG= Committed: https://crrev.com/c3e1b5f87ccc82f8eefe63e7c220d5c95f496d52 Cr-Commit-Position: refs/heads/master@{#39011} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/c3e1b5f87ccc82f8eefe63e7c220d5c95f496d52 Cr-Commit-Position: refs/heads/master@{#39011} |