Skip to content

Commit bec44ca

Browse files
author
pg
committed
fix tests after
1 parent 1be7a36 commit bec44ca

File tree

1 file changed

+10
-0
lines changed
  • library/python/testing/yatest_common/yatest/common

1 file changed

+10
-0
lines changed

library/python/testing/yatest_common/yatest/common/runtime.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,11 @@ def c_compiler_path():
362362
return os.environ.get("YA_CC")
363363

364364

365+
def c_compiler_cmd():
366+
p = c_compiler_path()
367+
return [p, '-isystem' + os.path.dirname(os.path.dirname(p)) + '/share/include']
368+
369+
365370
def get_yt_hdd_path(path=None):
366371
if 'HDD_PATH' in os.environ:
367372
return _join_path(os.environ['HDD_PATH'], path)
@@ -374,6 +379,11 @@ def cxx_compiler_path():
374379
return os.environ.get("YA_CXX")
375380

376381

382+
def cxx_compiler_cmd():
383+
p = cxx_compiler_path()
384+
return [p, '-isystem' + os.path.dirname(os.path.dirname(p)) + '/share/include']
385+
386+
377387
def global_resources():
378388
try:
379389
if "YA_GLOBAL_RESOURCES" in os.environ:

0 commit comments

Comments
 (0)