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

Side by Side Diff: tool/browser_test.sh

Issue 1673863002: Infra for running lib tests (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Reformat 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 | « test/codegen_test.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 2
3 # Check that node exists and refers to nodejs 3 # Check that node exists and refers to nodejs
4 checknodejs=$(hash node 2> /dev/null && node --help | grep js) 4 checknodejs=$(hash node 2> /dev/null && node --help | grep js)
5 if [[ $? -ne 0 ]]; then 5 if [[ $? -ne 0 ]]; then
6 echo 'NodeJS (node) is not properly installed' 6 echo 'NodeJS (node) is not properly installed'
7 echo 'Note, on Ubuntu / Debian, you may need to also install:' 7 echo 'Note, on Ubuntu / Debian, you may need to also install:'
8 echo '$ sudo apt-get install nodejs-legacy' 8 echo '$ sudo apt-get install nodejs-legacy'
9 exit 1 9 exit 1
10 fi 10 fi
(...skipping 16 matching lines...) Expand all
27 echo 'Chrome Canary is not found' 27 echo 'Chrome Canary is not found'
28 echo 'Please install and/or set CHROME_CANARY_BIN to its path' 28 echo 'Please install and/or set CHROME_CANARY_BIN to its path'
29 exit 1 29 exit 1
30 else 30 else
31 export CHROME_CANARY_BIN=google-chrome-unstable 31 export CHROME_CANARY_BIN=google-chrome-unstable
32 fi 32 fi
33 fi 33 fi
34 fi 34 fi
35 35
36 cat test/codegen/expect/language/*.js > test/codegen/expect/language-all.js 36 cat test/codegen/expect/language/*.js > test/codegen/expect/language-all.js
37 cat test/codegen/expect/lib/typed_data/*.js > test/codegen/expect/lib-typed_data -all.js
37 npm install 38 npm install
38 npm test 39 npm test
OLDNEW
« no previous file with comments | « test/codegen_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698