Commit Graph

1552 Commits

Author SHA1 Message Date
Joel Maher
684491e8dc Bug 809364 - sutagent zeroconf is causing jmdns thread to spike cpu on panda boards. r=wlach DONTBUILD 2012-11-08 07:32:58 -05:00
Ted Mielczarek
fc80f33b54 bug 803654 - Import mock into virtualenv. r=jhammel 2012-10-29 11:12:30 -04:00
Andrew Halberstadt
44b1dc412e Bug 798580 - Run mochitests from within test-container app's oop iframe, r=jgriffin 2012-10-31 09:37:22 -04:00
Ed Morley
44c0c46e66 Bug 808419 - remoteautomation.py's waitForFinish() should print to the log when maxTime is reached; r=jmaher 2012-11-05 13:03:55 +00:00
Ed Morley
933a845748 Bug 757838 - Make b2gautomation.py set lastTestSeen so crashes are output with the test filename; r=jgriffin 2012-11-03 17:10:59 +00:00
Ed Morley
a27bbd28a7 Bug 757838 - Misc b2gautomation.py cleanup; r=jgriffin 2012-11-03 17:10:59 +00:00
Ed Morley
3543a49fbe Bug 757838 - Make remoteautomation.py set lastTestSeen so Android crashes are output with the test filename; r=jmaher 2012-11-02 18:57:50 +00:00
Ed Morley
60a4edf93f Bug 757838 - Misc remoteautomation.py cleanup; r=jmaher 2012-11-02 18:57:50 +00:00
Jonathan Griffin
b3662b2bbe Bug 797162 - Add make target for b2g xpcshell tests, r=ted 2012-11-01 14:29:27 -07:00
Camilo Viecco
03c06fc2ed Bug 785259 - tests, r=honzab 2012-10-31 22:17:28 +01:00
Jim Mathies
cc10f75d87 Bug 798821 - On Windows, restrict enabling of W3C touch interfaces to devices that support touch input. Also convert touch pref to 3-state value. r=bsmedberg 2012-10-25 09:57:51 -05:00
Gregory Szorc
7e84d90b28 Bug 804536 - Fix virtualenv population on Windows; r=glandium
I'm pretty sure the previous code works on Python 2.7.3. This
patch may break Python 3 compatibility. We'll cross that
bridge when we come to it.
2012-10-23 09:13:00 -07:00
Carmen Jimenez Cabezas
206612e73e Bug 773891 - With AppsService changes 2012-10-19 12:43:17 +02:00
Gregory Szorc
5261e0ae4a Bug 800614 - Require Python 2.6 to build the tree; r=ted 2012-10-22 12:24:40 -07:00
Gregory Szorc
401f8b4aa7 Bug 802210 - Part 3: Unset PYTHONDONTWRITEBYECODE when creating virtualenv; r=ted 2012-10-22 11:51:08 -07:00
Gregory Szorc
d206f7374c Bug 802210 - Part 2: Unset PYTHONDONTWRITEBYTECODE when populating virtualenv; r=glandium 2012-10-22 11:13:59 -07:00
Gregory Szorc
0a26ce1037 Bug 802210 - Refactor virtualenv integration; r=glandium
We now populate the virtualenv at the beginning of configure. We have
also refactored how the virtualenv is populated.

populate_virtualenv.py is completely refactored. Its default action now
takes the topsrcdir and virtualenv paths and ensures a virtualenv is
created, populated, and up-to-date. If it is out of date, it repopulates
it. populate_virtualenv.py also now performs the Python version check
validation instead of configure. It's easier to manage in Python than to
have configure do it.
2012-10-22 10:41:36 -07:00
Rafael Ávila de Espíndola
0f41bef6be Bug 799572 - clang update broke NSS. r=rail. 2012-10-20 20:50:10 -04:00
Phil Ringnalda
d04e8b7122 Bug 802453 - automation.py.in should set extensions.update.enabled to false, r=ted
--HG--
extra : rebase_source : fadd0e7f9d004dbecbff033408ac06fc78e92778
2012-10-19 07:27:19 -07:00
Ed Morley
796f00654c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-19 15:23:32 +01:00
Gary Kwong
04f34813e3 Remove suppression for bug 799157 to see if it occurs again. DONTBUILD 2012-10-18 22:44:00 -07:00
Gary Kwong
d22fb6117f Suppress bug 803386. DONTBUILD 2012-10-18 18:21:29 -07:00
Mike Hommey
3a3fbb075b Bug 794472 - Allow pymake to run more commands without sending them to a shell. r=ted 2012-10-18 14:46:33 +02:00
Ryan VanderMeulen
0744ad5c35 Merge m-c to inbound. 2012-10-18 21:44:09 -04:00
Joel Maher
a89cc0df98 Bug 788653 - Make enablePrivilege pref name more dire. r=bholley 2012-10-18 08:03:37 -04:00
Brad Lassey
7283b31b70 bug 802616 - don't use software floating point math on ARMv6 r=glandium
--HG--
rename : dom/bindings/ExampleGen.py => dom/bindings/BindingGen.py
extra : rebase_source : 4171bc4cccbd6cc82d50a1d2544e362bd615fdf9
2012-10-17 11:40:55 -04:00
Mike Hommey
458593c9ab Bug 799093 - Avoid mac builds being considered as cross compiled by jemalloc configure. r=ted 2012-10-17 16:30:05 +02:00
Joel Maher
0ada31c022 Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-16 13:25:23 -04:00
Surith Thekkiam
2a22c3bfce Bug 807423 - Support use of GNU libstdc++ on Android. r=ted
* For android-ndk versions r7, r7b, r8, r8b
 * std::ifstream broken in earlier versions of ndk
 * ... used in jscntxt.cpp by ComputeIsJITBroken()
 * Default gnu_compiler_version is 4.4.3
 * If android_toolchain is not set, attempt to infer it from gnu_compiler_version.
 * Copy changes from js/src/build/autoconf/android.m4 to build/autoconf/android.m4
