run_single_test.py: Fix for symlink changes

pull/12299/merge
Dylan Baker 2 weeks ago committed by Eli Schwartz
parent a6318fb861
commit a2b0e665bb
  1. 5
      run_single_test.py

@ -13,10 +13,11 @@ import pathlib
import typing as T
from mesonbuild import mlog
from mesonbuild.mesonlib import is_windows
from run_tests import handle_meson_skip_test
from run_project_tests import TestDef, load_test_json, run_test, BuildStep
from run_project_tests import setup_commands, detect_system_compiler, detect_tools
from run_project_tests import setup_symlinks, clear_transitive_files
from run_project_tests import scan_test_data_symlinks, setup_symlinks, clear_transitive_files
if T.TYPE_CHECKING:
from run_project_tests import CompilerArgumentType
@ -45,6 +46,8 @@ def main() -> None:
parser.add_argument('--quick', action='store_true', help='Skip some compiler and tool checking')
args = T.cast('ArgumentType', parser.parse_args())
if not is_windows():
scan_test_data_symlinks()
setup_symlinks()
setup_commands(args.backend)
if not args.quick:

Loading…
Cancel
Save