summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2024-10-28 14:23:24 -0700
committerEli Schwartz <eschwartz93@gmail.com>2024-11-05 17:41:38 -0500
commita2b0e665bb8dbd1353311faf8af5b55113d21d96 (patch)
treeabf4b6137b9b3df2749412434899129d1203d495
parenta6318fb861d315ccbf46570d839101f3474e0d5f (diff)
downloadmeson-a2b0e665bb8dbd1353311faf8af5b55113d21d96.tar.gz
run_single_test.py: Fix for symlink changes
-rwxr-xr-xrun_single_test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/run_single_test.py b/run_single_test.py
index 6cc75ac17..b7c294269 100755
--- a/run_single_test.py
+++ b/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: