mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When absolute paths that need to be substituted by PathSanitizingFileCheck contained characters that could be part of regexp syntax, substitution didn't actually take place. For example, substitution like BUILD_DIR='/Users/johnsmith/swift-source/Ninja-RelWithDebInfoAssert+swift-DebugAssert' didn't result in anything because of the '+' in the path. This is an attempt to fix it. This commit also adds the --dry-run flag to PathSanitizingFileCheck which was used to detect and debug this issue, but why not let it stay.
3.2 KiB
Executable File
3.2 KiB
Executable File