Граф коммитов

40 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt 2d76b4f70d Bug 1317970 - Make mozbase tests use mozunit for consistent formatting, r=chmanchester
The mozbase unittests don't use mozunit, so their output is confusing in the log.
This makes mozbase output consistent with the rest of the python unittests.

MozReview-Commit-ID: AIs5mza8Rn6

--HG--
extra : rebase_source : 10f65e612f5b3cebb921c47699f5a8be7cd2ba5a
2016-11-17 16:36:18 -05:00
Gregory Szorc dc86faefcd Backed out changeset 361ac37d15d6 (bug 1311580) for breaking WPT's rather narrow expectations
On a CLOSED TREE.

--HG--
extra : amend_source : 6492a41c5c66da4ea0f5e8f260227dd05f681a61
2016-10-21 16:28:29 -07:00
Ted Mielczarek d0f81be1fb bug 1311580 - Fix mozinfo os_version / linux_distro on Linux. r=jmaher
MozReview-Commit-ID: FD9fzKg6Ei4

--HG--
extra : rebase_source : f2e0dcc74cc997e14a07546f215cd3e9a123855b
2016-10-19 21:04:21 -04:00
Francesco Pischedda f45ed99748 Bug 1280573 - Add testing/mozbase to flake8 linter: r=ahal
added testing/mozbase to tools/lint/flake8.lint
fixed a first batch of PEP8 errors/warnings

at first the commad autopep8 -i --max-line-length 99 -r -j 8 .
has been used to fix simpler problems, run from testing/mozbase

