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

Side by Side Diff: tool/transformer_test.sh

Issue 1762283003: Various cleanup (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: 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
« lib/src/compiler.dart ('K') | « tool/patch_sdk.dart ('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
1 #!/bin/bash 1 #!/bin/bash
2 set -eu 2 set -eu
3 cd $( dirname "${BASH_SOURCE[0]}" )/.. 3 cd $( dirname "${BASH_SOURCE[0]}" )/..
4 4
5 export CHROME_CANARY_BIN=`./tool/get_chrome_canary.sh` 5 export CHROME_CANARY_BIN=`./tool/get_chrome_canary.sh`
6 6
7 # TODO(vsm): Re-enable when this is addressed: 7 # TODO(vsm): Re-enable when this is addressed:
8 # https://github.com/dart-lang/dev_compiler/issues/467 8 # https://github.com/dart-lang/dev_compiler/issues/467
9 # echo "*** Testing pub serve + DDC transformer" 9 # echo "*** Testing pub serve + DDC transformer"
10 # pub run test --timeout 120s test/transformer_e2e_test.dart 10 # pub run test --timeout 120s test/transformer_e2e_test.dart
11 # echo "*** Pub serve e2e test finished" 11 # echo "*** Pub serve e2e test finished"
12 12
13 echo "*** Testing pub build + DDC transformer" 13 echo "*** Testing pub build + DDC transformer"
14 cd test/transformer/hello_app 14 cd test/transformer/hello_app
15 rm -f pubspec.lock
15 pub get 16 pub get
16 pub build 17 pub build
17 echo "*** Pub build finished" 18 echo "*** Pub build finished"
18 19
19 expected_files=( 20 expected_files=(
20 build/web/hello_app/web/index.html 21 build/web/hello_app/web/index.html
21 build/web/hello_app/web/main.js 22 build/web/hello_app/web/main.js
22 build/web/hello_dep/simple.js 23 build/web/hello_dep/simple.js
23 build/web/hello_dep/utils.js 24 build/web/hello_dep/utils.js
24 # This is not an exhaustive check: 25 # This is not an exhaustive check:
25 build/web/dev_compiler/runtime/dart/_runtime.js 26 build/web/dev_compiler/runtime/dart/_runtime.js
26 ) 27 )
27 28
28 for file in "${expected_files[@]}" ; do 29 for file in "${expected_files[@]}" ; do
29 if [[ ! -f $file ]]; then 30 if [[ ! -f $file ]]; then
30 echo "Didn't find $file in build:" 31 echo "Didn't find $file in build:"
31 find build | grep -v /packages/ 32 find build | grep -v /packages/
32 exit 1 33 exit 1
33 fi 34 fi
34 done 35 done
OLDNEW
« lib/src/compiler.dart ('K') | « tool/patch_sdk.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698