Commit Graph
69 Commits
Author SHA1 Message Date
Tom Marble 4b00b49e47 Bug 1859908 - convert .ini manifests to .toml: batch 20 marionette.ini r=jmaher,webdriver-reviewers,necko-reviewers,application-update-reviewers,search-reviewers,sessionstore-reviewers,places-reviewers,dom-storage-reviewers,bytesized,kershaw,whimboo,dao,jesup,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D197206
2024-01-02 15:31:51 +00:00
Geoff Brown f32c6c326e Bug 1846617 - Use mozprocess.run_and_wait in cppunittests r=hneiva
Differential Revision: https://phabricator.services.mozilla.com/D185248
2023-08-03 16:17:30 +00:00
Marco Castelluccio 94829b72f1 Bug 1801836 - Remove no longer necessary 'from __future__' imports under testing/. r=linter-reviewers,webdriver-reviewers,perftest-reviewers,ahal,afinder DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165399
2022-12-23 10:08:06 +00:00
Ryan VanderMeulen 097a86a154 Bug 1806222 - Set llvm-symbolizer path for TSAN cpptests & gtests. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D164960
2022-12-20 14:25:34 +00:00
Ryan VanderMeulen 0f8eb114f7 Bug 1804941 - Remove ODR suppression for ASan cpptests. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D164376
2022-12-09 17:50:12 +00:00
Geoff Brown d8ab464638 Bug 1790905 - Respect ASAN_SYMBOLIZER_PATH when running asan cppunit/xpcshell/gtests; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D157751
2022-09-20 21:13:20 +00:00
Ray Kraesig 88fcd98102 Bug 1760857 - upgrade nonexistent cppunittests from warning to error r=jmaher,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D141782
2022-03-23 12:03:10 +00:00
smolnar 7a42c59712 Backed out changeset c90e7270ee05 (bug 1760857) for causing cppunit-1proc failures. 2022-03-23 06:48:22 +02:00
Ray Kraesig 84bb00142e Bug 1760857 - upgrade nonexistent cppunittests from warning to error r=jmaher,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D141782
2022-03-23 03:09:04 +00:00
Joel Maher 248a0ba6ef Bug 1743907 - remove webrender from harnesses and taskcluster. r=MasterWayZ,webdriver-reviewers,perftest-reviewers,AlexandruIonescu,whimboo,ahal
Differential Revision: https://phabricator.services.mozilla.com/D134715
2022-01-04 20:07:45 +00:00
Ricky Stewart 31b8ca9716 Bug 1654103: Standardize on Black for Python code in mozilla-central.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara 612312a64c Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart 065d2eb893 Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 95b44c982f Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 43baed3c18 Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Simon Giesecke 7ac4a87eac Bug 1669652 - Fix llvm-symbolizer path encoding. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D92744
2020-10-07 13:49:41 +00:00
Michael Froman 6747441445 Bug 1664898 - move media/mtransport to media/transport. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D90309
2020-09-22 21:43:49 +00:00
Geoff Brown c81c5ac128 Bug 1575773 - Warn when cppunit test file missing, and cleanup cppunit manifest; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D77717
2020-06-02 15:52:09 +00:00
Geoff Brown f1655292fc Bug 1638954 - Run 'mach cppunittest' with python 3; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D77258
2020-05-28 14:45:50 +00:00
Kartikaya Gupta 3147ef7ed3 Bug 1558598 - Force WebRender on or off in the cppunit harness. r=ahal
Also adds it to the mach command, which is a little weird, because the
mach command doesn't expose the option but does parse it via the cpp unit
argument parser. So I just exposed it on the mach command and after that
it Just Works for mach.

