[latex3-commits] [git/LaTeX3-latex3-latex3] master: Make our l3packages tests check for deprecated commands (2300180)

Bruno Le Floch bruno at le-floch.fr
Mon May 7 22:36:21 CEST 2018


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

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

commit 23001804ef0c57d095a4fd76a3ac8a8a83cc37d9
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Mon May 7 16:36:21 2018 -0400

    Make our l3packages tests check for deprecated commands


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

23001804ef0c57d095a4fd76a3ac8a8a83cc37d9
 l3packages/xfp/testfiles/xfp001.lvt              |    8 ++++++--
 l3packages/xfrac/testfiles/xfrac000.lvt          |    7 +++++--
 l3packages/xparse/testfiles/xparse001.lvt        |    7 +++++--
 l3packages/xparse/testfiles/xparse002.lvt        |   10 +++++-----
 l3packages/xparse/testfiles/xparse003.lvt        |    7 +++++--
 l3packages/xparse/testfiles/xparse004.luatex.tlg |    1 +
 l3packages/xparse/testfiles/xparse004.lvt        |   10 +++++-----
 l3packages/xparse/testfiles/xparse004.tlg        |    1 +
 l3packages/xtemplate/testfiles/xtemplate001.lvt  |    7 +++++--
 l3packages/xtemplate/testfiles/xtemplate002.lvt  |    7 +++++--
 l3packages/xtemplate/testfiles/xtemplate003.lvt  |    7 +++++--
 l3packages/xtemplate/testfiles/xtemplate005.lvt  |    7 +++++--
 12 files changed, 53 insertions(+), 26 deletions(-)

diff --git a/l3packages/xfp/testfiles/xfp001.lvt b/l3packages/xfp/testfiles/xfp001.lvt
index 362ef36..6659549 100644
--- a/l3packages/xfp/testfiles/xfp001.lvt
+++ b/l3packages/xfp/testfiles/xfp001.lvt
@@ -1,11 +1,15 @@
 %
-% Copyright (C) 2017 LaTeX3 Project
+% Copyright (C) 2017,2018 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
 
-\RequirePackage[check-declarations,log-functions]{expl3}
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
+
 \RequirePackage{xparse}
 
 \START
diff --git a/l3packages/xfrac/testfiles/xfrac000.lvt b/l3packages/xfrac/testfiles/xfrac000.lvt
index 9a79321..c71a57d 100644
--- a/l3packages/xfrac/testfiles/xfrac000.lvt
+++ b/l3packages/xfrac/testfiles/xfrac000.lvt
@@ -1,10 +1,13 @@
 %
-% Copyright (C) 2017 LaTeX3 Project
+% Copyright (C) 2017,2018 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
-\RequirePackage[enable-debug,check-declarations]{expl3}
+\RequirePackage[check-declarations]{expl3}
+\ExplSyntaxOn
+\debug_on:n { deprecation }
+\ExplSyntaxOff
 \RequirePackage{amstext,graphicx,l3keys2e,textcomp,xparse,xtemplate}
 \ExplSyntaxOn
 \debug_on:n { deprecation }
diff --git a/l3packages/xparse/testfiles/xparse001.lvt b/l3packages/xparse/testfiles/xparse001.lvt
index a87ac2d..a0dc4fd 100644
--- a/l3packages/xparse/testfiles/xparse001.lvt
+++ b/l3packages/xparse/testfiles/xparse001.lvt
@@ -1,11 +1,14 @@
 %
-% Copyright (C) 2009-2012,2014-2017 LaTeX3 Project
+% Copyright (C) 2009-2012,2014-2018 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
 
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
 \RequirePackage{xparse}
 
 \begin{document}
diff --git a/l3packages/xparse/testfiles/xparse002.lvt b/l3packages/xparse/testfiles/xparse002.lvt
index db8d18a..90de5d7 100644
--- a/l3packages/xparse/testfiles/xparse002.lvt
+++ b/l3packages/xparse/testfiles/xparse002.lvt
@@ -1,17 +1,17 @@
 %
-% Copyright (C) 2009-2012,2014,2015,2017 LaTeX3 Project
+% Copyright (C) 2009-2012,2014,2015,2017,2018 LaTeX3 Project
 %
-
 \documentclass{minimal}
 \input{regression-test}
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
 \RequirePackage{xparse}
-
 \begin{document}
 \START
 \AUTHOR{Joseph Wright}
 \ExplSyntaxOn
-
 \OMIT
 \cs_new:Npn \TYPELONG #1 {
   \if_meaning:w #1 \par
diff --git a/l3packages/xparse/testfiles/xparse003.lvt b/l3packages/xparse/testfiles/xparse003.lvt
index 7c0d5e9..aa53d95 100644
--- a/l3packages/xparse/testfiles/xparse003.lvt
+++ b/l3packages/xparse/testfiles/xparse003.lvt
@@ -1,11 +1,14 @@
 %