some of the issues can not easily fixed :
- undefined 'names' in code for example isLinux - isLinux and isBsd "fixed" with # noqa
- undefined 'message' resolved with return fmt.format(...
- undefined 'structured' resolved replacing those with mozlog
- long comments - some remaining - addressed with # noqa
- package level import everything - addressed with # flake8: noqa

restored testing/mozbase/mozdevice/mozdevice/Zeroconf.py
fixed issues reported on mozreview
fixed ')' in testing/mozbase/mozprocess/mozprocess/qijo.py imports
finally fixed multiline string at testing/mozbase/manifestparser/tests/test_manifestparser.py:114
^^^ and again, but now with ./mach python-test --path-only testing/mozbase/manifestparser/tests/test_manifestparser.py passing
fixed testing/mozbase/manifestparser/tests/test_convert_directory.py assert

fixed this error:
10:15:21     INFO -      return lambda line: stack_fixer_module.fixSymbols(line)
10:15:21     INFO -  TypeError: fixSymbols() takes exactly 2 arguments (1 given)

fixed two spaces lint error even of #  noqa comments
restored assignement to lambda with #  noqa to silence the lint error
global noqa for testing/mozbase/manifestparser/tests/test_filters.py
stupid is/is not error...

MozReview-Commit-ID: 1FpJF54GqIi

--HG--
extra : rebase_source : 3cf0277fb36a296e3506aeacc2ff05e1b03f9eac
2016-09-30 16:08:37 +02:00
Wes Kocher e1ade7ef8a Backed out 8 changesets (bug 1286900) for win7vm wpt timeouts a=backout
Backed out changeset 3fff88de2f2d (bug 1286900)
Backed out changeset 748abfe6748e (bug 1286900)
Backed out changeset b4844ee1e542 (bug 1286900)
Backed out changeset bde587e47d00 (bug 1286900)
Backed out changeset a1311218621b (bug 1286900)
Backed out changeset 2de97e3cfcb3 (bug 1286900)
Backed out changeset 43df1e962f8e (bug 1286900)
Backed out changeset 6ed46e8ac86c (bug 1286900)
2016-10-04 17:17:07 -07:00
Gregory Szorc a358731e48 Bug 1286900 - Add environment variable to define location of mozinfo.json; r=ted
As part of converting WPT to run from a source checkout in automation,
I ran into problems where mozinfo.json wasn't being loaded, causing
several tests to fail. This is because mozinfo.json is only found
from a source directory or from a parent of the WPT meta directory.

Before, mozinfo.json was provided by the "common" tests zip file
and extracted to the base of the destination directory. WPT files
were extracted to a "web-platform" sub-directory. So mozinfo.json
was in a parent directory of "web-platform/meta" and was loaded
automatically.

Now that we want to run WPT out of the source directory, there is
no mozinfo.json and the source directory and no mozinfo.json can be
loaded.

This commit teaches mozinfo.json to look in a MOZINFO_PATH environment
variable for the path to mozinfo.json. This allows mozinfo.json
to exist anywhere on the filesystem. This provides a lot more
flexibility for loading the file.

MozReview-Commit-ID: 1I1cxS1IeyY

--HG--
extra : rebase_source : b06de2b53d3fb26df2c7b1c6d034644c20e47577
2016-09-26 15:51:32 -07:00
Phil Ringnalda 3e7326c4fd Backed out 6 changesets (bug 1286900) for making wpt-7 permanently fail on Windows debug
CLOSED TREE

Backed out changeset 859457467e3c (bug 1286900)
Backed out changeset 4b08ed30e0a5 (bug 1286900)
Backed out changeset 3928e945b584 (bug 1286900)
Backed out changeset 5b0f69c86028 (bug 1286900)
Backed out changeset 01c3527edde5 (bug 1286900)
Backed out changeset 6b5f059a85ad (bug 1286900)
2016-09-27 18:24:38 -07:00
Gregory Szorc d51263ff47 Bug 1286900 - Add environment variable to define location of mozinfo.json; r=ted
As part of converting WPT to run from a source checkout in automation,
I ran into problems where mozinfo.json wasn't being loaded, causing
several tests to fail. This is because mozinfo.json is only found
from a source directory or from a parent of the WPT meta directory.

Before, mozinfo.json was provided by the "common" tests zip file
and extracted to the base of the destination directory. WPT files
were extracted to a "web-platform" sub-directory. So mozinfo.json
was in a parent directory of "web-platform/meta" and was loaded
automatically.

Now that we want to run WPT out of the source directory, there is
no mozinfo.json and the source directory and no mozinfo.json can be
loaded.

This commit teaches mozinfo.json to look in a MOZINFO_PATH environment
variable for the path to mozinfo.json. This allows mozinfo.json
to exist anywhere on the filesystem. This provides a lot more
flexibility for loading the file.

MozReview-Commit-ID: 1I1cxS1IeyY

--HG--
extra : rebase_source : 6fb60257b6a20f6bd79461f1bf1f4f5be1f28072
2016-09-26 15:51:32 -07:00
Nicolas B. Pierron b2b9651d11 Bug 1270082 - mozinfo: Use the kernel version if the distribution is not supported by python platform function. r=gps 2016-05-27 14:50:03 +00:00
Julien Pagès 7e9dbab9aa Bug 1185632 - [mozinfo] bump release to 0.9. r=wlach
--HG--
extra : commitid : 3AWeMUmW3qj
extra : rebase_source : 75a2297309adf3be93e42be28e103e3b8e8e4b78
2015-10-30 17:38:42 +01:00
Julien Pagès cbbe0b06a5 Bug 1185632 - [mozinfo] mozinfo.os is unknown running under MSYS. r=wlach
--HG--
extra : commitid : LKZm5uIYzvx
extra : rebase_source : c14351f1b796409307cf6ddee9295cf8675c70f9
2015-10-30 17:37:34 +01:00
Jose Diez dd52016aa0 Bug 1213816 - Properly set OS properties on Arch; r=gps
--HG--
extra : commitid : BRWaT1v7ALL
extra : amend_source : 8def33528465d649dd822414578f18b1bee94f6d
2015-10-16 11:13:34 -07:00
Hiroyuki Ikezoe ecdabe1d62 Bug 1150818 - Part 1: Output mozinfo into a file. r=ted 2015-08-20 15:30:00 -04:00
James Graham 3a5efddc75 Bug 1193033 - Teach mozinfo to get the real os version number for Windows >= 8.1, r=ted
For contemporary versions of Windows the sys.getwindowsversion call is unreliable
because it depends on a API which had its return value frozen. If we detect this
case use an alternate API instead
2015-08-14 11:54:23 +01:00
Ryan VanderMeulen 3cab1ddc85 Backed out changesets 0cf9bfd5af47 and e18c579d29f1 (bug 1193033) for Win7 debug relevant-mutations.html permafail.
CLOSED TREE
2015-08-13 14:15:23 -04:00
James Graham 6bac886d48 Bug 1193033 - Teach mozinfo to get the real os version number for Windows >= 8.1, r=ted
For contemporary versions of Windows the sys.getwindowsversion call is unreliable
because it depends on a API which had its return value frozen. If we detect this
case use an alternate API instead
2015-08-13 14:01:15 +01:00
Julien Pagès 71a768eee5 Bug 1184067 - Make mozinfo.os_version a special string that can be compared with < / >. r=ahal
--HG--
extra : commitid : Iiz5hfbNDIj
extra : rebase_source : 4ece0f34183da76588cd79bee27a353734ad4b2e
2015-07-25 11:47:51 +02:00
Ryan VanderMeulen ba45b91fde Backed out changeset 44571696245f (bug 1184067) for breaking web-platform-tests.
CLOSED TREE
2015-07-17 11:54:27 -04:00
Julien Pagès a3e2125799 Bug 1184067 - Make mozinfo.os_version a special string that can be compared with < / >. r=ted 2015-07-15 06:30:00 -04:00
Gregory Szorc 27efb530ff Bug 1176642 - Use absolute_import in mozinfo; r=chmanchester
absolute_import was introduced in Python 2.6. There should be no
backwards compatibility concern here.

--HG--
extra : commitid : AhreLXsUlhA
extra : rebase_source : adca67eb99930afbe2d41a55261ce0d3600f315b
2015-06-25 12:12:39 -07:00
Henrik Skupin 7a340fca29 Bug 1169168 - Release mozinfo 0.8. r=tomcat DONTBUILD 2015-05-28 09:54:30 +02:00
Julien Pagès 38bf8b96e5 Bug 1008943 - mozinfo should be cheaper to import. r=ahal 2014-10-20 02:57:00 +02:00
Edwin Flores 6ac0bb3765 Bug 1072024 - Disable sandbox during gtests on linux - r=ted 2014-10-14 11:04:59 +13:00
Mike Hommey 0b074e32ea Bug 1044414 - Add a fallback for unknown platforms after bug 945869. r=ted 2014-08-01 15:55:42 +09:00
Marco Castelluccio 18b8933804 Bug 945869 - Provide more granular OS version information in mozinfo. r=ted.mielczarek 2014-05-01 06:09:00 +02:00
Andrew Halberstadt 2162ac0779 Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-19 16:42:01 -05:00
Wes Kocher 572d78adfd Backed out changeset a7f8c25c07ac (bug 949600) for breaking clobber due to new update_permissions code, regardless of whether this is a CLOSED TREE. 2014-02-18 16:12:34 -08:00
Andrew Halberstadt 354168bb48 Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-18 09:25:58 -05:00
Jonathan Griffin 55412b9c2e Bug 917750 - mirror several mozbase packages, r=ahal 2013-10-22 15:42:05 -07:00
Andrew Halberstadt bfcbe4015d Bug 895940 - Mirror mozbase to m-c, r=jhammel 2013-07-25 16:27:53 -04:00
Jeff Hammel 8a0915646b Bug 877733 - bump mozinfo, mozprocess, mozdevice, mozinstall version and mirror to m-c;r=jmaher 2013-06-17 13:23:38 -07:00
Jeff Hammel a42ab51c5b Bug 799605 - Mirror mozbase -> m-c for bug 799288 and bug 799507 @ https://github.com/mozilla/mozbase/commit/ 36a2f63be33af799a54d7f1511dc922730b10b22 ; r=wlach 2012-10-10 09:27:06 -07:00
Jonathan Griffin d8e0dcfd02 Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 17:58:39 -07:00
Jonathan Griffin a83f8b8d14 backout 69243e829931 due to OSX 10.7 bustage 2012-09-07 17:05:26 -07:00
Jonathan Griffin 0435762ffe Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 15:39:17 -07:00
Jeff Hammel d3a3a3b3de Bug 775127 - Bump mozInstall version and release to pypi and update mozbase on mozilla central. r=ahalberstadt 2012-07-20 20:19:38 -04:00
Siddharth Agarwal 18936b1386 Bug 769808 - Update mozbase on m-c to include fix for bug 769789. r=jhammel 2012-07-03 01:52:54 +05:30
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Andrew Halberstadt c17f88643d Bug 706844 - Create a make target for peptest. r=jmaher 2011-12-06 09:26:24 -05:00
Andrew Halberstadt eeb4a855c6 Bug 703266 Mirror mozbase to mozilla-central for peptest r=jhammel 2011-11-29 11:43:16 -05:00