2015-01-08 17:20:05 -05:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
2015-02-13 17:59:29 -05:00
|
|
|
MODE=$1
|
|
|
|
|
2015-01-08 17:20:05 -05:00
|
|
|
echo =============================================================================
|
|
|
|
# go to project dir
|
|
|
|
SCRIPT_DIR=$(dirname $0)
|
|
|
|
cd $SCRIPT_DIR/../..
|
|
|
|
|
2015-02-13 17:59:29 -05:00
|
|
|
${SCRIPT_DIR}/build_$MODE.sh
|
|
|
|
${SCRIPT_DIR}/test_unit_$MODE.sh
|
2015-02-20 20:44:23 -05:00
|
|
|
if [ "$MODE" == "dart" ]; then # JS doesn't yet have server tests
|
|
|
|
${SCRIPT_DIR}/test_server_$MODE.sh
|
|
|
|
fi
|
2015-02-13 17:59:29 -05:00
|
|
|
${SCRIPT_DIR}/test_e2e_$MODE.sh
|