Commit Graph

1457 Commits

Author SHA1 Message Date
Ed Morley
518e3c5e11 Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me 2012-10-05 17:48:15 +01:00
Jeff Hammel
241701cf63 Bug 792164 - add mozdevice to virtualenv in m-c;r=gps 2012-10-05 09:46:27 -07:00
Rafael Ávila de Espíndola
b1fb2b1463 Bug 784691 - Upgrade clang to r162360. r=rail.
build the new version.

--HG--
extra : rebase_source : 8a743e450a40b68b9d49db591cb694083c0f1eeb
2012-10-04 22:09:48 -04:00
William Lachance
54d781abf7 Bug 795496 - Make mozdevice raise exceptions on error;r=ahal,jmaher
It turns out that relying on the user to check return codes for every
command was non-intuitive and resulted in many hard to trace bugs.
Now most functinos just return "None", and raise a DMError when there's an
exception. The exception to this are functions like dirExists, which now return
booleans, and throw exceptions on error. This is a fairly major refactor,
and also involved the following internal changes:

* Removed FileError and AgentError exceptions, replaced with DMError
  (having to manage three different types of exceptions was confusing,
  all the more so when we're raising them)
* Docstrings updated to remove references to return values where no
  longer relevant
* pushFile no longer will create a directory to accomodate the file
  if it doesn't exist (this makes it consistent with devicemanagerADB)
* dmSUT we validate the file, but assume that we get something back
  from the agent, instead of falling back to manual validation in the
  case that we didn't
* isDir and dirExists had the same intention, but different
  implementations for dmSUT. Replaced the dmSUT impl of getDirectory
  with that of isDir's (which was much simpler). Removed
  isDir from devicemanager.py, since it wasn't used externally
* killProcess modified to check for process existence before running
  (since the actual internal kill command will throw an exception
  if the process doesn't exist)

In addition to all this, more unit tests have been added to test these
changes for devicemanagerSUT.
2012-10-04 11:28:07 -04:00
Gary Kwong
c766f778f4 Bug 696305 - Tweak suppression file for bug 793533. DONTBUILD 2012-10-03 13:36:41 -07:00
Gary Kwong
7da6af38a4 Bug 696305 - Add another 64-bit suppression for bug 793533. DONTBUILD
--HG--
extra : rebase_source : 876faf080da567f882e1e989bc3597ca0f3fee00
2012-10-03 12:10:04 -07:00
David Chan
7991baddb3 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Ryan VanderMeulen
d96bd277af Merge the last PGO-green inbound changeset to m-c. 2012-10-02 21:20:48 -04:00
Gary Kwong
e9adf76f21 Bug 696305 - Remove suppressions that were commented out since they did not show up again and their original bug reports had stacks with no line numbers. DONTBUILD 2012-10-02 16:14:00 -07:00
Mike Hommey
baeb10aa34 Bug 794966 - Treat environment variables as = assignments instead of := in pymake. r=ted 2012-10-02 14:18:00 +02:00
Mike Hommey
c613ca96a6 Bug 794490 - Don't buffer stdout and stderr in pymake. r=ted 2012-10-02 14:17:43 +02:00
Rafael Ávila de Espíndola
ce056b48d0 Bug 793319 - Backport patches to make the output order deterministic. r=rail. 2012-10-01 10:40:55 -04:00
Rafael Ávila de Espíndola
5d7d0047e4 Bug 793317 - Only enable the x86,x86_64 and arm targets. r=rail. 2012-10-01 09:11:16 -04:00
Mounir Lamouri
53c4718504 Bug 795136 - 3/2 - Disabling tests until bug 795711 is fixed. r=me 2012-09-30 16:07:51 +01:00
Gary Kwong
facabd0ceb Bug 696305 - Removing another suppression from Valgrind files. DONTBUILD 2012-09-29 23:30:47 -07:00
Gary Kwong
e406ccb7dd Bug 696305 - Removing suppression from Valgrind files. DONTBUILD
--HG--
rename : dom/tests/mochitest/localstorage/test_clear_browser_data.html => dom/tests/mochitest/localstorage/test_app_uninstall.html
extra : rebase_source : 5a6769cf1f4ccd569ad0325785ebb9635f048f54
2012-09-29 23:28:54 -07:00
Gary Kwong
ec055b132e Bug 696305 - Suppress another cross architecture bug. DONTBUILD 2012-09-29 12:35:03 -07:00
Gregory Szorc
a86ac496ac Bug 795499 - Export ANDROID_CPU_ARCH via AC_SUBST. r=glandium 2012-09-29 00:49:24 -07:00
Gary Kwong
619a71bfab Bug 696305 - Remove commented-out suppression for bug 793539 and add bug 795395. DONTBUILD 2012-09-28 10:49:57 -07:00
Gary Kwong
d9a3f28ab6 Bug 696305 - Add more comments and try removing suppression for bug 793539 since the patch to disable GnomeVFS by default has landed on m-c. DONTBUILD 2012-09-27 23:25:31 -07:00
Gary Kwong
79b94f681a Bug 696305 - Update Valgrind cross architecture suppression file. DONTBUILD 2012-09-26 18:55:01 -07:00
Gary Kwong
25baa77919 Bug 696305 - Update all Valgrind suppression files. DONTBUILD 2012-09-26 11:20:55 -07:00
Mounir Lamouri
dcf0c40223 Merge mozilla-inbound in mozilla-central. 2012-09-26 11:57:25 +01:00
Gary Kwong
614495e2e7 Bug 696305 - Update all Valgrind suppression files, comment out suppressions for some known ones to try and get Valgrind stacks with line numbers. DONTBUILD 2012-09-26 01:08:52 -07:00
Gary Kwong
2ec86aac8e Bug 793584 - Update Makefile to look out for cross-architecture.sup as well, rs=njn DONTBUILD 2012-09-26 01:07:13 -07:00
John Hopkins
f2064402cb Bug 793016 - Very frequent hangs during leak tests on new linux build system. r=ted,catlee 2012-09-25 15:51:59 -04:00
Sid Stamm
59b413b8c8 Bug 768029 - Apply CSP Policy to trusted and certified apps. Temporarily using a overly permissive policy for certified apps until Gaia is updated to handle the desired policy. r=sicking Parts by sicking, r=mounir 2012-09-25 16:28:17 -07:00
Ed Morley
89011c37db Bug 793584 - Update Makefile to use i386-redhat-linux-gnu.sup too; rs=ted DONTBUILD since NPOTDB 2012-09-25 15:05:15 +01:00
Fabrice Desré
43f63c647e Backout Bug 768029 because that breaks Gaia (see https://github.com/mozilla-b2g/gaia/issues/5177) 2012-09-25 15:32:20 -07:00
Karl Tomlinson
131712b447 b=793079 set leaktest timeout to half buildbot timeout r=ted
--HG--
extra : rebase_source : e9541428bc26bf5e4e77a74f23f4d9496ef83117
2012-09-25 16:19:25 +12:00
Ryan VanderMeulen
afd4f0c71e Merge m-c to inbound. 2012-09-25 17:31:00 -04:00
Jesse Ruderman
823b421831 Bug 696298 - Add a cross-architecture Valgrind suppressions file. DONTBUILD
--HG--
rename : build/valgrind/x86_64-redhat-linux-gnu.sup => build/valgrind/cross-architecture.sup
2012-09-24 17:33:41 -07:00
Jesse Ruderman
781594129d Improve Valgrind suppressions for bug 793534 and bug 793549. DONTBUILD 2012-09-24 17:33:41 -07:00
Gary Kwong
3b5462efb1 Bug 793584 - Rename 32-bit Linux Valgrind suppressions file from i686-redhat-linux-gnu.sup to i386-redhat-linux-gnu.sup since this changed after the move to AWS, r=nthomas DONTBUILD
--HG--
rename : build/valgrind/i686-redhat-linux-gnu.sup => build/valgrind/i386-redhat-linux-gnu.sup
2012-09-24 16:56:06 -07:00
Gregory Szorc
a4458b8728 Bug 793061 - Python 3 compatible string types; r=glandium
This is the start of porting pymake to be compatible with Python 3.
There are probably other instances of this in the code base. A more
robust port will be performed in the future.

--HG--
extra : rebase_source : b2f8e85de9651dfa0ba4b57ecb39881cb6304405
2012-09-24 13:19:22 -07:00
Gregory Szorc
6ed38c69e9 Bug 793051 - Add pymake to virtualenv; r=glandium
--HG--
extra : rebase_source : 2ec2e7f7ca811efccdd87cd1519d5ce71cad705e
2012-09-24 13:18:25 -07:00
Bobby Holley
7f912ddc79 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Gary Kwong
d592836a00 Bug 696305 - Update i686 and x86_64 Linux Valgrind suppression files. DONTBUILD 2012-09-24 01:23:32 -07:00
Gary Kwong
ba406eaba0 No bug - Update i686 and x86_64 Linux Valgrind suppression files. DONTBUILD 2012-09-23 18:18:30 -07:00
Ryan VanderMeulen
a7b86073b5 Merge the last PGO-green inbound changeset to m-c. 2012-09-21 22:38:53 -04:00
Jonathan Griffin
93e76de9a2 Bug 793213 - Disable offline mode for b2g mochitest/reftest, r=ahal, DONTBUILD because NPOTB 2012-09-21 15:20:39 -07:00
Gregory Szorc
3c938252e5 Bug 792135 - Part 2: Add which to virtualenv; r=glandium 2012-09-20 20:55:34 -07:00
Joel Maher
c3c481579d Bug 762908 - Rip enablePrivilege out of spidermonkey tests. r=ted
--HG--
rename : testing/mochitest/specialpowers/Makefile.in => testing/specialpowers/Makefile.in
rename : testing/mochitest/specialpowers/chrome.manifest => testing/specialpowers/chrome.manifest
rename : testing/mochitest/specialpowers/components/SpecialPowersObserver.js => testing/specialpowers/components/SpecialPowersObserver.js
rename : testing/mochitest/MockFilePicker.jsm => testing/specialpowers/content/MockFilePicker.jsm
rename : testing/mochitest/tests/SimpleTest/MozillaLogger.js => testing/specialpowers/content/MozillaLogger.js
rename : testing/mochitest/tests/SimpleTest/SpecialPowersObserverAPI.js => testing/specialpowers/content/SpecialPowersObserverAPI.js
rename : testing/mochitest/specialpowers/content/specialpowers.js => testing/specialpowers/content/specialpowers.js
rename : testing/mochitest/tests/SimpleTest/specialpowersAPI.js => testing/specialpowers/content/specialpowersAPI.js
rename : testing/mochitest/specialpowers/install.rdf => testing/specialpowers/install.rdf
rename : testing/mochitest/specialpowers/jar.mn => testing/specialpowers/jar.mn
2012-09-20 09:06:50 -04:00
Mike Hommey
3fa067e66a Bug 785871 - Make importing config.status easier. r=ted,r=gps 2012-09-20 09:52:12 +02:00
Sid Stamm
e00d2f38e0 bug 768029 - Apply CSP Policy to trusted and certified apps. r=sicking. Parts by sicking, r=mounir. 2012-08-02 12:13:53 -07:00
Gregory Szorc
60b65d277f Bug 783727 - Part 5: Add psutil to virtualenv; r=ted
It is optional so if your machine does not support building Python C
extensions things should still work.
2012-09-19 11:20:19 -07:00
Gregory Szorc
5b9387e79e Bug 783727 - Part 3: Support optional actions when populating virtualenv; r=ted
This is intended to be used for packages with C extensions because we
don't yet require support for the Python SDK to build mozilla-central.
2012-09-19 11:20:13 -07:00
Rafael Ávila de Espíndola
95e925fa46 Bug 787302 - Most stacks are truncated (using minidump_stackwalk on a Mac Tinderbox debug build). r=rail.
Also apply the patch on OS X.
2012-09-18 16:58:03 -04:00
Rafael Ávila de Espíndola
8a7e8c754a Bug 791684 - Rename clang.tar.bz2 to its sha512 after building. r=rail.
--HG--
extra : rebase_source : b61abc1c5292a85d182f56aeaf01b399b7f2f222
2012-09-17 10:33:00 -04:00
Rafael Ávila de Espíndola
834326712b Bug 787302 - Most stacks are truncated (using minidump_stackwalk on a
Mac Tinderbox debug build). r=catlee.
patch clang to always produce debug_frame.

--HG--
extra : rebase_source : 0ca24100e9451b5d4d585fa27c116183fa6c5864
2012-09-17 09:21:17 -04:00