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

Unified Diff: tool/node_test.sh

Issue 1879373004: Implement modular compilation (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 8 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 | « tool/input_sdk/private/ddc_runtime/utils.dart ('k') | tool/patch_sdk.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/node_test.sh
diff --git a/tool/node_test.sh b/tool/node_test.sh
deleted file mode 100755
index d735db767b8a4ead7dbb367c72a404474a23eb43..0000000000000000000000000000000000000000
--- a/tool/node_test.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-set -e
-# switch to the root directory of dev_compiler
-cd $( dirname "${BASH_SOURCE[0]}" )/..
-
-output_dir=`mktemp -d /tmp/ddc_node_test.XXXXXX`
-
-ddc_options=(
- --destructure-named-params
- --modules=node
- -o $output_dir
-)
-node_harmony_options=(
- --harmony
- --harmony_destructuring
- --harmony_default_parameters
-)
-function compile() {
- ./bin/dartdevc.dart "${ddc_options[@]}" $1
-}
-function run() {
- NODE_PATH=$output_dir \
- node "${node_harmony_options[@]}" -e \
- "require('dart/_isolate_helper').startRootIsolate(require('$1').main, []);"
-}
-
-# TODO(ochafik): Add full language tests (in separate Travis env/matrix config).
-
-echo "*** Compiling SDK for node to $output_dir"
-
-dart bin/dartdevc.dart --force-compile --no-source-maps --sdk-check \
- -l warning --dart-sdk tool/generated_sdk -o lib/runtime/ \
- --no-destructure-named-params \
- "${ddc_options[@]}" \
- dart:_runtime \
- dart:_debugger \
- dart:js dart:mirrors dart:html || true
-
-echo "*** Compiling hello_dart_test"
-compile test/codegen/language/hello_dart_test.dart
-run hello_dart_test
-
-echo "*** Compiling DeltaBlue"
-compile test/codegen/DeltaBlue.dart
-run DeltaBlue
« no previous file with comments | « tool/input_sdk/private/ddc_runtime/utils.dart ('k') | tool/patch_sdk.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698