From 570231b7abfb00868853ffa9dffbb54f2486bb29 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Fri, 13 Apr 2018 16:17:38 -0700 Subject: [PATCH] Specify the packages file path when running engine dart tests. (#5005) --- runtime/dart_vm.cc | 2 +- testing/run_tests.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/dart_vm.cc b/runtime/dart_vm.cc index e42f3e0e140..f58563f9aaf 100644 --- a/runtime/dart_vm.cc +++ b/runtime/dart_vm.cc @@ -343,7 +343,7 @@ DartVM::DartVM(const Settings& settings, platform_kernel_ != nullptr || isolate_snapshot_is_dart_2; FXL_DLOG(INFO) << "Dart 2 " << (is_preview_dart2 ? " is" : "is NOT") - << "enabled. Platform kernel: " + << " enabled. Platform kernel: " << static_cast(platform_kernel_) << " Isolate Snapshot is Dart 2: " << isolate_snapshot_is_dart_2; diff --git a/testing/run_tests.sh b/testing/run_tests.sh index e84ce1c5509..73579c97160 100755 --- a/testing/run_tests.sh +++ b/testing/run_tests.sh @@ -16,8 +16,8 @@ popd ! out/host_debug_unopt/flutter_tester --disable-observatory --disable-diagnostic --non-interactive --enable-checked-mode --packages=flutter/testing/dart/.packages flutter/testing/fail_test.dart for TEST_SCRIPT in flutter/testing/dart/*.dart; do - out/host_debug_unopt/flutter_tester --disable-observatory --disable-diagnostic --non-interactive --enable-checked-mode $TEST_SCRIPT - out/host_debug_unopt/flutter_tester --disable-observatory --disable-diagnostic --non-interactive $TEST_SCRIPT + out/host_debug_unopt/flutter_tester --disable-observatory --disable-diagnostic --non-interactive --enable-checked-mode --packages=flutter/testing/dart/.packages $TEST_SCRIPT + out/host_debug_unopt/flutter_tester --disable-observatory --disable-diagnostic --non-interactive --packages=flutter/testing/dart/.packages $TEST_SCRIPT done pushd flutter