Commit Graph

1550 Commits

Author SHA1 Message Date
Andrew Halberstadt
638ef460b8 Bug 798580 - Run mochitests from within test-container app's oop iframe, r=jgriffin 2012-10-31 09:37:22 -04:00
Ed Morley
502d65ab6f 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
7d255839b5 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
79e6f70c2d Bug 757838 - Misc b2gautomation.py cleanup; r=jgriffin 2012-11-03 17:10:59 +00:00
Ed Morley
dcadd35435 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
61d29c65ab Bug 757838 - Misc remoteautomation.py cleanup; r=jmaher 2012-11-02 18:57:50 +00:00
Jonathan Griffin
4aa3749ab1 Bug 797162 - Add make target for b2g xpcshell tests, r=ted 2012-11-01 14:29:27 -07:00
Camilo Viecco
e2817d88c5 Bug 785259 - tests, r=honzab 2012-10-31 22:17:28 +01:00
Jim Mathies
ae9b1663ef 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
27442ee740 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
5ce3a161b8 Bug 773891 - With AppsService changes 2012-10-19 12:43:17 +02:00
Gregory Szorc
3e476bcb7f Bug 800614 - Require Python 2.6 to build the tree; r=ted 2012-10-22 12:24:40 -07:00
Gregory Szorc
3ba849533e Bug 802210 - Part 3: Unset PYTHONDONTWRITEBYECODE when creating virtualenv; r=ted 2012-10-22 11:51:08 -07:00
Gregory Szorc
b6b86c1846 Bug 802210 - Part 2: Unset PYTHONDONTWRITEBYTECODE when populating virtualenv; r=glandium 2012-10-22 11:13:59 -07:00
Gregory Szorc
8812f9dac3 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
51dc398f98 Bug 799572 - clang update broke NSS. r=rail. 2012-10-20 20:50:10 -04:00
Phil Ringnalda
3400dd72c1 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
6070cf02a0 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-19 15:23:32 +01:00
Gary Kwong
ad7bba3d28 Remove suppression for bug 799157 to see if it occurs again. DONTBUILD 2012-10-18 22:44:00 -07:00
Gary Kwong
7271f5c090 Suppress bug 803386. DONTBUILD 2012-10-18 18:21:29 -07:00
Mike Hommey
b17887d50d 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
c876d90f69 Merge m-c to inbound. 2012-10-18 21:44:09 -04:00
Joel Maher
05d832e89a Bug 788653 - Make enablePrivilege pref name more dire. r=bholley 2012-10-18 08:03:37 -04:00
Brad Lassey
348fc98ad1 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
3e80278a34 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
7217f498ae 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
930724b4ae 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
66fb4793b4 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
cc810d999e Backed out changeset d129d66a6491 (bug 812281) because apparently it broke Android reftest/crashtest/jsreftest 2012-11-15 14:35:41 -08:00
Ehsan Akhgari
6a764ae480 Bug 812281 - Shut up the media volume when running tests; r=cpearce 2012-11-15 12:15:12 -08:00
Joel Maher
55205d9eef Backout e814e12508af (bug 799107), 45863b00372b (bug 801633), 2012-10-15 13:33:37 -04:00
Joel Maher
c321e288af 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
b8e33c9901 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
b8e9d0187b Backout f271acb304c2 (bug 799107), 2012-10-15 09:08:41 -04:00
Joel Maher
2229b63364 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
484056f0df 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
d83a18bcfd 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
e9cff3d750 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
786b8cdcee Add mozcrash to virtualenv. r=glandium, no bug
--HG--
extra : rebase_source : 8a9a5a501e4ab47c67fe4a7df8bab9fb5864455f
2012-10-09 09:26:24 -04:00
Gary Kwong
faf4f041f0 Bug 696305 - Suppress bug 799157, a new Valgrind error, probable regression. DONTBUILD 2012-10-08 10:32:22 -07:00
Ed Morley
5abdf356a2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-06 20:30:35 +01:00
Rafael Ávila de Espíndola
12194e5fc1 Bug 797525 - Upgrade clang to version >= r163716 to fix ASan issue 109. r=rail. 2012-10-06 08:28:39 -04:00
Andrew Halberstadt
bb8b4e4177 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
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
Jesse Ruderman
fe94b3e6fd 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
219a0810ae b=790041; add mDNS broadcasts to SUTAgent; r=ctalbert 2012-09-14 09:29:51 -04:00
Rafael Ávila de Espíndola
b6d0d4d24d Bug 789941 - Remove stdc++compat.cpp support on OS X. r=benjamin. 2012-09-13 19:17:08 -04:00
Ed Morley
67c07956e3 Merge mozilla-central to mozilla-inbound 2012-09-12 21:58:18 +01:00
Ed Morley
4161cb07c2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-12 21:50:56 +01:00
Rafael Ávila de Espíndola
5101e1a9f4 Bug 788276 - Properly check for broken (deprecated) compilers. r=gps.
Check for old gcc versions.
2012-09-12 14:54:40 -04:00
Rafael Ávila de Espíndola
3984de1de8 Bug 788276 - Properly check for broken (deprecated) compilers. r=gps.
Check for old versions of llvm.
2012-09-12 14:48:16 -04:00