testing/release/README.txt

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 Mozilla Build Verification Scripts
michael@0 2 ---
michael@0 3
michael@0 4 --
michael@0 5 Contents
michael@0 6 --
michael@0 7
michael@0 8 updates -> AUS and update verification
michael@0 9 l10n -> l10n vs. en-US verification
michael@0 10 common -> useful utility scripts
michael@0 11
michael@0 12 --
michael@0 13 Update verification
michael@0 14 --
michael@0 15
michael@0 16 verify.sh
michael@0 17 does a low-level check of all advertised MAR files. Expects to have a
michael@0 18 file named all-locales, but does not (yet) handle platform exceptions, so
michael@0 19 these should be removed from the locales file.
michael@0 20
michael@0 21 prints errors on both STDOUT and STDIN, the intention is to run the
michael@0 22 script with STDOUT redirected to an output log. If there is not output
michael@0 23 on the console and an exit code of 0 then all tests pass; otherwise one
michael@0 24 or more tests failed.
michael@0 25
michael@0 26 Does the following:
michael@0 27
michael@0 28 1) download update.xml from AUS for a particular release
michael@0 29 2) download the partial and full mar advertised
michael@0 30 3) check that the partial and full match the advertised size and sha1sum
michael@0 31 4) downloads the latest release, and an older release
michael@0 32 5) applies MAR to the older release, and compares the two releases.
michael@0 33
michael@0 34 Step 5 is repeated for both the complete and partial MAR.
michael@0 35
michael@0 36 Expects to have an updates.cfg file, describing all releases to try updating
michael@0 37 from.
michael@0 38
michael@0 39 -
michael@0 40 Valid Platforms for AUS
michael@0 41 -
michael@0 42 Linux_x86-gcc3
michael@0 43 Darwin_Universal-gcc3
michael@0 44 Linux_x86-gcc3
michael@0 45 WINNT_x86-msvc
michael@0 46 Darwin_ppc-gcc3
michael@0 47
michael@0 48 --
michael@0 49 l10n verification
michael@0 50 --
michael@0 51
michael@0 52 verify_l10n.sh
michael@0 53 unpacks an en-US build for a particular release/platform, and
michael@0 54 then unpacks and compares all locales for that particular release/platform.
michael@0 55
michael@0 56 Expects to have a file named all-locales, but does not (yet) handle platform
michael@0 57 exceptions, so these should be removed from the locales file.
michael@0 58
michael@0 59 Best practice is to take a directory full of diffs for a particular release
michael@0 60 and compare to a directory full of diffs for the current release, to see
michael@0 61 what l10n changes have occurred. For maintenance releases, this should
michael@0 62 be slim to none.
michael@0 63

mercurial