Skip to content

Commit

Permalink
Normalise .enc files (see #284)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed Mar 6, 2023
1 parent ffeb9c1 commit 13376bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ this project uses date-based 'snapshot' version identifiers.
### Changed
- Generalize normalization of ghostscript version in PDF-based tests
- Include UNIX timestamps in generated ZIP files
- Normalize pdfTeX `.enc` file loading

## [2023-02-26]

Expand Down
4 changes: 4 additions & 0 deletions l3build-check.lua
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ local function normalize_log(content,engine,errlevels)
if match(line, "^%.+\\XeTeX.?.?.?file") then
line = gsub(line, pattern, "../%1")
end
-- pdfTeX .enc files
if match(line, "%.enc%}") then
line = gsub(line,"%{" .. pattern .. "%}","")
end
-- Deal with dates
if match(line, "[^<]%d%d%d%d[/%-]%d%d[/%-]%d%d") then
line = gsub(line,"%d%d%d%d[/%-]%d%d[/%-]%d%d","....-..-..")
Expand Down

0 comments on commit 13376bd

Please sign in to comment.