Files
meteor/lib/tests/run-unit-tests.sh
Avital Oliver 3e0534a9df Wrote a first bundler unit test, and related refactoring.
- No more global manifest. Instead, all functions requiring a manifest have it passed in, either
  by argument or as a attribute on an appropriate object (such as BundleInstance)
- Some initial progress towards renaming project to app in the codebase
- Eliminate references to collections of packages as a type of "Package"
- Made meteor commands run correctly from a subdirectory of a meteor app, and
  improved tests to have caught this.
- node.sh now returns the return value from the node executable
2013-03-19 15:11:02 -07:00

13 lines
231 B
Bash
Executable File

#!/bin/bash
# stop on any non-zero return value from test_bundler.js, and print "FAILED"
set -e
trap 'echo FAILED' EXIT
# run tests
../../tools/node.sh test_bundler.js
# cleanup trap, and print "SUCCESS"
trap - EXIT
echo PASSED