Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@
}
],
"version": "[SARIF version]"
}
}
4 changes: 3 additions & 1 deletion clang/test/Analysis/lit.local.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ config.substitutions.append(
)
)

sed_cmd = "/opt/freeware/bin/sed" if "system-aix" in config.available_features else "sed"

# Filtering command for testing SARIF output against reference output.
config.substitutions.append(
(
"%normalize_sarif",
"sed -r '%s;%s;%s;%s'"
f"{sed_cmd} -r '%s;%s;%s;%s'"
% (
# Replace version strings that are likely to change.
r's/"version": ".* version .*"/"version": "[clang version]"/',
Expand Down