2012-11-06 09:41:16 -08:00
Marty Rosenberg
6b0e6a25c3 Add in support for running a cross-shell directly in qemu (bug 807936, r=ted) 2012-11-15 10:24:07 -05:00
Ehsan Akhgari
2a3f220d58 Backed out changeset d129d66a6491 (bug 812281) because apparently it broke Android reftest/crashtest/jsreftest 2012-11-15 14:35:41 -08:00
Ehsan Akhgari
3464482ef9 Bug 812281 - Shut up the media volume when running tests; r=cpearce 2012-11-15 12:15:12 -08:00
Joel Maher
c4cee4ab7a Backout e814e12508af (bug 799107), 45863b00372b (bug 801633), 2012-10-15 13:33:37 -04:00
Joel Maher
d925c6eb2a Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-15 11:13:44 -04:00
William Lachance
5549742864 Bug 756440 - Only try to download crash directory on device if it exists;r=jmaher
Under normal circumstances this should be created automatically inside the
profile directory when we first start, but this won't happen if we fail
to start properly altogether. If that's the case, we've got other problems
that will be reported as errors. Let's just print a warning so we don't
misdiagnose the problem under those circumstances.
2012-10-15 10:15:15 -04:00
Joel Maher
0d6866c6ab Backout f271acb304c2 (bug 799107), 2012-10-15 09:08:41 -04:00
Joel Maher
b39722815e Bug 799107 - minidumps not being generated from robocop test crashes (breakpad environment variables not being set properly). r=kats 2012-10-15 07:10:49 -04:00
Clint Talbert
9303d9ab7a Bug 785032 - SD card issues with new Tegras ("INFO: attempting to create file /mnt/sdcard/writetest ... Push File Failed to Validate!"). r=jmaher DONTBUILD 2012-10-10 10:17:50 -04:00
Joel Maher
c7ac4d2fb0 Bug 797652 - Current code agent code crashes on android 2.3. r=wlach 2012-10-10 10:17:40 -04:00
Rafael Ávila de Espíndola
0e423c0d5a Bug 793109 - Stacks truncated near nsDocLoader::DoFireOnStateChange. r=rail.
Update the build script.

