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

Side by Side Diff: pkg/compiler/tool/status_files/update_all.sh

Issue 2990233003: Filter unreachable libraries in kernel loader (Closed)
Patch Set: include core, format update script Created 3 years, 4 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/compiler/lib/src/library_loader.dart ('k') | tests/corelib_2/corelib_2.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 # Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 # Script to update the dart2js status lines for all tests running with the 6 # Script to update the dart2js status lines for all tests running with the
7 # $dart2js_with_kernel test configuration. 7 # $dart2js_with_kernel test configuration.
8 8
9 repodir=$(cd $(dirname ${BASH_SOURCE[0]})/../../../../; pwd) 9 repodir=$(cd $(dirname ${BASH_SOURCE[0]})/../../../../; pwd)
10 dart="out/ReleaseX64/dart" 10 dart="out/ReleaseX64/dart"
11 update_script=$(dirname ${BASH_SOURCE[0]})/update_from_log.dart 11 update_script=$(dirname ${BASH_SOURCE[0]})/update_from_log.dart
12 sdk="out/ReleaseX64/dart-sdk" 12 sdk="out/ReleaseX64/dart-sdk"
13 13
14 tmp=$(mktemp -d) 14 tmp=$(mktemp -d)
15 15
16 function update_suite { 16 function update_suite {
17 local suite=$1 17 local suite=$1
18 echo "running '$suite' minified tests" 18 echo -e "\nupdate suite: $suite"
19 echo " - minified tests"
19 ./tools/test.py -m release -c dart2js -r d8 --dart2js-batch \ 20 ./tools/test.py -m release -c dart2js -r d8 --dart2js-batch \
20 --use-sdk --minified --dart2js-with-kernel \ 21 --use-sdk --minified --dart2js-with-kernel \
21 $suite > $tmp/$suite-minified.txt 22 $suite > $tmp/$suite-minified.txt
22
23 echo "processing '$suite' minified tests status changes"
24 $dart $update_script minified $tmp/$suite-minified.txt 23 $dart $update_script minified $tmp/$suite-minified.txt
25 24
26 echo "running '$suite' host-checked tests" 25 echo " - host-checked tests"
27 ./tools/test.py -m release -c dart2js -r d8 --dart2js-batch --host-checked \ 26 ./tools/test.py -m release -c dart2js -r d8 --dart2js-batch --host-checked \
28 --dart2js-options="--library-root=$sdk" --dart2js-with-kernel \ 27 --dart2js-options="--library-root=$sdk" --dart2js-with-kernel \
29 $suite > $tmp/$suite-checked.txt 28 $suite > $tmp/$suite-checked.txt
30
31 echo "processing '$suite' checked tests status changes"
32 $dart $update_script checked $tmp/$suite-checked.txt 29 $dart $update_script checked $tmp/$suite-checked.txt
33 } 30 }
34 31
35 32
36 pushd $repodir > /dev/null 33 pushd $repodir > /dev/null
37 ./tools/build.py -m release create_sdk 34 ./tools/build.py -m release create_sdk
38 update_suite dart2js_native 35 update_suite dart2js_native
39 update_suite dart2js_extra 36 update_suite dart2js_extra
40 update_suite language 37 update_suite language
41 update_suite language_2 38 update_suite language_2
42 update_suite corelib 39 update_suite corelib
43 update_suite corelib_2 40 update_suite corelib_2
44 41
45 rm -rf $tmp 42 rm -rf $tmp
46 popd > /dev/null 43 popd > /dev/null
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/library_loader.dart ('k') | tests/corelib_2/corelib_2.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698