commit | f2883d1b4f8efd152614c1802442e71fc4dec695 | [log] [tgz] |
---|---|---|
author | Alexander Aprelev <aam@google.com> | Tue Jun 05 17:33:29 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Tue Jun 05 17:33:29 2018 +0000 |
tree | 25480c77e25fd67ee1dcf9ec8c45d47b2ad66aac | |
parent | 8bfbce33f13da170362434c6332f7d6487d92e55 [diff] |
Fix test error message expectation on Windows. This fixes buildbot failure: ``` Running "vm" command: set DART_CONFIGURATION=ReleaseX64 & pkg\vm\tool\dart2.bat --sync-async --ignore-unrecognized-flags --packages=C:\b\s\w\ir\.packages C:\b\s\w\ir\out\ReleaseX64\generated_tests\lib_2\mirrors\initializing_formals_test_none.dart FAILED: dartk-vm release_x64 lib_2/mirrors/dynamic_load_test Expected: Pass Actual: RuntimeError --- Command "vm" (took 03.000953s): set DART_CONFIGURATION=ReleaseX64 & pkg\vm\tool\dart2.bat --sync-async --ignore-unrecognized-flags --packages=C:\b\s\w\ir\.packages C:\b\s\w\ir\tests\lib_2\mirrors\dynamic_load_test.dart exit code: 255 stdout: IsolateMirror on 'dynamic_load_test.dart:main()' LibraryMirror on 'dynamic_load_success' InstanceMirror on 1 InstanceMirror on 2 LibraryMirror on 'dynamic_load_success' InstanceMirror on 3 InstanceMirror on 4 tests/lib_2/mirrors/DOES_NOT_EXIST: Error: The system cannot find the file specified. stderr: Unhandled exception: Expect.isTrue(false) fails. #0 Expect._fail (package:expect/expect.dart:605:5) #1 Expect.isTrue (package:expect/expect.dart:133:5) #2 main (file:///C:/b/s/w/ir/tests/lib_2/mirrors/dynamic_load_test.dart:45:10) <asynchronous suspension> #3 _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:279:19) #4 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12) --- Re-run this test: python tools/test.py -m release -c dartk --strong --output-directory C:\b\s\w\iodxgot1 lib_2/mirrors/dynamic_load_test Done dartk-vm release_x64 lib_2/mirrors/dynamic_load_test: fail ``` Change-Id: Ib042899894ab903bc6c21fc3600a5b5b83916f4d Reviewed-on: https://dart-review.googlesource.com/58521 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Alexander Aprelev <aam@google.com>
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.