--HG--
extra : rebase_source : 490759f884a9576ab7307a4710b1af2cfab09db6
2012-10-09 21:58:27 -04:00
Ted Mielczarek
3ee9de192a Add mozcrash to virtualenv. r=glandium, no bug
--HG--
extra : rebase_source : 8a9a5a501e4ab47c67fe4a7df8bab9fb5864455f
2012-10-09 09:26:24 -04:00
Gary Kwong
246de22f55 Bug 696305 - Suppress bug 799157, a new Valgrind error, probable regression. DONTBUILD 2012-10-08 10:32:22 -07:00
Ed Morley
fd14735924 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-06 20:30:35 +01:00
Rafael Ávila de Espíndola
d0a5f773b6 Bug 797525 - Upgrade clang to version >= r163716 to fix ASan issue 109. r=rail. 2012-10-06 08:28:39 -04:00
Andrew Halberstadt
3c47c68070 Bug 797177 - Fix missed calls to checkCmd within B2G automation, r=mikeh; DONTBUILD because NPOTB 2012-10-05 16:06:02 -04:00
Ed Morley
29308c09dd Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me 2012-10-05 17:48:15 +01:00
Jeff Hammel
573fc6cc2b Bug 792164 - add mozdevice to virtualenv in m-c;r=gps 2012-10-05 09:46:27 -07:00
Rafael Ávila de Espíndola
bdefb19106 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
382c927895 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
2798022a56 Bug 696305 - Tweak suppression file for bug 793533. DONTBUILD 2012-10-03 13:36:41 -07:00
Gary Kwong
9f65b1ff16 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
4c08ecc761 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Ryan VanderMeulen
913409a80c Merge the last PGO-green inbound changeset to m-c. 2012-10-02 21:20:48 -04:00
Gary Kwong
311ea44e6b 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
8de4907981 Bug 794966 - Treat environment variables as = assignments instead of := in pymake. r=ted 2012-10-02 14:18:00 +02:00
Mike Hommey
4e6044bc55 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
cb8a3508fd 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
c84c23583f Bug 793317 - Only enable the x86,x86_64 and arm targets. r=rail. 2012-10-01 09:11:16 -04:00
Mounir Lamouri
f13826bcd0 Bug 795136 - 3/2 - Disabling tests until bug 795711 is fixed. r=me 2012-09-30 16:07:51 +01:00
Gary Kwong
a55bea04cf Bug 696305 - Removing another suppression from Valgrind files. DONTBUILD 2012-09-29 23:30:47 -07:00
Gary Kwong
3188876d65 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
a4f0ca8c03 Bug 696305 - Suppress another cross architecture bug. DONTBUILD 2012-09-29 12:35:03 -07:00
Gregory Szorc
766648241e Bug 795499 - Export ANDROID_CPU_ARCH via AC_SUBST. r=glandium 2012-09-29 00:49:24 -07:00
Gary Kwong
e47a85e9de Bug 696305 - Remove commented-out suppression for bug 793539 and add bug 795395. DONTBUILD 2012-09-28 10:49:57 -07:00
Gary Kwong
6adb9cc87a 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
7604650009 Bug 696305 - Update Valgrind cross architecture suppression file. DONTBUILD 2012-09-26 18:55:01 -07:00
Gary Kwong
e12b077905 Bug 696305 - Update all Valgrind suppression files. DONTBUILD 2012-09-26 11:20:55 -07:00
Mounir Lamouri
793247fdfe Merge mozilla-inbound in mozilla-central. 2012-09-26 11:57:25 +01:00
Gary Kwong
0c9dfb8f74 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
cb16bc9f62 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
04ac13f156 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
c356d3cd85 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
d34211b9e8 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é
3fd41470ed 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
56296ed6df 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
b6ce391af2 Merge m-c to inbound. 2012-09-25 17:31:00 -04:00
Jesse Ruderman
1450729ff2 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
01722c2aa1 Improve Valgrind suppressions for bug 793534 and bug 793549. DONTBUILD 2012-09-24 17:33:41 -07:00
Gary Kwong
0d80cbae19 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
09bcf86719 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
df4def587a Bug 793051 - Add pymake to virtualenv; r=glandium
--HG--
extra : rebase_source : 2ec2e7f7ca811efccdd87cd1519d5ce71cad705e
2012-09-24 13:18:25 -07:00
Bobby Holley
c64d31c5e0 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
ac18767cba Bug 696305 - Update i686 and x86_64 Linux Valgrind suppression files. DONTBUILD 2012-09-24 01:23:32 -07:00
Gary Kwong
3c4380dd25 No bug - Update i686 and x86_64 Linux Valgrind suppression files. DONTBUILD 2012-09-23 18:18:30 -07:00
Ryan VanderMeulen
fc5593cb87 Merge the last PGO-green inbound changeset to m-c. 2012-09-21 22:38:53 -04:00
Jonathan Griffin
a2e982a8bd Bug 793213 - Disable offline mode for b2g mochitest/reftest, r=ahal, DONTBUILD because NPOTB 2012-09-21 15:20:39 -07:00
Gregory Szorc
651f6138aa Bug 792135 - Part 2: Add which to virtualenv; r=glandium 2012-09-20 20:55:34 -07:00
Joel Maher
70ddebfc21 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
ef2fa487c5 Bug 785871 - Make importing config.status easier. r=ted,r=gps 2012-09-20 09:52:12 +02:00
Sid Stamm
bc5dd19449 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
7aaa376790 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
778913006f 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
44fd89846a 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
52689aa21f 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
1e978504de 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
Jesse Ruderman
c7bd194ff7 Bug 789275 - Better error message when trying to process a crash report without symbols. r=wlach. DONTBUILD 2012-09-15 11:33:02 -07:00
Vladimir Vukicevic
0932aafa0f b=790041; add mDNS broadcasts to SUTAgent; r=ctalbert 2012-09-14 09:29:51 -04:00
Rafael Ávila de Espíndola
25866c642b Bug 789941 - Remove stdc++compat.cpp support on OS X. r=benjamin. 2012-09-13 19:17:08 -04:00
Ed Morley
ea14a0d709 Merge mozilla-central to mozilla-inbound 2012-09-12 21:58:18 +01:00
Ed Morley
2e19324705 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-12 21:50:56 +01:00