Differential Revision: https://phabricator.services.mozilla.com/D35859
2019-06-29 09:49:23 +00:00
Marco Castelluccio 9cffe3e720 Bug 1559975 - Add future imports to testing/remotecppunittests.py and testing/runcppunittests.py and remove them from py2 exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35246
2019-06-28 13:47:57 +00:00
Mihai Alexandru Michis 3096a69833 Backed out 5 changesets (bug 1559982, bug 1559975) for cpp unit test failures due to unsupported operand type. CLOSED TREE
Backed out changeset 2309aac6cea3 (bug 1559975)
Backed out changeset bf5a6d853abd (bug 1559975)
Backed out changeset 0c36f78c971a (bug 1559975)
Backed out changeset 0560cf7df7dc (bug 1559975)
Backed out changeset 4cb64ca524e7 (bug 1559982)
2019-06-27 02:03:31 +03:00
Marco Castelluccio 9639d4daa1 Bug 1559975 - Add future imports to testing/remotecppunittests.py and testing/runcppunittests.py and remove them from py2 exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35246
2019-06-26 15:31:24 +00:00
Aaron Klotz 94d3378ed9 Bug 1238305: Modify cppunittests to look up breakpad symbols for logged stack traces; r=ted 2019-05-03 13:00:46 -06:00
David Teller 233a94405d Bug 1377007 - autospider.py,runcppunittests.py export the path to directory js/src,r=Yoric
Some tests need to find out js/src to locate their test
data. Exporting this information as part of the environment.

MozReview-Commit-ID: JAefL2arhJL
2017-12-08 11:14:12 +01:00
Narcis Beleuzu eab6497ef0 Backed out 7 changesets (bug 1377007) for web platform reftests failures on CSS2/borders. r=backout
Backed out changeset c30bc5d5adbc (bug 1377007)
Backed out changeset 33fdf9e531e2 (bug 1377007)
Backed out changeset 267abdb38036 (bug 1377007)
Backed out changeset 4a452c3ac115 (bug 1377007)
Backed out changeset e9310960c9e6 (bug 1377007)
Backed out changeset 8e5e61dfbbaf (bug 1377007)
Backed out changeset 9ac83e79e656 (bug 1377007)
2017-12-15 02:16:50 +02:00
David Teller 9f3c725867 Bug 1377007 - autospider.py,runcppunittests.py export the path to directory js/src,r=Yoric
Some tests need to find out js/src to locate their test
data. Exporting this information as part of the environment.

MozReview-Commit-ID: JAefL2arhJL
2017-12-08 11:14:12 +01:00
Andrew Halberstadt f6b35510de Bug 1209463 - [test] Log suite names in test harnesses, r=gbrown
Suite names are currently only used by formatters to print out
an overall summary from |mach test| and |mach mochitest|. So
this doesn't need to be exact and can be tweaked further at a
later date.

If multiple test invocations have the same suite name, their
results will be merged in the overall summary. If a suite name
is missing, the summary will contain a placeholder name.

MozReview-Commit-ID: K1xpb9hUQRX
2017-11-27 17:20:06 -05:00
Sylvestre Ledru 0c8fbda4f2 Bug 1406666 - Add testing/*cppun*.py to the list of flake8 compliant code r=ahal
MozReview-Commit-ID: KWsXMRgy4XG
2017-10-07 19:45:12 +02:00
Mike Hommey c4bb3bcd21 Bug 1403366 - Don't set MOZILLA_FIVE_HOME from multiple scripts. r=froydnj
It was seldom used before previous commit and now does nothing.
2017-09-28 11:00:09 +09:00
Sebastian Hengst 7f8825b233 Backed out changeset ff0705eda4bd (bug 1403366) 2017-10-04 01:26:56 +02:00
Mike Hommey 391f9bfd6f Bug 1403366 - Don't set MOZILLA_FIVE_HOME from multiple scripts. r=froydnj
It was seldom used before previous commit and now does nothing.
2017-09-28 11:00:09 +09:00
Sebastian Hengst 303d16ba32 Backed out changeset 28b00bdf83a3 (bug 1403366) 2017-09-29 17:19:35 +02:00
Mike Hommey c5fd2bd415 Bug 1403366 - Don't set MOZILLA_FIVE_HOME from multiple scripts. r=froydnj
It was seldom used before previous commit and now does nothing.
2017-09-28 11:00:09 +09:00
Simon Garesste 3eb8de30a2 Bug 1231810 - Fix files not following flake8 convention r=ted
flake8 was reporting the following issues:
* expected two blank lines
* unexpected spaces around keyword / parameter equals
* wrongly imported modules or multiple imports on one line
* under-indented lines for visual indent
* unidentified name because of a bad call

MozReview-Commit-ID: 7sjDoH4Z89L
2016-01-10 11:19:37 +01:00
Ting-Yu Chou 9c40f931c5 Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
MozReview-Commit-ID: 6F9UXgTRb2Y
2017-03-10 12:08:34 +08:00
Wes Kocher 3095b422dc Backed out 7 changesets (bug 1333003) for windows asan failures a=backout
Backed out changeset 3d2b2eeda8d3 (bug 1333003)
Backed out changeset 400d409ba4ca (bug 1333003)
Backed out changeset 1ba027abdfc9 (bug 1333003)
Backed out changeset 70114135bd8c (bug 1333003)
Backed out changeset 5715b15e33c0 (bug 1333003)
Backed out changeset 375e952bd738 (bug 1333003)
Backed out changeset d5d4112599f2 (bug 1333003)

MozReview-Commit-ID: DZUHJTdjX7V
2017-03-23 11:01:44 -07:00
Ting-Yu Chou f66b5c4835 Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
MozReview-Commit-ID: 6F9UXgTRb2Y
2017-03-10 12:08:34 +08:00
Carsten "Tomcat" Book 88dfdca025 Backed out changeset 18fd8676751a (bug 1333003) 2017-03-23 10:38:04 +01:00
Ting-Yu Chou f761f3c2a3 Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
MozReview-Commit-ID: 6F9UXgTRb2Y
2017-03-10 12:08:34 +08:00
Nathan Froyd 7836672d4c Bug 1281918 - make runcppunittests filter out non-executable files when given a directory; r=chmanchester
When runcppunittest (resp. |mach cppunittest|) is passed a directory, it
attempts to indiscriminately run all the files found in that directory.
This is unhelpful, as directories containing compiled cppunittests also
tend to have other things: Makefiles, object files, etc.  Let's filter
out non-executable files from the directory listing and make the user
experience more pleasant.
2016-06-24 04:02:18 -04:00
Wes Kocher 7e3ed1b7eb Backed out changeset c6617c4a27b4 (bug 1238305) for android cpp failures 2016-01-29 15:01:46 -08:00
Aaron Klotz 7e9f8f89c4 Bug 1238305: Modify cppunittests to look up breakpad symbols for logged stack traces; r=ted 2016-01-12 12:58:59 -07:00
Stephen A Pohl 051837a6c8 Bug 1217144: Allow for cppunittest to be run locally on OSX. r=erahm 2015-10-27 13:50:56 -04:00
Andrew McCreight 3483a78dff Bug 1215679 - Ignore ODR violations in ASan CPP unit tests. r=jmaher 2015-10-22 09:33:43 -07:00
Andrew McCreight 011fe15992 Bug 1216721 - Only get the symbolizer path for ASan for ASan builds. r=chmanchester 2015-10-22 09:33:43 -07:00
Geoff Brown eddda2f5de Bug 1090276 - Support mach cppunittest on Android; r=dminor 2015-09-14 08:40:35 -06:00
Jonathan Griffin c8edf4f6e5 Bug 1190474 - Allow test-specific timeouts to be specified in cppunittest.ini, r=chmanchester 2015-08-12 16:25:56 -07:00
Sebastian Hengst eb1e0b7375 Backout bedff4a78d9a (bug 1190474) for B2G ICS Emulator Cpp unittests permafail. r=backout 2015-08-13 09:08:45 +02:00
Jonathan Griffin 64f39c8e9c Bug 1190474 - Allow test-specific timeouts to be specified in cppunittest.ini, r=chmanchester 2015-08-12 16:25:56 -07:00