Skip to content

Commit

Permalink
Specify the packages file path when running engine dart tests. (flutt…
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde authored Apr 13, 2018
1 parent 0b9cef5 commit 570231b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion runtime/dart_vm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<bool>(platform_kernel_)
<< " Isolate Snapshot is Dart 2: "
<< isolate_snapshot_is_dart_2;
Expand Down
4 changes: 2 additions & 2 deletions testing/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 570231b

Please sign in to comment.