Skip to content

Commit 65780d5

Browse files
dcbakereli-schwartz
authored andcommitted
run_single_test.py: Fix for symlink changes
(cherry picked from commit a2b0e66)
1 parent 860752e commit 65780d5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

run_single_test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313
import typing as T
1414

1515
from mesonbuild import mlog
16+
from mesonbuild.mesonlib import is_windows
1617
from run_tests import handle_meson_skip_test
1718
from run_project_tests import TestDef, load_test_json, run_test, BuildStep
1819
from run_project_tests import setup_commands, detect_system_compiler, detect_tools
19-
from run_project_tests import setup_symlinks, clear_transitive_files
20+
from run_project_tests import scan_test_data_symlinks, setup_symlinks, clear_transitive_files
2021

2122
if T.TYPE_CHECKING:
2223
from run_project_tests import CompilerArgumentType
@@ -45,6 +46,8 @@ def main() -> None:
4546
parser.add_argument('--quick', action='store_true', help='Skip some compiler and tool checking')
4647
args = T.cast('ArgumentType', parser.parse_args())
4748

49+
if not is_windows():
50+
scan_test_data_symlinks()
4851
setup_symlinks()
4952
setup_commands(args.backend)
5053
if not args.quick:

0 commit comments

Comments
 (0)