First installment of 'meteor run' tests.

Tests meteor --once and restarting on upgrade.
This commit is contained in:
Geoff Schmidt
2014-01-29 02:02:17 -08:00
parent 377d940ba0
commit e1994f6ece
15 changed files with 223 additions and 52 deletions

View File

@@ -44,8 +44,7 @@ CPR examples "$TARGET_DIR"
# Script is not actually used, but it's nice to distribute it for users.
cp scripts/admin/launch-meteor "$TARGET_DIR"
# Trim tests and unfinished examples.
rm -rf "$TARGET_DIR"/tools/tests
# Trim unfinished examples.
rm -rf "$TARGET_DIR"/examples/unfinished
rm -rf "$TARGET_DIR"/examples/other

View File

@@ -1,14 +0,0 @@
#!/bin/bash
# XXX does anyone call this script anymore? can it be removed? former
# users should invoke 'meteor self-test' directly
# Die with message on failure, print commands being executed
trap 'echo FAILED' EXIT
set -e -u -x
cd `dirname $0`
./meteor self-test --slow
trap - EXIT
echo PASSED