# test required parameters are supplied if [[ -z ${MOZHARNESS_SCRIPT} ]]; then fail "MOZHARNESS_SCRIPT is not set"; fi if [[ -z "${MOZHARNESS_CONFIG}" && -z "${EXTRA_MOZHARNESS_CONFIG}" ]]; then fail "MOZHARNESS_CONFIG or EXTRA_MOZHARNESS_CONFIG is not set"; fi
# set up mozharness configuration, via command line, env, etc.
# $TOOLTOOL_CACHE bypasses mozharness completely and is read by tooltool_wrapper.sh to set the # cache. However, only some mozharness scripts use tooltool_wrapper.sh, so this may not be # entirely effective. export TOOLTOOL_CACHE
export MOZ_OBJDIR
config_path_cmds="" for path in ${MOZHARNESS_CONFIG_PATHS}; do
config_path_cmds="${config_path_cmds} --extra-config-path ${GECKO_PATH}/${path}" done
# support multiple, space delimited, config files
config_cmds="" for cfg in $MOZHARNESS_CONFIG; do
config_cmds="${config_cmds} --config ${cfg}" done
# if MOZHARNESS_ACTIONS is given, only run those actions (completely overriding default_actions # in the mozharness configuration) if [ -n "$MOZHARNESS_ACTIONS" ]; then
actions="" for action in $MOZHARNESS_ACTIONS; do
actions="$actions --$action" done fi
# if MOZHARNESS_OPTIONS is given, append them to mozharness command line run if [ -n "$MOZHARNESS_OPTIONS" ]; then
options="" for option in $MOZHARNESS_OPTIONS; do
options="$options --$option" done fi
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.