Confirmed users
3,990
edits
No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
# Calculate following parameters based on previous values | # Calculate following parameters based on previous values | ||
POST_URL= | POST_URL=${LOCATION}/${BRANCH}-${OS}${TYPE}/${ID} | ||
# TODO if LOCATION is "nightly" then | # TODO if LOCATION is "nightly" then | ||
# POST_URL= | # POST_URL=${LOCATION}/latest-${BRANCH} | ||
URL= | URL=${BASE}/${POST_URL} | ||
EXTENSION='zip' #TODO calculate depending on $OS | |||
UNZIPPING_TOOL='unzip -o' #TODO linux would be 'tar -jxvf' | |||
# symbols is specified even though I am skipping to download it | # symbols is specified even though I am skipping to download it | ||
UNITTEST_PARAMS='--appname=firefox/firefox.exe --utility-path=bin --extra-profile-file=bin/plugins --symbols-path=symbols' | UNITTEST_PARAMS='--appname=firefox/firefox.exe --utility-path=bin --extra-profile-file=bin/plugins --symbols-path=symbols' | ||
| Line 25: | Line 27: | ||
# Download binaries and tests | # Download binaries and tests | ||
wget | wget -N $URL/firefox-${VERSION}.en-US.${OS_ARCH}.${EXTENSION} | ||
wget | wget -N $URL/firefox-${VERSION}.en-US.${OS_ARCH}.tests.zip | ||
# Unzip binaries and tests | # Unzip binaries and tests | ||
${UNZIPPING_TOOL} firefox-${VERSION}.en-US.${OS_ARCH}.${EXTENSION} | |||
# TODO add selective unzipping | # TODO add selective unzipping | ||
unzip -o | unzip -o firefox-${VERSION}.en-US.${PLATFORM}.tests.zip | ||
# All known tests suites to this date | # All known tests suites to this date | ||