[latex3-commits] [git/latex3] master: Add "does it load" test to xfrac (see #420) (f2a0037)

Bruno Le Floch bruno at le-floch.fr
Tue Nov 28 21:01:16 CET 2017


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/f2a0037d9af9d2b17a6f46bb5e077c9ffe85e57a

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

commit f2a0037d9af9d2b17a6f46bb5e077c9ffe85e57a
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Tue Nov 28 14:57:46 2017 -0500

    Add "does it load" test to xfrac (see #420)


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

f2a0037d9af9d2b17a6f46bb5e077c9ffe85e57a
 l3packages/xfrac/build.lua              |    2 +-
 l3packages/xfrac/testfiles/xfrac000.lvt |   16 ++++++++++++++++
 l3packages/xfrac/testfiles/xfrac000.tlg |   24 ++++++++++++++++++++++++
 3 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/l3packages/xfrac/build.lua b/l3packages/xfrac/build.lua
index ba88f2a..88a50ef 100644
--- a/l3packages/xfrac/build.lua
+++ b/l3packages/xfrac/build.lua
@@ -11,7 +11,7 @@ module = "xfrac"
 maindir = "../.."
 
 -- Non-standard settings
-testfiledir  = "" -- No tests
+checksearch  = true
 
 -- Load the common build code
 dofile(maindir .. "/build-config.lua")
diff --git a/l3packages/xfrac/testfiles/xfrac000.lvt b/l3packages/xfrac/testfiles/xfrac000.lvt
new file mode 100644
index 0000000..70a0316
--- /dev/null
+++ b/l3packages/xfrac/testfiles/xfrac000.lvt
@@ -0,0 +1,16 @@
+%
+% Copyright (C) 2017 LaTeX3 Project
+%
+
+\documentclass{minimal}
+\input{regression-test}
+\RequirePackage[enable-debug]{expl3}
+\RequirePackage{amstext,graphicx,l3keys2e,textcomp,xparse,xtemplate}
+\ExplSyntaxOn
+\debug_on:n { deprecation }
+\ExplSyntaxOff
+
+\START
+\AUTHOR{Bruno Le Floch}
+\RequirePackage{xfrac}
+\END
diff --git a/l3packages/xfrac/testfiles/xfrac000.tlg b/l3packages/xfrac/testfiles/xfrac000.tlg
new file mode 100644
index 0000000..335d9f0
--- /dev/null
+++ b/l3packages/xfrac/testfiles/xfrac000.tlg
@@ -0,0 +1,24 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+Author: Bruno Le Floch
+(xfrac.sty
+\l__xfrac_slash_box=\box72
+\l__xfrac_tmp_box=\box73
+\l__xfrac_denominator_bot_sep_dim=\dimen167
+\l__xfrac_numerator_bot_sep_dim=\dimen168
+\l__xfrac_numerator_top_sep_dim=\dimen169
+\l__xfrac_slash_left_sep_dim=\dimen170
+\l__xfrac_slash_right_sep_dim=\dimen171
+\l__xfrac_slash_left_muskip=\muskip47
+\l__xfrac_slash_right_muskip=\muskip48
+.................................................
+. xtemplate info: "declare-object-type"
+. 
+. Declaring object type 'xfrac' taking 3 argument(s) on line ....
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+. 
+. Defining command \sfrac with sig. 'omom' on line ....
+.................................................
+)





More information about the latex3-commits mailing list