-% Copyright (C) 2011-2012,2014,2017 LaTeX3 Project
+% Copyright (C) 2011-2012,2014,2017,2018 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
 
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
 \RequirePackage{xparse}
 
 \begin{document}
diff --git a/l3packages/xparse/testfiles/xparse004.luatex.tlg b/l3packages/xparse/testfiles/xparse004.luatex.tlg
index 9338153..d50f590 100644
--- a/l3packages/xparse/testfiles/xparse004.luatex.tlg
+++ b/l3packages/xparse/testfiles/xparse004.luatex.tlg
@@ -1834,6 +1834,7 @@ TEST 25: NoValue passed to another command
 ============================================================
 TEST 26: Two processors
 ============================================================
+Defining \CountArg on line ...
 .................................................
 . LaTeX info: "xparse/redefine-command"
 . 
diff --git a/l3packages/xparse/testfiles/xparse004.lvt b/l3packages/xparse/testfiles/xparse004.lvt
index 707194f..3a57cff 100644
--- a/l3packages/xparse/testfiles/xparse004.lvt
+++ b/l3packages/xparse/testfiles/xparse004.lvt
@@ -1,17 +1,17 @@
 %
-% Copyright (C) 2012,2014,2015,2017 LaTeX3 Project
+% Copyright (C) 2012,2014,2015,2017,2018 LaTeX3 Project
 %
-
 \documentclass{minimal}
 \input{regression-test}
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
 \RequirePackage{xparse}
-
 \begin{document}
 \START
 \AUTHOR{Joseph Wright, Bruno Le Floch}
 \ExplSyntaxOn
-
 \OMIT
 \cs_new:Npn \TYPELONG #1 {
   \if_meaning:w #1 \par
diff --git a/l3packages/xparse/testfiles/xparse004.tlg b/l3packages/xparse/testfiles/xparse004.tlg
index cff19b6..00a3bbc 100644
--- a/l3packages/xparse/testfiles/xparse004.tlg
+++ b/l3packages/xparse/testfiles/xparse004.tlg
@@ -1834,6 +1834,7 @@ TEST 25: NoValue passed to another command
 ============================================================
 TEST 26: Two processors
 ============================================================
+Defining \CountArg on line ...
 .................................................
 . LaTeX info: "xparse/redefine-command"
 . 
diff --git a/l3packages/xtemplate/testfiles/xtemplate001.lvt b/l3packages/xtemplate/testfiles/xtemplate001.lvt
index 21ae0fb..c857948 100644
--- a/l3packages/xtemplate/testfiles/xtemplate001.lvt
+++ b/l3packages/xtemplate/testfiles/xtemplate001.lvt
@@ -1,10 +1,13 @@
 %
-% Copyright (C) 2009,2017 LaTeX3 Project
+% Copyright (C) 2009,2017,2018 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
-\RequirePackage[log-functions,check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
 \RequirePackage{xtemplate}
 
 \begin{document}
diff --git a/l3packages/xtemplate/testfiles/xtemplate002.lvt b/l3packages/xtemplate/testfiles/xtemplate002.lvt
index af0488f..7c3dfa2 100644
--- a/l3packages/xtemplate/testfiles/xtemplate002.lvt
+++ b/l3packages/xtemplate/testfiles/xtemplate002.lvt
@@ -1,11 +1,14 @@
 %
-% Copyright (C) 2009,2017 LaTeX3 Project
+% Copyright (C) 2009,2017,2018 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
 
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
 \RequirePackage{xtemplate}
 
 \begin{document}
diff --git a/l3packages/xtemplate/testfiles/xtemplate003.lvt b/l3packages/xtemplate/testfiles/xtemplate003.lvt
index 31d3325..a8ac4ae 100644
--- a/l3packages/xtemplate/testfiles/xtemplate003.lvt
+++ b/l3packages/xtemplate/testfiles/xtemplate003.lvt
@@ -1,10 +1,13 @@
 %
-% Copyright (C) 2009,2017 LaTeX3 Project
+% Copyright (C) 2009,2017,2018 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
-\RequirePackage[log-functions,check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
 \RequirePackage{xtemplate}
 
 \begin{document}
diff --git a/l3packages/xtemplate/testfiles/xtemplate005.lvt b/l3packages/xtemplate/testfiles/xtemplate005.lvt
index 3976091..b369023 100644
--- a/l3packages/xtemplate/testfiles/xtemplate005.lvt
+++ b/l3packages/xtemplate/testfiles/xtemplate005.lvt
@@ -1,10 +1,13 @@
 %
-% Copyright (C) 2012,2017 LaTeX3 Project
+% Copyright (C) 2012,2017,2018 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
-\RequirePackage[log-functions,check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
 \RequirePackage{xtemplate}
 
 \begin{document}





More information about the latex3-commits mailing list