aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpg <pg@yandex-team.com>2023-12-18 01:48:41 +0300
committerpg <pg@yandex-team.com>2023-12-18 03:38:00 +0300
commitbec44ca61cea6d7995112f235450e9442c2c796f (patch)
tree11508ee52263ade65188bc846301647a8ff8f789
parent1be7a368ccd0d328722cd7b30339cce09ad6ef2a (diff)
downloadydb-bec44ca61cea6d7995112f235450e9442c2c796f.tar.gz
fix tests after
-rw-r--r--library/python/testing/yatest_common/yatest/common/runtime.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/library/python/testing/yatest_common/yatest/common/runtime.py b/library/python/testing/yatest_common/yatest/common/runtime.py
index 7f6f9df440..9d2fe5932a 100644
--- a/library/python/testing/yatest_common/yatest/common/runtime.py
+++ b/library/python/testing/yatest_common/yatest/common/runtime.py
@@ -362,6 +362,11 @@ def c_compiler_path():
return os.environ.get("YA_CC")
+def c_compiler_cmd():
+ p = c_compiler_path()
+ return [p, '-isystem' + os.path.dirname(os.path.dirname(p)) + '/share/include']
+
+
def get_yt_hdd_path(path=None):
if 'HDD_PATH' in os.environ:
return _join_path(os.environ['HDD_PATH'], path)
@@ -374,6 +379,11 @@ def cxx_compiler_path():
return os.environ.get("YA_CXX")
+def cxx_compiler_cmd():
+ p = cxx_compiler_path()
+ return [p, '-isystem' + os.path.dirname(os.path.dirname(p)) + '/share/include']
+
+
def global_resources():
try:
if "YA_GLOBAL_RESOURCES" in os.environ: