Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
33
gaia/tests/ci/marionette_js_stable_check/script
Executable file
33
gaia/tests/ci/marionette_js_stable_check/script
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
#! /bin/bash -v
|
||||
|
||||
###############################################################################
|
||||
# For having stable marionette tests, #
|
||||
# we run specfic marionette tests for 30 times on Travis. #
|
||||
###############################################################################
|
||||
|
||||
MARIONETTE_TEST_FILE_NAMES=$(node tests/ci/marionette_js_stable_check/pull-request-marionette-test)
|
||||
|
||||
if [ ${#MARIONETTE_TEST_FILE_NAMES} -gt 0 ]; then
|
||||
TEST_RESULT=0
|
||||
MAKE_BUILD="PROFILE_FOLDER=profile-test make"
|
||||
RUN_SPECIFIC_TESTS="make test-integration-test TEST_FILES=\"$MARIONETTE_TEST_FILE_NAMES\" REPORTER=spec"
|
||||
|
||||
# We only build once
|
||||
eval ${MAKE_BUILD}
|
||||
|
||||
# Then we would run tests for six times
|
||||
for i in {1..6}
|
||||
do
|
||||
eval ${RUN_SPECIFIC_TESTS}
|
||||
if [ $? -ne 0 ]; then
|
||||
TEST_RESULT=1
|
||||
fi
|
||||
done
|
||||
|
||||
if [ $TEST_RESULT -eq 1 ]; then
|
||||
echo "The marionette tests are not passed for 6 times continually."
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "The pull request has no marionette test to run."
|
||||
fi
|
||||
Loading…
Reference in a new issue