mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
* Intentionally break Travis. * Alphabetize tests, remove orphaned test, and add fail to test that's running. * Unbreak test, disable OS X, move scripts, list compiler directory. * Test Java, break test. * Unbreak test, call compile script. * Compile main_compressed.js * Run test command using bash. * Fix path. * Exclude node modules. * Be more specific about JS files to compile. * Test failure. * Restore OSX, undo Blockly failure, remove compilation demo, add compilation test. * Delete manual test files. * Ignore downloaded/generated files. * Whitespace cleanup.
24 lines
434 B
Bash
Executable File
24 lines
434 B
Bash
Executable File
#!/bin/bash
|
|
|
|
EXIT_STATUS=0
|
|
|
|
function check_command {
|
|
"$@"
|
|
local STATUS=$?
|
|
if [ $STATUS -ne 0 ]; then
|
|
echo "error with $1 ($STATUS)" >&2
|
|
EXIT_STATUS=$STATUS
|
|
fi
|
|
}
|
|
|
|
check_command tests/scripts/get_geckdriver.sh
|
|
sleep 5
|
|
check_command tests/scripts/get_selenium.sh
|
|
sleep 5
|
|
check_command tests/scripts/get_chromedriver.sh
|
|
sleep 10
|
|
check_command tests/scripts/selenium_connect.sh
|
|
sleep 10
|
|
|
|
exit $EXIT_STATUS
|