-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run tests with subst
drive letters
#4617
Comments
No. The problem is in generated Python script at #!/usr/bin/env python
# -*- coding: utf-8 -*-
#===----------------------------------------------------------------------===##
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===----------------------------------------------------------------------===##
import os
import sys
config_map = {}
def map_config(source_dir, site_config):
global config_map
source_dir = os.path.realpath(source_dir)
source_dir = os.path.normcase(source_dir)
site_config = os.path.normpath(site_config)
config_map[source_dir] = site_config
# Make sure we can find the lit package.
sys.path.insert(0, os.path.join("D:/STL/llvm-project/llvm", 'utils', 'lit'))
map_config("D:/STL/llvm-project/libcxx/test/lit.cfg.py", "D:/STL/out/x64/tests/libcxx/lit.site.cfg")
map_config("D:/STL/tests/libcxx/lit.cfg", "D:/STL/out/x64/tests/libcxx/lit.site.cfg")
map_config("D:/STL/tests/std/lit.cfg", "D:/STL/out/x64/tests/std/lit.site.cfg")
map_config("D:/STL/tests/tr1/lit.cfg", "D:/STL/out/x64/tests/tr1/lit.site.cfg")
builtin_parameters= {}
builtin_parameters['config_map'] = config_map
if __name__=='__main__':
from lit.main import main
main(builtin_parameters) The paths like in However, this operation Commenting this line out works around the issue. |
Thanks! It seems like if one side is using the |
Yes, but there are multiple "other sides". Changing |
Encountered by @H-G-Hristov in #4611.
Possibly related to the codepaths that I changed in #4395.Confirmed by @AlexGuteniev on Discord, quoting his repro:
The text was updated successfully, but these errors were encountered: