diff --git a/sycl/test-e2e/lit.cfg.py b/sycl/test-e2e/lit.cfg.py index a422c92639fe0..a396c84a95863 100644 --- a/sycl/test-e2e/lit.cfg.py +++ b/sycl/test-e2e/lit.cfg.py @@ -251,7 +251,7 @@ def check_igc_tag_and_add_feature(): def quote_path(path): if platform.system() == "Windows": - return f'"{path}"' + return f'"{path}"' if path else "" return shlex.quote(path) # Call the function to perform the check and add the feature