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

Unified Diff: tool/transformer_test.sh

Issue 1672563002: e2e test for transformer (webdriver + pub serve) (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/transformer_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/transformer_test.sh
diff --git a/tool/transformer_test.sh b/tool/transformer_test.sh
index e733f86ae657a39a5c3a5054c0de6492da0a1374..b25c6ca44c99d31e9016ffae73dd1798df2b6e80 100755
--- a/tool/transformer_test.sh
+++ b/tool/transformer_test.sh
@@ -1,14 +1,19 @@
#!/bin/bash
set -eu
-DIR=$(dirname "${BASH_SOURCE[0]}")
+cd $( dirname "${BASH_SOURCE[0]}" )/..
-# TODO(ochafik): Run pub serve + launch a browser on
-# http://localhost:8080/hello_app/web/
+export CHROME_CANARY_BIN=`./tool/get_chrome_canary.sh`
+
+echo "*** Testing pub serve + DDC transformer"
+pub run test --timeout 120s test/transformer_e2e_test.dart
+
+echo "*** Testing pub build + DDC transformer"
cd test/transformer/hello_app
pub get
pub build
expected_files=(
+ build/web/hello_app/web/index.html
build/web/hello_app/web/main.js
build/web/hello_dep/simple.js
build/web/hello_dep/utils.js
« no previous file with comments | « test/transformer_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698