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

Issue 1507943002: Add ./tools/test.py -c precompiler -r dart_precompiled. (Closed)

Created:
5 years ago by rmacnak
Modified:
5 years ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add ./tools/test.py -c precompiler -r dart_precompiled. - Make --gen/run-precompiled-snapshot take a directory to use for the snapshot pieces. - Throw on Platform.executeable to prevent tests from becoming fork-bombs. - Update status files so 'dart_precompiled' is generally expected to behave the same as 'vm'. Currently multitests will fail unless run with --jobs=1 because the test harness assigns them the same temporary directory. Running this also requires a great deal of space. My out directory is 380G. BUG=http://dartbug.com/24975 R=fschneider@google.com, srdjan@google.com Committed: https://github.com/dart-lang/sdk/commit/6b964b83ac45d557ac721dadb7db1d3c47689c00

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+482 lines, -123 lines) Patch
M runtime/bin/main.cc View 1 2 3 4 6 chunks +72 lines, -27 lines 0 comments Download
M runtime/bin/platform.cc View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M runtime/include/dart_api.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/observatory/tests/service/service.status View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/tests/vm/vm.status View 1 2 3 2 chunks +9 lines, -3 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/precompiler.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M samples/samples.status View 1 1 chunk +2 lines, -0 lines 0 comments Download
M tests/benchmark_smoke/benchmark_smoke.status View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/co19/co19-runtime.status View 1 7 chunks +18 lines, -15 lines 0 comments Download
M tests/corelib/corelib.status View 1 2 3 7 chunks +14 lines, -14 lines 0 comments Download
M tests/html/html.status View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tests/isolate/isolate.status View 1 2 3 5 chunks +27 lines, -11 lines 0 comments Download
M tests/language/language.status View 1 2 3 5 chunks +23 lines, -17 lines 0 comments Download
M tests/lib/lib.status View 1 2 3 4 6 chunks +12 lines, -12 lines 0 comments Download
M tests/standalone/standalone.status View 1 4 chunks +53 lines, -10 lines 0 comments Download
M tests/utils/utils.status View 1 2 chunks +3 lines, -3 lines 0 comments Download
A tools/precompilation/precompiler.dart View 1 1 chunk +64 lines, -0 lines 0 comments Download
M tools/testing/dart/compiler_configuration.dart View 1 2 3 3 chunks +95 lines, -0 lines 0 comments Download
M tools/testing/dart/runtime_configuration.dart View 1 2 chunks +29 lines, -0 lines 0 comments Download
M tools/testing/dart/test_options.dart View 1 2 3 4 chunks +9 lines, -2 lines 0 comments Download
M tools/testing/dart/test_runner.dart View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 2 3 3 chunks +19 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
rmacnak
5 years ago (2015-12-17 01:31:24 UTC) #6
Florian Schneider
Lgtm. Thanks for doing this! Would it be possible use less temporary space so I ...
5 years ago (2015-12-17 12:53:25 UTC) #7
rmacnak
Re space, if I can find how to delete the output directory after a test ...
5 years ago (2015-12-17 19:20:51 UTC) #8
srdjan
lgtm https://codereview.chromium.org/1507943002/diff/60001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://codereview.chromium.org/1507943002/diff/60001/runtime/bin/main.cc#newcode324 runtime/bin/main.cc:324: } Maybe shorter: if ((arg[0] == '=') || ...
5 years ago (2015-12-17 20:39:17 UTC) #9
rmacnak
https://codereview.chromium.org/1507943002/diff/60001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://codereview.chromium.org/1507943002/diff/60001/runtime/bin/main.cc#newcode324 runtime/bin/main.cc:324: } On 2015/12/17 20:39:17, srdjan wrote: > Maybe shorter: ...
5 years ago (2015-12-18 20:05:54 UTC) #10
rmacnak
5 years ago (2015-12-18 20:08:14 UTC) #12
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
6b964b83ac45d557ac721dadb7db1d3c47689c00 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698