summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprettyboy <[email protected]>2023-09-13 12:06:51 +0300
committerprettyboy <[email protected]>2023-09-13 12:40:52 +0300
commit2bbcf2a0266e5466629010c3a272279075356ad7 (patch)
tree689a01c2b5df966d2d2b3b5ee8acd3cac6335aa0
parentfc3dd49af468e386f516606954df7339308ea86b (diff)
[devtools/contrib/piglet/projects/ydb/config.yaml] Added tools required for unittests
Без них у ydb не будут работать unittest тесты: ``` ./ya test -r ydb/core/blobstorage/base/ut Error[-WUserErr]: in At top level: Target 'build/platform/test_tool' not found Error[-WUserErr]: in At top level: Target 'build/external_resources/go_tools' not found Error[-WUserErr]: in At top level: Target 'build/platform/java/jstyle_lib' not found Configure error (use -k to proceed) ```
-rw-r--r--build/external_resources/go_tools/go1.20.json19
-rw-r--r--build/external_resources/go_tools/ya.make9
-rw-r--r--build/platform/java/jstyle_lib/ya.make11
-rw-r--r--build/platform/test_tool/host.ya.make.inc17
-rw-r--r--build/platform/test_tool/ya.make20
5 files changed, 76 insertions, 0 deletions
diff --git a/build/external_resources/go_tools/go1.20.json b/build/external_resources/go_tools/go1.20.json
new file mode 100644
index 00000000000..703d0ede768
--- /dev/null
+++ b/build/external_resources/go_tools/go1.20.json
@@ -0,0 +1,19 @@
+{
+ "by_platform": {
+ "darwin-arm64": {
+ "uri": "sbr:4773521027"
+ },
+ "darwin-x86_64": {
+ "uri": "sbr:4773516480"
+ },
+ "linux-x86_64": {
+ "uri": "sbr:4773507347"
+ },
+ "linux-aarch64": {
+ "uri": "sbr:4773511397"
+ },
+ "win32-x86_64": {
+ "uri": "sbr:4773525032"
+ }
+ }
+}
diff --git a/build/external_resources/go_tools/ya.make b/build/external_resources/go_tools/ya.make
new file mode 100644
index 00000000000..d93a451b556
--- /dev/null
+++ b/build/external_resources/go_tools/ya.make
@@ -0,0 +1,9 @@
+RESOURCES_LIBRARY()
+
+IF(GOSTD_VERSION == 1.20)
+ DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE_BY_JSON(GO_TOOLS go1.20.json)
+ELSE()
+ MESSAGE(FATAL_ERROR Unsupported version [${GOSTD_VERSION}] of Go Standard Library)
+ENDIF()
+
+END()
diff --git a/build/platform/java/jstyle_lib/ya.make b/build/platform/java/jstyle_lib/ya.make
new file mode 100644
index 00000000000..234271639b2
--- /dev/null
+++ b/build/platform/java/jstyle_lib/ya.make
@@ -0,0 +1,11 @@
+RESOURCES_LIBRARY()
+
+OWNER(heretic)
+
+IF (USE_SYSTEM_JSTYLE_LIB)
+ MESSAGE(WARNING System java codestyle library $USE_SYSTEM_JSTYLE_LIB will be used)
+ELSE()
+ DECLARE_EXTERNAL_RESOURCE(JSTYLE_LIB sbr:4978388684)
+ENDIF()
+
+END()
diff --git a/build/platform/test_tool/host.ya.make.inc b/build/platform/test_tool/host.ya.make.inc
new file mode 100644
index 00000000000..005ca02f326
--- /dev/null
+++ b/build/platform/test_tool/host.ya.make.inc
@@ -0,0 +1,17 @@
+IF (HOST_OS_DARWIN AND HOST_ARCH_X86_64)
+ DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:5067132840)
+ DECLARE_EXTERNAL_RESOURCE(TEST_TOOL3_HOST sbr:5067178664)
+ELSEIF (HOST_OS_DARWIN AND HOST_ARCH_ARM64)
+ DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:5067132097)
+ DECLARE_EXTERNAL_RESOURCE(TEST_TOOL3_HOST sbr:5067177433)
+ELSEIF (HOST_OS_LINUX AND HOST_ARCH_X86_64)
+ DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:5067134447)
+ DECLARE_EXTERNAL_RESOURCE(TEST_TOOL3_HOST sbr:5067180809)
+ELSEIF (HOST_OS_LINUX AND HOST_ARCH_AARCH64)
+ DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:5067131075)
+ DECLARE_EXTERNAL_RESOURCE(TEST_TOOL3_HOST sbr:5067176401)
+ELSEIF (HOST_OS_WINDOWS AND HOST_ARCH_X86_64)
+ DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:5067133512)
+ DECLARE_EXTERNAL_RESOURCE(TEST_TOOL3_HOST sbr:5067179541)
+
+ENDIF()
diff --git a/build/platform/test_tool/ya.make b/build/platform/test_tool/ya.make
new file mode 100644
index 00000000000..fd97d51ed84
--- /dev/null
+++ b/build/platform/test_tool/ya.make
@@ -0,0 +1,20 @@
+RESOURCES_LIBRARY()
+OWNER(
+ g:yatest
+ heretic
+)
+
+IF (TEST_TOOL_HOST_LOCAL)
+ MESSAGE(WARNING Host test tool $TEST_TOOL_HOST_LOCAL will be used)
+ENDIF()
+INCLUDE(host.ya.make.inc)
+IF (TEST_TOOL_TARGET_LOCAL)
+ MESSAGE(WARNING Target test tool $TEST_TOOL_TARGET_LOCAL will be used)
+ENDIF()
+IF (OS_IOS AND NOT BUILD_IOS_APP)
+ DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_TARGET sbr:707351393)
+ INCLUDE(${ARCADIA_ROOT}/build/platform/xcode/tools/ya.make.inc)
+ENDIF()
+
+END()
+