summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralexv-smirnov <[email protected]>2023-09-07 14:35:55 +0300
committeralexv-smirnov <[email protected]>2023-09-07 15:42:10 +0300
commit018bb73493eb65545a42079b5c18f6534ae4715b (patch)
tree66e37b586680153d2c30801b35a8808a2227b329
parent9ef7cfd485f762234c31818dccb52b341d68cc36 (diff)
Enable run binaries using path from Env
-rw-r--r--ydb/library/yql/tests/common/test_framework/yqlrun.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/library/yql/tests/common/test_framework/yqlrun.py b/ydb/library/yql/tests/common/test_framework/yqlrun.py
index f0b13036131..127702a9925 100644
--- a/ydb/library/yql/tests/common/test_framework/yqlrun.py
+++ b/ydb/library/yql/tests/common/test_framework/yqlrun.py
@@ -28,13 +28,13 @@ class YQLRun(object):
def __init__(self, udfs_dir=None, prov='yt', use_sql2yql=False, keep_temp=True, binary=None, gateway_config=None, fs_config=None, extra_args=[], cfg_dir=None):
if binary is None:
- self.yqlrun_binary = yql_utils.yql_binary_path('ydb/library/yql/tools/yqlrun/yqlrun')
+ self.yqlrun_binary = yql_utils.yql_binary_path(os.getenv('YQL_YQLRUN_PATH') or 'ydb/library/yql/tools/yqlrun/yqlrun')
else:
self.yqlrun_binary = binary
self.extra_args = extra_args
try:
- self.sql2yql_binary = yql_utils.yql_binary_path('ydb/library/yql/tools/sql2yql/sql2yql')
+ self.sql2yql_binary = yql_utils.yql_binary_path(os.getenv('YQL_SQL2YQL_PATH') or 'ydb/library/yql/tools/sql2yql/sql2yql')
except BaseException:
self.sql2yql_binary = None