Bug 1471620 - Skip python-tests locally that don't run with python 3 in CI r=davehunt

This will make sure that when running |mach python-test --python 3| locally,
we only run the tests that also run in CI with python 3 (and therefore pass
presumably).

MozReview-Commit-ID: 3OBr9yLSlSq

--HG--
extra : rebase_source : 456340d0ecdddf1078f2b5b4ebb1eddf3813b26a
This commit is contained in:
Andrew Halberstadt 2018-06-27 11:10:02 -04:00
parent 50b93853b4
commit 9435736ade
24 changed files with 48 additions and 1 deletions

View file

@ -1 +1,4 @@
[DEFAULT]
skip-if = python == 3
[compare-mozconfigs.py] [compare-mozconfigs.py]

View file

@ -1,3 +1,6 @@
[DEFAULT]
skip-if = python == 3
[test_mozbuild_reading.py] [test_mozbuild_reading.py]
[unit-mozunit.py] [unit-mozunit.py]
[unit-nsinstall.py] [unit-nsinstall.py]

View file

@ -1 +1,4 @@
[DEFAULT]
skip-if = python == 3
[test_mozwebidlcodegen.py] [test_mozwebidlcodegen.py]

View file

@ -1,5 +1,6 @@
[DEFAULT] [DEFAULT]
subsuite=reftest subsuite=reftest
sequential=true sequential=true
skip-if = python == 3
[test_reftest_output.py] [test_reftest_output.py]

View file

@ -1 +1,4 @@
[DEFAULT]
skip-if = python == 3
[run_test_zip.py] [run_test_zip.py]

View file

@ -1,3 +1,6 @@
[DEFAULT]
skip-if = python == 3
[test_conditions.py] [test_conditions.py]
[test_config.py] [test_config.py]
[test_dispatcher.py] [test_dispatcher.py]

View file

@ -1 +1,4 @@
[DEFAULT]
skip-if = python == 3
[test_dumbmake.py] [test_dumbmake.py]

View file

@ -1,3 +1,6 @@
[DEFAULT]
skip-if = python == 3
[action/test_buildlist.py] [action/test_buildlist.py]
[action/test_langpack_manifest.py] [action/test_langpack_manifest.py]
[action/test_process_install_manifest.py] [action/test_process_install_manifest.py]

View file

@ -1,3 +1,6 @@
[DEFAULT]
skip-if = python == 3
[test_chrome_flags.py] [test_chrome_flags.py]
[test_chrome_manifest.py] [test_chrome_manifest.py]
[test_copier.py] [test_copier.py]

View file

@ -1,5 +1,6 @@
[DEFAULT] [DEFAULT]
subsuite = mozlint, os == "linux" subsuite = mozlint, os == "linux"
skip-if = python == 3
[test_cli.py] [test_cli.py]
[test_filterpaths.py] [test_filterpaths.py]

View file

@ -1,4 +1,5 @@
[DEFAULT] [DEFAULT]
subsuite=mozrelease subsuite=mozrelease
skip-if = python == 3
[test_versions.py] [test_versions.py]

View file

@ -1,4 +1,5 @@
[DEFAULT] [DEFAULT]
subsuite=mozversioncontrol subsuite=mozversioncontrol
skip-if = python == 3
[test_workdir_outgoing.py] [test_workdir_outgoing.py]

View file

@ -1,5 +1,6 @@
[DEFAULT] [DEFAULT]
subsuite = taskgraph subsuite = taskgraph
skip-if = python == 3
[test_create.py] [test_create.py]
[test_cron_util.py] [test_cron_util.py]

View file

@ -1,5 +1,6 @@
[DEFAULT] [DEFAULT]
subsuite = marionette-harness subsuite = marionette-harness
skip-if = python == 3
[test_httpd.py] [test_httpd.py]
[test_marionette_arguments.py] [test_marionette_arguments.py]

View file

@ -1,5 +1,6 @@
[DEFAULT] [DEFAULT]
subsuite = mochitest subsuite = mochitest
skip-if = python == 3
[test_basic_mochitest_plain.py] [test_basic_mochitest_plain.py]
sequential = true sequential = true

View file

@ -1,5 +1,6 @@
[DEFAULT] [DEFAULT]
subsuite = raptor subsuite = raptor
skip-if = python == 3
[test_cmdline.py] [test_cmdline.py]
[test_control_server.py] [test_control_server.py]

View file

@ -1,5 +1,6 @@
[DEFAULT] [DEFAULT]
subsuite = talos subsuite = talos
skip-if = python == 3
[test_config.py] [test_config.py]
[test_ffsetup.py] [test_ffsetup.py]

View file

@ -1,3 +1,3 @@
[selftest.py] [selftest.py]
# Disabled on Mac due to our builders still being on MacOS 10.7, see bug 1255588 # Disabled on Mac due to our builders still being on MacOS 10.7, see bug 1255588
skip-if = os == "mac" skip-if = os == "mac" || python == 3

View file

@ -1,3 +1,6 @@
[DEFAULT]
skip-if = python == 3
[test_gen_event_data_json.py] [test_gen_event_data_json.py]
[test_gen_scalar_data_json.py] [test_gen_scalar_data_json.py]
[test_histogramtools_non_strict.py] [test_histogramtools_non_strict.py]

View file

@ -1 +1,4 @@
[DEFAULT]
skip-if = python == 3
[unit-symbolstore.py] [unit-symbolstore.py]

View file

@ -1,4 +1,5 @@
[DEFAULT] [DEFAULT]
subsuite=mozlint, os == "linux" subsuite=mozlint, os == "linux"
skip-if = python == 3
[test_flake8.py] [test_flake8.py]

View file

@ -1,5 +1,6 @@
[DEFAULT] [DEFAULT]
subsuite=try subsuite=try
skip-if = python == 3
[test_fuzzy.py] [test_fuzzy.py]
[test_templates.py] [test_templates.py]

View file

@ -1 +1,4 @@
[DEFAULT]
skip-if = python == 3
[runtests.py] [runtests.py]

View file

@ -1 +1,4 @@
[DEFAULT]
skip-if = python == 3
[runtests.py] [runtests.py]