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: pkg/dev_compiler/tool/test.sh

Issue 2371113004: Use .packages instead of pubspec.yaml (Closed)
Patch Set: Mark clang as passing Created 4 years, 2 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 | « pkg/dev_compiler/tool/format.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 # bail on error 2 set -e # bail on error
3 3
4 function fail { 4 function fail {
5 echo -e "Some tests failed" 5 echo -e "Some tests failed"
6 return 1 6 return 1
7 } 7 }
8 8
9 # Some tests require being run from the package root 9 # Some tests require being run from the package root
10 # switch to the root directory of dev_compiler 10 # switch to the root directory of dev_compiler
(...skipping 18 matching lines...) Expand all
29 29
30 ./tool/build_test_pkgs.sh 30 ./tool/build_test_pkgs.sh
31 31
32 # Make sure we don't run tests in code coverage mode. 32 # Make sure we don't run tests in code coverage mode.
33 # this will cause us to generate files that are not part of the baseline 33 # this will cause us to generate files that are not part of the baseline
34 # TODO(jmesserly): we should move diff into Dart code, so we don't need to 34 # TODO(jmesserly): we should move diff into Dart code, so we don't need to
35 # worry about this. Also if we're in code coverage mode, we should avoid running 35 # worry about this. Also if we're in code coverage mode, we should avoid running
36 # all_tests twice. Finally self_host_test is not currently being tracked by 36 # all_tests twice. Finally self_host_test is not currently being tracked by
37 # code coverage. 37 # code coverage.
38 unset COVERALLS_TOKEN 38 unset COVERALLS_TOKEN
39 pub run test:test test/all_tests.dart || fail 39 dart test/all_tests.dart || fail
40 40
41 { 41 {
42 fc=`find test -name "*.dart" |\ 42 fc=`find test -name "*.dart" |\
43 xargs grep "/\*\S* should be \S*\*/" | wc -l` 43 xargs grep "/\*\S* should be \S*\*/" | wc -l`
44 echo "There are" $fc "tests marked as known failures." 44 echo "There are" $fc "tests marked as known failures."
45 } 45 }
46 46
47 echo -e "All tests built - run tool/browser_test.sh to run tests" 47 echo -e "All tests built - run tool/browser_test.sh to run tests"
OLDNEW
« no previous file with comments | « pkg/dev_compiler/tool/format.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698