[latex3-commits] [git/LaTeX3-latex3-hyperref] main: skip one test with older xdvipdfmx (8de07c3)

David Carlisle d.p.carlisle at gmail.com
Sun Feb 7 15:18:15 CET 2021


Repository : https://github.com/latex3/hyperref
On branch  : main
Link       : https://github.com/latex3/hyperref/commit/8de07c3cae552d93733b177fb063fb031a2f5c66

>---------------------------------------------------------------

commit 8de07c3cae552d93733b177fb063fb031a2f5c66
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sun Feb 7 14:18:15 2021 +0000

    skip one test with older xdvipdfmx


>---------------------------------------------------------------

8de07c3cae552d93733b177fb063fb031a2f5c66
 build.lua | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/build.lua b/build.lua
index c88df67..7d8293d 100644
--- a/build.lua
+++ b/build.lua
@@ -82,6 +82,25 @@ sourcefiles = {
   "doc/*.tex",
 }
 
+
+
+
+
+function checkinit_hook ()
+local dvipdfmxversion=0
+local pipe = io.popen'xdvipdfmx --version'
+for line in pipe:lines() do
+    if string.match(line,"xdvipdfmx Version") then
+      dvipdfmxversion=tonumber(string.match(line,"%d+"))
+     end
+end
+pipe:close()
+if (dvipdfmxversion <= 20200315) then
+excludetests={"unicode-test"}
+end
+end
+
+
 excludefiles={"hyperref/hyperref-doc.tex"}
 
 typesetfiles = {"hyperref-doc.tex", "backref.dtx", "hyperref.dtx", "nameref.dtx"}





More information about the latex3-commits mailing list.