asiva
35b31654ed
[VM / Tests] Fix tests to use '-verbosity=warning'
...
Fix tests to use '--verbosity=warning' so they don't produce
extraneous output.
Fixes https://github.com/dart-lang/sdk/issues/44738
TEST=Updating tests
Change-Id: I5a02dca2efabd392ba690a4b13aa0dc4ba25dedb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/181360
Commit-Queue: Siva Annamalai <asiva@google.com >
Reviewed-by: Ben Konyi <bkonyi@google.com >
2021-01-27 19:06:39 +00:00
Alexander Markov
92c6523392
[tests/nnbd] Fix standalone/http_launch_test for simarm
...
The test should mention .dart_tool/package_config.json in the
'OtherResources' comment so it is properly copied by the test tool.
Issue: https://github.com/dart-lang/sdk/issues/43614
Change-Id: I98420e0abb2751f518d69b21ade194d9a715266c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/165406
Reviewed-by: Régis Crelier <regis@google.com >
Commit-Queue: Alexander Markov <alexmarkov@google.com >
2020-10-01 18:49:10 +00:00
Robert Nystrom
35da19ac07
Migrate standalone_2 to null safety.
...
Change-Id: I0e97add738bc79314a210cf137525b7391467fc2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152595
Reviewed-by: Siva Annamalai <asiva@google.com >
Commit-Queue: Bob Nystrom <rnystrom@google.com >
Auto-Submit: Bob Nystrom <rnystrom@google.com >
2020-06-26 19:17:50 +00:00
Siva Annamalai
f1689b6eb0
Migrate first block of tests in standalone to standalone_2
...
R=bkonyi@google.com
Review-Url: https://codereview.chromium.org/2984363004 .
2017-08-01 09:05:01 -07:00
Jacob Richman
2dcd56ef43
Format all tests.
...
There are far too many files here to review everyone carefully.
Spot checking most of the diffs look good as test code is generally written
with less care than application code so lots of ugly formatting get through.
If people notice files where the automated formatting bothers them feel free
to comment indicating file names and I'll move spaces within comments to make
the formatting cleaner and use comments to force block formatting as I have
done for other case where formatting looked bad.
BUG=
R=efortuna@google.com
Review-Url: https://codereview.chromium.org/2771453003 .
2017-04-17 14:53:02 -07:00
Ryan Macnak
0c3773fd71
Allow Platform.executable for JIT app snapshots.
...
Because they run on a VM that can also run from source, they don't have the same fork-bomb problem we have when running with AOT.
Related to #26417
R=asiva@google.com
Review URL: https://codereview.chromium.org/2466363003 .
2016-11-02 16:28:09 -07:00
hausner@google.com
c6101ca4b5
First step towards asynchronous loading of sources. With this change, sources are read asynchronously in dart code (builtin.dart) and when the i/o future completes, a callback in the VM loads and compiles the script or library code.
...
In a next step, the i/o will be moved to the service isolate so that not all isolates have to import dart:io.
Fallout from this change:
1) Loading has become a tad slower. Will have to investigate why.
2) Errors that happen during loading (file not found, compilation error in an imported library) are no longer reported at the offending import clause. This can be fixed later if necessary by passing the import clause source location to the library tag handler.
Review URL: https://codereview.chromium.org//290713004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36575 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-23 17:43:14 +00:00
sgjesse@google.com
c38de04d0c
Change dart:io Platform.script to return a Uri.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//46063010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29651 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 07:29:01 +00:00
whesse@google.com
4f08151090
Revert "Change dart:io Platform.script to return a Uri."
...
This reverts r29619 and r29624. The changes look fine on the buildbot,
but need review before adding to the repository.
BUG=
TBR=sgjesse@google.com
Review URL: https://codereview.chromium.org//52723007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29627 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:17:37 +00:00
whesse@google.com
cb0110350a
Change dart:io Platform.script to return a URI. Change all uses of Platform.script to work with the new value.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//53313007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29619 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 01:08:11 +00:00
lrn@google.com
f0a1c922a2
Reapply "Remove @deprecated features."
...
R=scheglov@google.com , sgjesse@google.com
Review URL: https://codereview.chromium.org//50413005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29535 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 12:09:15 +00:00
sgjesse@google.com
887c8e7596
Move getters from Options to Platform
...
The getters for executable, script and version are now statics on
Platform. I kept them on Options for now, but updated most tests to
use Platform.
R=ajohnsen@google.com , floitsch@google.com , iposva@google.com
BUG=
Review URL: https://codereview.chromium.org//17406010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24401 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 12:56:23 +00:00
johnmccutchan@google.com
3c69367fb7
HTTP loading tests and package root support
...
R=asiva@google.com , iposva@google.com , sgjesse@google.com
Review URL: https://codereview.chromium.org//16092007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23593 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 13:52:47 +00:00