05705dad2f
BUG= R=sigmund@google.com Review URL: https://codereview.chromium.org//24077003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27353 260f80e4-7a28-3924-810f-c04153c831b5
758 B
Executable File
758 B
Executable File
#!/bin/bash
# Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
# Usage: run from a Dart SVN checkout after building.
# bail on error
set -e
# Note: test.dart needs to be run from the root of the Dart checkout
DIR=$( cd $( dirname "${BASH_SOURCE[0]}" ) && pwd )
pushd $DIR/../../.. > /dev/null
echo "*** Running unit tests for Polymer.dart and its dependencies."
SUITES="pkg/polymer samples/third_party/todomvc"
CONFIG="-m release -r vm,drt,ff -c none,dart2js,dartanalyzer --checked $*"
CMD="xvfb-run ./tools/test.py $CONFIG $SUITES"
echo "*** $CMD"
$CMD
echo -e "All tests pass"
# Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
# Usage: run from a Dart SVN checkout after building.
# bail on error
set -e
# Note: test.dart needs to be run from the root of the Dart checkout
DIR=$( cd $( dirname "${BASH_SOURCE[0]}" ) && pwd )
pushd $DIR/../../.. > /dev/null
echo "*** Running unit tests for Polymer.dart and its dependencies."
SUITES="pkg/polymer samples/third_party/todomvc"
CONFIG="-m release -r vm,drt,ff -c none,dart2js,dartanalyzer --checked $*"
CMD="xvfb-run ./tools/test.py $CONFIG $SUITES"
echo "*** $CMD"
$CMD
echo -e "All tests pass"