зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1877527 - convert .ini manifests to .toml: batch 23 remaining python.ini r=jmaher,webdriver-reviewers,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D200070
This commit is contained in:
Родитель
f542aabd08
Коммит
686ec09824
|
@ -1,7 +0,0 @@
|
|||
[DEFAULT]
|
||||
subsuite=reftest
|
||||
sequential=true
|
||||
|
||||
[test_python_manifest_parser.py]
|
||||
[test_reftest_manifest_parser.py]
|
||||
[test_reftest_output.py]
|
|
@ -0,0 +1,9 @@
|
|||
[DEFAULT]
|
||||
subsuite = "reftest"
|
||||
sequential = true
|
||||
|
||||
["test_python_manifest_parser.py"]
|
||||
|
||||
["test_reftest_manifest_parser.py"]
|
||||
|
||||
["test_reftest_output.py"]
|
|
@ -1,4 +0,0 @@
|
|||
[DEFAULT]
|
||||
subsuite = condprof
|
||||
|
||||
[test_client.py]
|
|
@ -0,0 +1,4 @@
|
|||
[DEFAULT]
|
||||
subsuite = "condprof"
|
||||
|
||||
["test_client.py"]
|
|
@ -1,9 +0,0 @@
|
|||
[DEFAULT]
|
||||
subsuite = marionette-harness
|
||||
|
||||
[test_httpd.py]
|
||||
[test_marionette_arguments.py]
|
||||
[test_marionette_harness.py]
|
||||
[test_marionette_runner.py]
|
||||
[test_marionette_test_result.py]
|
||||
[test_serve.py]
|
|
@ -0,0 +1,14 @@
|
|||
[DEFAULT]
|
||||
subsuite = "marionette-harness"
|
||||
|
||||
["test_httpd.py"]
|
||||
|
||||
["test_marionette_arguments.py"]
|
||||
|
||||
["test_marionette_harness.py"]
|
||||
|
||||
["test_marionette_runner.py"]
|
||||
|
||||
["test_marionette_test_result.py"]
|
||||
|
||||
["test_serve.py"]
|
|
@ -1,9 +0,0 @@
|
|||
[DEFAULT]
|
||||
subsuite = mochitest
|
||||
|
||||
[test_mochitest_integration.py]
|
||||
sequential = true
|
||||
[test_build_profile.py]
|
||||
[test_get_active_tests.py]
|
||||
[test_message_logger.py]
|
||||
[test_create_directories.py]
|
|
@ -0,0 +1,13 @@
|
|||
[DEFAULT]
|
||||
subsuite = "mochitest"
|
||||
|
||||
["test_build_profile.py"]
|
||||
|
||||
["test_create_directories.py"]
|
||||
|
||||
["test_get_active_tests.py"]
|
||||
|
||||
["test_message_logger.py"]
|
||||
|
||||
["test_mochitest_integration.py"]
|
||||
sequential = true
|
|
@ -167,7 +167,6 @@ class ManifestParser(object):
|
|||
|
||||
def read_file(type):
|
||||
include_file = section.split(type, 1)[-1]
|
||||
self.logger.debug_ci(f"INCLUDE: {include_file}")
|
||||
include_file = normalize_path(include_file)
|
||||
if not os.path.isabs(include_file):
|
||||
include_file = os.path.join(here, include_file)
|
||||
|
@ -213,17 +212,12 @@ class ManifestParser(object):
|
|||
if self.use_toml:
|
||||
fp, filename = self._get_fp_filename(toml_name)
|
||||
read_fn = read_toml
|
||||
self.logger.debug_ci(f"Reading TOML instead of INI: {filename}")
|
||||
else:
|
||||
self.logger.debug_ci(
|
||||
f"NOTE TOML present, but not used: {toml_name}"
|
||||
)
|
||||
self.logger.debug_ci(f"Reading INI: {filename}")
|
||||
else:
|
||||
self.logger.debug_ci(f"Reading INI: {filename}")
|
||||
elif file_ext == ".toml":
|
||||
read_fn = read_toml
|
||||
self.logger.debug_ci(f"Reading TOML: {filename}")
|
||||
else:
|
||||
raise IOError(f"manfestparser file extension not supported: {filename}")
|
||||
defaults["here"] = here
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
[DEFAULT]
|
||||
subsuite = raptor
|
||||
|
||||
[test_cmdline.py]
|
||||
[test_manifest.py]
|
||||
[test_utils.py]
|
||||
[test_playback.py]
|
||||
[test_print_tests.py]
|
||||
[test_raptor.py]
|
||||
[test_gecko_profile.py]
|
||||
[test_chrome_trace.py]
|
|
@ -0,0 +1,18 @@
|
|||
[DEFAULT]
|
||||
subsuite = "raptor"
|
||||
|
||||
["test_chrome_trace.py"]
|
||||
|
||||
["test_cmdline.py"]
|
||||
|
||||
["test_gecko_profile.py"]
|
||||
|
||||
["test_manifest.py"]
|
||||
|
||||
["test_playback.py"]
|
||||
|
||||
["test_print_tests.py"]
|
||||
|
||||
["test_raptor.py"]
|
||||
|
||||
["test_utils.py"]
|
|
@ -1,6 +0,0 @@
|
|||
[DEFAULT]
|
||||
subsuite = talos
|
||||
|
||||
[test_config.py]
|
||||
[test_test.py]
|
||||
[test_xtalos.py]
|
|
@ -0,0 +1,8 @@
|
|||
[DEFAULT]
|
||||
subsuite = "talos"
|
||||
|
||||
["test_config.py"]
|
||||
|
||||
["test_test.py"]
|
||||
|
||||
["test_xtalos.py"]
|
|
@ -7,12 +7,12 @@
|
|||
include("/js/app.mozbuild")
|
||||
|
||||
PYTHON_UNITTEST_MANIFESTS += [
|
||||
"/layout/tools/reftest/selftest/python.ini",
|
||||
"/testing/condprofile/condprof/tests/python.ini",
|
||||
"/testing/marionette/harness/marionette_harness/tests/harness_unit/python.ini",
|
||||
"/testing/mochitest/tests/python/python.ini",
|
||||
"/testing/raptor/test/python.ini",
|
||||
"/testing/talos/talos/unittests/python.ini",
|
||||
"/layout/tools/reftest/selftest/python.toml",
|
||||
"/testing/condprofile/condprof/tests/python.toml",
|
||||
"/testing/marionette/harness/marionette_harness/tests/harness_unit/python.toml",
|
||||
"/testing/mochitest/tests/python/python.toml",
|
||||
"/testing/raptor/test/python.toml",
|
||||
"/testing/talos/talos/unittests/python.toml",
|
||||
]
|
||||
|
||||
DIRS += [
|
||||
|
|
Загрузка…
Ссылка в новой задаче