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

Side by Side Diff: tool/node_test.sh

Issue 1643523008: fix #43, remove => workaround (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 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/build_sdk.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
1 #!/bin/bash 1 #!/bin/bash
2 set -e 2 set -e
3 # switch to the root directory of dev_compiler 3 # switch to the root directory of dev_compiler
4 cd $( dirname "${BASH_SOURCE[0]}" )/.. 4 cd $( dirname "${BASH_SOURCE[0]}" )/..
5 5
6 output_dir=tmp/node 6 output_dir=`mktemp -d /tmp/ddc_node_test.XXXXXX`
7 [[ -d $output_dir ]] || mkdir -p $output_dir
8 7
9 ddc_options=( 8 ddc_options=(
10 --destructure-named-params 9 --destructure-named-params
11 --modules=node 10 --modules=node
12 -o $output_dir 11 -o $output_dir
13 ) 12 )
14 node_harmony_options=( 13 node_harmony_options=(
15 --harmony 14 --harmony
16 --harmony_destructuring 15 --harmony_destructuring
17 --harmony_default_parameters 16 --harmony_default_parameters
(...skipping 12 matching lines...) Expand all
30 echo "Compiling SDK for node to $output_dir" 29 echo "Compiling SDK for node to $output_dir"
31 ./tool/build_sdk.sh "${ddc_options[@]}" 30 ./tool/build_sdk.sh "${ddc_options[@]}"
32 31
33 echo "Now compiling hello_dart_test" 32 echo "Now compiling hello_dart_test"
34 compile test/codegen/language/hello_dart_test.dart 33 compile test/codegen/language/hello_dart_test.dart
35 run hello_dart_test 34 run hello_dart_test
36 35
37 echo "Now compiling DeltaBlue" 36 echo "Now compiling DeltaBlue"
38 compile test/codegen/DeltaBlue.dart 37 compile test/codegen/DeltaBlue.dart
39 run DeltaBlue 38 run DeltaBlue
OLDNEW
« no previous file with comments | « tool/build_sdk.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698