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

Side by Side Diff: tool/transformer_test.sh

Issue 1788973002: Remove code that requires whole-program compile (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tool/presubmit.sh ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2 set -eu
3 cd $( dirname "${BASH_SOURCE[0]}" )/..
4
5 export CHROME_CANARY_BIN=`./tool/get_chrome_canary.sh`
6
7 # TODO(vsm): Re-enable when this is addressed:
8 # https://github.com/dart-lang/dev_compiler/issues/467
9 # echo "*** Testing pub serve + DDC transformer"
10 # pub run test --timeout 120s test/transformer_e2e_test.dart
11 # echo "*** Pub serve e2e test finished"
12
13 echo "*** Testing pub build + DDC transformer"
14 cd test/transformer/hello_app
15 rm -f pubspec.lock
16 pub get
17 pub build
18 echo "*** Pub build finished"
19
20 expected_files=(
21 build/web/hello_app/web/index.html
22 build/web/hello_app/web/main.js
23 build/web/hello_dep/simple.js
24 build/web/hello_dep/utils.js
25 # This is not an exhaustive check:
26 build/web/dev_compiler/runtime/dart/_runtime.js
27 )
28
29 for file in "${expected_files[@]}" ; do
30 if [[ ! -f $file ]]; then
31 echo "Didn't find $file in build:"
32 find build | grep -v /packages/
33 exit 1
34 fi
35 done
OLDNEW
« no previous file with comments | « tool/presubmit.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698