michael@0: Mozilla Build Verification Scripts michael@0: --- michael@0: michael@0: -- michael@0: Contents michael@0: -- michael@0: michael@0: updates -> AUS and update verification michael@0: l10n -> l10n vs. en-US verification michael@0: common -> useful utility scripts michael@0: michael@0: -- michael@0: Update verification michael@0: -- michael@0: michael@0: verify.sh michael@0: does a low-level check of all advertised MAR files. Expects to have a michael@0: file named all-locales, but does not (yet) handle platform exceptions, so michael@0: these should be removed from the locales file. michael@0: michael@0: prints errors on both STDOUT and STDIN, the intention is to run the michael@0: script with STDOUT redirected to an output log. If there is not output michael@0: on the console and an exit code of 0 then all tests pass; otherwise one michael@0: or more tests failed. michael@0: michael@0: Does the following: michael@0: michael@0: 1) download update.xml from AUS for a particular release michael@0: 2) download the partial and full mar advertised michael@0: 3) check that the partial and full match the advertised size and sha1sum michael@0: 4) downloads the latest release, and an older release michael@0: 5) applies MAR to the older release, and compares the two releases. michael@0: michael@0: Step 5 is repeated for both the complete and partial MAR. michael@0: michael@0: Expects to have an updates.cfg file, describing all releases to try updating michael@0: from. michael@0: michael@0: - michael@0: Valid Platforms for AUS michael@0: - michael@0: Linux_x86-gcc3 michael@0: Darwin_Universal-gcc3 michael@0: Linux_x86-gcc3 michael@0: WINNT_x86-msvc michael@0: Darwin_ppc-gcc3 michael@0: michael@0: -- michael@0: l10n verification michael@0: -- michael@0: michael@0: verify_l10n.sh michael@0: unpacks an en-US build for a particular release/platform, and michael@0: then unpacks and compares all locales for that particular release/platform. michael@0: michael@0: Expects to have a file named all-locales, but does not (yet) handle platform michael@0: exceptions, so these should be removed from the locales file. michael@0: michael@0: Best practice is to take a directory full of diffs for a particular release michael@0: and compare to a directory full of diffs for the current release, to see michael@0: what l10n changes have occurred. For maintenance releases, this should michael@0: be slim to none. michael@0: