summaryrefslogtreecommitdiffstats
path: root/devtools
diff options
context:
space:
mode:
authorsay <[email protected]>2023-12-08 17:40:48 +0300
committersay <[email protected]>2023-12-08 19:58:59 +0300
commit914f57e3243f53dd89dd3adb4d8b6d35c47f46ce (patch)
tree98a1f1f1f5e2c38db3a78da10aeb7eb7d4e952e0 /devtools
parente61293d91ee7c923944f627d8e1138bcb17cacad (diff)
Make support_retries() and get_type() methods of object instead of class ones. Reduce get_type_name() usage.
Diffstat (limited to 'devtools')
-rw-r--r--devtools/ya/opensource/ya.conf.json1128
-rw-r--r--devtools/ya/test/const/tests/test_validate_test_types.py23
-rw-r--r--devtools/ya/test/const/tests/ya.make14
-rw-r--r--devtools/ya/test/const/ya.make4
4 files changed, 0 insertions, 1169 deletions
diff --git a/devtools/ya/opensource/ya.conf.json b/devtools/ya/opensource/ya.conf.json
deleted file mode 100644
index 8de0d5f2080..00000000000
--- a/devtools/ya/opensource/ya.conf.json
+++ /dev/null
@@ -1,1128 +0,0 @@
-{
- "bottles": {
- "clang16": {
- "executable": {
- "c++": [
- "bin",
- "clang++"
- ],
- "c++filt": [
- "bin",
- "llvm-cxxfilt"
- ],
- "cc": [
- "bin",
- "clang"
- ],
- "clang-rename": [
- "bin",
- "clang-rename"
- ],
- "llvm-cov": [
- "bin",
- "llvm-cov"
- ],
- "llvm-gcov": [
- "bin",
- "llvm-gcov"
- ],
- "llvm-nm": [
- "bin",
- "llvm-nm"
- ],
- "llvm-objcopy": [
- "bin",
- "llvm-objcopy"
- ],
- "llvm-profdata": [
- "bin",
- "llvm-profdata"
- ],
- "llvm-strip": [
- "bin",
- "llvm-strip"
- ],
- "llvm-symbolizer": [
- "bin",
- "llvm-symbolizer"
- ]
- },
- "formula": "build/platform/clang/clang16.json"
- },
- "gdb": {
- "executable": {
- "gcore": [
- "gdb",
- "bin",
- "gcore"
- ],
- "gdb": [
- "gdb",
- "bin",
- "gdb"
- ],
- "gdbserver": [
- "gdb",
- "bin",
- "gdbserver"
- ]
- },
- "formula": "build/external_resources/gdb/resources.json"
- },
- "golang": {
- "executable": {
- "go": [
- "bin",
- "go"
- ],
- "gofmt": [
- "bin",
- "gofmt"
- ]
- },
- "formula": "build/external_resources/go_tools/go1.21.json"
- },
- "python": {
- "executable": {
- "python": [
- "python"
- ]
- },
- "formula": "build/platform/python/ymake_python2/resources.json"
- },
- "ya-tc": {
- "executable": {
- "ya-tc": [
- "ya-tc"
- ]
- },
- "formula": "build/external_resources/ya-tc/public.resources.json"
- },
- "yexport": {
- "executable": {
- "yexport": [
- "yexport"
- ]
- },
- "formula": "build/external_resources/yexport/public.resources.json"
- },
- "ymake": {
- "executable": {
- "ymake": [
- "ymake"
- ]
- },
- "formula": "build/external_resources/ymake/public.resources.json"
- },
- "ymake_python3": {
- "executable": {
- "python3": [
- "python3"
- ]
- },
- "formula": "build/platform/python/ymake_python3/resources.json"
- },
- "ytexec": {
- "executable": {
- "ytexec": [
- "ytexec",
- "ytexec"
- ]
- },
- "formula": "build/external_resources/ytexec/resources.json"
- }
- },
- "toolchain": {
- "clang16": {
- "env": {
- "CPATH": [
- ""
- ],
- "LIBRARY_PATH": [
- ""
- ],
- "SDKROOT": [
- ""
- ]
- },
- "params": {
- "c_compiler": "$(CLANG)/bin/clang",
- "cxx_compiler": "$(CLANG)/bin/clang++",
- "gcc_version": "16",
- "llvm-symbolizer": "$(CLANG)/bin/llvm-symbolizer",
- "match_root": "CLANG",
- "objcopy": "$(CLANG)/bin/llvm-objcopy",
- "profiles": "$(XCODE_TOOLS_ROOT-sbr:799017771)/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles",
- "simctl": "$(XCODE_TOOLS_ROOT-sbr:799017771)/Xcode/SystemRoot/PrivateFrameworks/CoreSimulator.framework/Resources/bin/simctl",
- "strip": "$(CLANG)/bin/llvm-strip",
- "type": "clang",
- "use_bundle": true,
- "werror_mode": "all"
- },
- "platforms": [
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "x86_64",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "aarch64",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "aarch64",
- "os": "LINUX"
- },
- "target": {
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "aarch64",
- "os": "LINUX"
- },
- "target": {
- "arch": "aarch64",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "ppc64le",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "power9le",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "x86_64",
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "arm64",
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "i386",
- "os": "IOS"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "x86_64",
- "os": "IOS"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "armv7",
- "os": "IOS"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "arm64",
- "os": "IOS"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "arm64",
- "os": "IOSSIM"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "armv7a",
- "os": "YOCTO"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "arch": "x86_64",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "arch": "aarch64",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "arch": "ppc64le",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "arch": "power9le",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "arch": "x86_64",
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "arch": "arm64",
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "arch": "i386",
- "os": "IOS"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "arch": "x86_64",
- "os": "IOS"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "arch": "armv7",
- "os": "IOS"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "arch": "arm64",
- "os": "IOS"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "arch": "arm64",
- "os": "IOSSIM"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- },
- "target": {
- "arch": "x86_64",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- },
- "target": {
- "arch": "aarch64",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- },
- "target": {
- "arch": "ppc64le",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- },
- "target": {
- "arch": "power9le",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- },
- "target": {
- "arch": "x86_64",
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- },
- "target": {
- "arch": "arm64",
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- },
- "target": {
- "arch": "i386",
- "os": "IOS"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- },
- "target": {
- "arch": "x86_64",
- "os": "IOS"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- },
- "target": {
- "arch": "armv7",
- "os": "IOS"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- },
- "target": {
- "arch": "arm64",
- "os": "IOS"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- },
- "target": {
- "arch": "arm64",
- "os": "IOSSIM"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "armv7a",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "armv7a_cortex_a9",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "armv7ahf_cortex_a35",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "armv7ahf_cortex_a53",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "armv7ahf",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "armv8a_cortex_a35",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "armv8a_cortex_a53",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "ppc64le",
- "os": "LINUX"
- },
- "target": {
- "arch": "ppc64le",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "ppc64le",
- "os": "LINUX"
- },
- "target": {
- "arch": "power9le",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- },
- "target": {
- "arch": "armv7ahf_cortex_a53",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "wasm64",
- "os": "EMSCRIPTEN"
- }
- }
- ],
- "tools": {
- "c++": {
- "bottle": "clang16",
- "executable": "c++"
- },
- "c++filt": {
- "bottle": "clang16",
- "executable": "c++filt"
- },
- "cc": {
- "bottle": "clang16",
- "executable": "cc"
- },
- "clang-rename": {
- "bottle": "clang16",
- "executable": "clang-rename"
- },
- "gcov": {
- "bottle": "clang16",
- "executable": "llvm-gcov"
- },
- "llvm-cov": {
- "bottle": "clang16",
- "executable": "llvm-cov"
- },
- "llvm-profdata": {
- "bottle": "clang16",
- "executable": "llvm-profdata"
- },
- "llvm-symbolizer": {
- "bottle": "clang16",
- "executable": "llvm-symbolizer"
- },
- "nm": {
- "bottle": "clang16",
- "executable": "llvm-nm"
- },
- "objcopy": {
- "bottle": "clang16",
- "executable": "llvm-objcopy"
- },
- "strip": {
- "bottle": "clang16",
- "executable": "llvm-strip"
- }
- }
- },
- "clang16-windows": {
- "name": "clang16",
- "params": {
- "c_compiler": "$(CLANG)/bin/clang-cl",
- "cxx_compiler": "$(CLANG)/bin/clang-cl",
- "cxx_std": "c++20",
- "llvm-symbolizer": "$(CLANG)/bin/llvm-symbolizer",
- "match_root": "CLANG",
- "type": "msvc",
- "use_bundle": true,
- "use_clang": true,
- "version": "2019",
- "werror_mode": "all",
- "wine": "yes"
- },
- "platforms": [
- {
- "default": false,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "x86_64",
- "os": "WIN"
- }
- },
- {
- "default": false,
- "host": {
- "os": "LINUX"
- },
- "target": {
- "arch": "i686",
- "os": "WIN"
- }
- },
- {
- "default": false,
- "host": {
- "os": "WIN"
- },
- "target": {
- "arch": "x86_64",
- "os": "WIN"
- }
- },
- {
- "default": false,
- "host": {
- "os": "WIN"
- },
- "target": {
- "arch": "i686",
- "os": "WIN"
- }
- }
- ],
- "tools": {
- "c++": {
- "bottle": "clang16",
- "executable": "c++"
- },
- "c++filt": {
- "bottle": "clang16",
- "executable": "c++filt"
- },
- "cc": {
- "bottle": "clang16",
- "executable": "cc"
- },
- "gcov": {
- "bottle": "clang16",
- "executable": "llvm-gcov"
- },
- "llvm-cov": {
- "bottle": "clang16",
- "executable": "llvm-cov"
- },
- "llvm-profdata": {
- "bottle": "clang16",
- "executable": "llvm-profdata"
- },
- "llvm-symbolizer": {
- "bottle": "clang16",
- "executable": "llvm-symbolizer"
- },
- "nm": {
- "bottle": "clang16",
- "executable": "llvm-nm"
- },
- "objcopy": {
- "bottle": "clang16",
- "executable": "llvm-objcopy"
- },
- "strip": {
- "bottle": "clang16",
- "executable": "llvm-strip"
- }
- }
- },
- "gdb": {
- "env": {
- "TERMINFO": [
- "$(ROOT)/gdb/lib/terminfo"
- ]
- },
- "platforms": [
- {
- "default": true,
- "host": {
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "WIN"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "ppc64le",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "aarch64",
- "os": "LINUX"
- }
- }
- ],
- "tools": {
- "gdb": {
- "bottle": "gdb",
- "executable": "gdb"
- }
- }
- },
- "golang": {
- "params": {
- "type": "golang",
- "version": "1.20.6"
- },
- "platforms": [
- {
- "default": true,
- "host": {
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "os": "WIN"
- }
- }
- ],
- "tools": {
- "go": {
- "bottle": "golang",
- "executable": "go"
- },
- "gofmt": {
- "bottle": "golang",
- "executable": "gofmt"
- }
- }
- },
- "python": {
- "platforms": [
- {
- "default": true,
- "host": {
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "WIN"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "aarch64",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "ppc64le",
- "os": "LINUX"
- }
- }
- ],
- "tools": {
- "python": {
- "bottle": "python",
- "executable": "python"
- }
- }
- },
- "ya-tc": {
- "platforms": [
- {
- "default": true,
- "host": {
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- }
- }
- ],
- "tools": {
- "ya-tc": {
- "bottle": "ya-tc",
- "executable": "ya-tc"
- }
- }
- },
- "yexport": {
- "platforms": [
- {
- "default": true,
- "host": {
- "os": "LINUX"
- }
- }
- ],
- "tools": {
- "yexport": {
- "bottle": "yexport",
- "executable": "yexport"
- }
- }
- },
- "ymake": {
- "platforms": [
- {
- "default": true,
- "host": {
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "WIN"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "aarch64",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "ppc64le",
- "os": "LINUX"
- }
- }
- ],
- "tools": {
- "ymake": {
- "bottle": "ymake",
- "executable": "ymake"
- }
- }
- },
- "ymake_python3": {
- "platforms": [
- {
- "default": true,
- "host": {
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "os": "WIN"
- }
- },
- {
- "default": true,
- "host": {
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "arm64",
- "os": "DARWIN"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "aarch64",
- "os": "LINUX"
- }
- },
- {
- "default": true,
- "host": {
- "arch": "ppc64le",
- "os": "LINUX"
- }
- }
- ],
- "tools": {
- "ymake_python3": {
- "bottle": "ymake_python3",
- "executable": "python3"
- }
- }
- },
- "ytexec": {
- "platforms": [
- {
- "default": true,
- "host": {
- "os": "LINUX"
- }
- }
- ],
- "tools": {
- "ytexec": {
- "bottle": "ytexec",
- "executable": "ytexec"
- }
- }
- }
- },
- "toolchain_aliases": {
- "clang-win-i686": "clang14-win-i686",
- "clang-win-x86_64": "clang14-win-x86_64",
- "gcc-linux-x86_64": "gcc82-linux-x86_64",
- "msvc-win-x86_64": "msvc2019-win-x86_64"
- },
- "tools": {
- "gdb": {
- "description": "Run gdb"
- },
- "python": {
- "description": "Run pseudo-python",
- "visible": false
- },
- "ya-tc": {
- "description": "Run ya-tc tool",
- "visible": false
- },
- "yexport": {
- "description": "Run yexport",
- "visible": false
- },
- "ymake": {
- "description": "Run ymake",
- "visible": false
- },
- "ymake_python3": {
- "description": "Run pseudo-python3",
- "visible": false
- },
- "ytexec": {
- "description": "Run ytexec"
- }
- }
-}
diff --git a/devtools/ya/test/const/tests/test_validate_test_types.py b/devtools/ya/test/const/tests/test_validate_test_types.py
deleted file mode 100644
index b8026382b67..00000000000
--- a/devtools/ya/test/const/tests/test_validate_test_types.py
+++ /dev/null
@@ -1,23 +0,0 @@
-from test import const, explore
-
-
-def get_test_types(name):
- return {suite.get_type() for suite in explore.SUITE_MAP.values() if suite.get_ci_type_name() == name}
-
-
-def test_validate_style_tests():
- assert get_test_types("style") == set(const.STYLE_TEST_TYPES)
-
-
-def test_validate_regular_tests():
- types = get_test_types("test")
- # TODO remove when DEVTOOLS-7066 is done
- types.remove('pytest_script')
- # Generated test types are listed below
- types.remove('coverage_extractor')
- types.remove('import_test')
- types.remove('validate_resource')
- types.remove('validate_data_sbr')
- # TODO remove when python2 will be removed from arcadia
- types.add('py2test')
- assert types == set(const.REGULAR_TEST_TYPES)
diff --git a/devtools/ya/test/const/tests/ya.make b/devtools/ya/test/const/tests/ya.make
deleted file mode 100644
index a6444636a46..00000000000
--- a/devtools/ya/test/const/tests/ya.make
+++ /dev/null
@@ -1,14 +0,0 @@
-PY23_TEST()
-
-STYLE_PYTHON()
-
-TEST_SRCS(
- test_validate_test_types.py
-)
-
-PEERDIR(
- devtools/ya/test/const
- devtools/ya/test/explore
-)
-
-END()
diff --git a/devtools/ya/test/const/ya.make b/devtools/ya/test/const/ya.make
index 7b6f1bfb8d8..e495887db7c 100644
--- a/devtools/ya/test/const/ya.make
+++ b/devtools/ya/test/const/ya.make
@@ -12,7 +12,3 @@ PY_SRCS(
)
END()
-
-RECURSE_FOR_TESTS(
- tests
-)