[latex3-commits] [git/LaTeX3-latex3-latex3] master: Make our l3experimental tests check for deprecated commands (a26b6e6)
Bruno Le Floch
bruno at le-floch.fr
Mon May 7 22:54:56 CEST 2018
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/a26b6e69adaede59ebee9b621877cc926a321d70
>---------------------------------------------------------------
commit a26b6e69adaede59ebee9b621877cc926a321d70
Author: Bruno Le Floch <bruno at le-floch.fr>
Date: Mon May 7 16:54:56 2018 -0400
Make our l3experimental tests check for deprecated commands
>---------------------------------------------------------------
a26b6e69adaede59ebee9b621877cc926a321d70
l3experimental/l3color/testfiles/m3color000.lvt | 4 ++--
l3experimental/l3color/testfiles/m3color001.lvt | 7 +++++--
l3experimental/l3draw/testfiles/m3draw000.lvt | 4 ++--
l3experimental/l3draw/testfiles/m3draw001.lvt | 6 +++---
l3experimental/l3draw/testfiles/m3draw002.lvt | 6 +++---
l3experimental/l3draw/testfiles/m3draw003.lvt | 6 +++---
l3experimental/l3draw/testfiles/m3draw004.lvt | 6 +++---
l3experimental/l3draw/testfiles/m3draw005.lvt | 6 +++---
l3experimental/l3draw/testfiles/m3draw006.lvt | 6 +++---
l3experimental/l3str/testfiles/m3str-convert000.lvt | 6 +++---
l3experimental/l3str/testfiles/m3str-convert002.lvt | 8 ++++----
l3experimental/l3str/testfiles/m3str-convert003.lvt | 7 +++++--
l3experimental/l3str/testfiles/m3str-convert004.lvt | 8 ++++++--
l3experimental/l3str/testfiles/m3str-format000.lvt | 6 +++---
l3experimental/l3str/testfiles/m3str-format001.lvt | 7 +++++--
l3experimental/l3str/testfiles/m3str-format002.lvt | 7 +++++--
l3experimental/xcoffins/testfiles/xcoffins000.lvt | 6 +++---
l3experimental/xcoffins/testfiles/xcoffins002.luatex.tlg | 2 ++
l3experimental/xcoffins/testfiles/xcoffins002.lvt | 7 +++++--
l3experimental/xcoffins/testfiles/xcoffins002.ptex.tlg | 2 ++
l3experimental/xcoffins/testfiles/xcoffins002.tlg | 2 ++
l3experimental/xcoffins/testfiles/xcoffins002.uptex.tlg | 2 ++
l3experimental/xcoffins/testfiles/xcoffins002.xetex.tlg | 2 ++
l3experimental/xcoffins/testfiles/xcoffins003.lvt | 7 +++++--
l3experimental/xgalley/testfiles/xgalley000.lvt | 6 +++---
25 files changed, 84 insertions(+), 52 deletions(-)
diff --git a/l3experimental/l3color/testfiles/m3color000.lvt b/l3experimental/l3color/testfiles/m3color000.lvt
index 7b2154e..decc523 100644
--- a/l3experimental/l3color/testfiles/m3color000.lvt
+++ b/l3experimental/l3color/testfiles/m3color000.lvt
@@ -5,9 +5,9 @@
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
\ExplSyntaxOn
-\debug_on:n { deprecation }
+\debug_on:n { check-declarations , deprecation }
\ExplSyntaxOff
\START
diff --git a/l3experimental/l3color/testfiles/m3color001.lvt b/l3experimental/l3color/testfiles/m3color001.lvt
index a539b8a..5a72a4f 100644
--- a/l3experimental/l3color/testfiles/m3color001.lvt
+++ b/l3experimental/l3color/testfiles/m3color001.lvt
@@ -1,13 +1,16 @@
%
-% Copyright (C) 2017-2018 The LaTeX3 Project
+% Copyright (C) 2017,2018 The LaTeX3 Project
%
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[check-declarations,log-functions]{expl3}
+\RequirePackage[enable-debug]{expl3}
\RequirePackage{l3color}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
\START
diff --git a/l3experimental/l3draw/testfiles/m3draw000.lvt b/l3experimental/l3draw/testfiles/m3draw000.lvt
index 335ae7e..742d7b4 100644
--- a/l3experimental/l3draw/testfiles/m3draw000.lvt
+++ b/l3experimental/l3draw/testfiles/m3draw000.lvt
@@ -5,9 +5,9 @@
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
\ExplSyntaxOn
-\debug_on:n { deprecation }
+\debug_on:n { check-declarations , deprecation }
\ExplSyntaxOff
\START
diff --git a/l3experimental/l3draw/testfiles/m3draw001.lvt b/l3experimental/l3draw/testfiles/m3draw001.lvt
index 214ee02..00e8f67 100644
--- a/l3experimental/l3draw/testfiles/m3draw001.lvt
+++ b/l3experimental/l3draw/testfiles/m3draw001.lvt
@@ -5,13 +5,13 @@
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
+\RequirePackage{l3draw}
\ExplSyntaxOn
-\debug_on:n { deprecation }
+\debug_on:n { check-declarations , deprecation , log-functions }
\ExplSyntaxOff
\AUTHOR{Joseph Wright}
-\RequirePackage{l3draw}
\ExplSyntaxOn
diff --git a/l3experimental/l3draw/testfiles/m3draw002.lvt b/l3experimental/l3draw/testfiles/m3draw002.lvt
index 1013a81..c27a223 100644
--- a/l3experimental/l3draw/testfiles/m3draw002.lvt
+++ b/l3experimental/l3draw/testfiles/m3draw002.lvt
@@ -5,13 +5,13 @@
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
+\RequirePackage{l3draw}
\ExplSyntaxOn
-\debug_on:n { deprecation }
+\debug_on:n { check-declarations , deprecation , log-functions }
\ExplSyntaxOff
\AUTHOR{Joseph Wright}
-\RequirePackage{l3draw}
\ExplSyntaxOn
diff --git a/l3experimental/l3draw/testfiles/m3draw003.lvt b/l3experimental/l3draw/testfiles/m3draw003.lvt
index eabaca5..dae2696 100644
--- a/l3experimental/l3draw/testfiles/m3draw003.lvt
+++ b/l3experimental/l3draw/testfiles/m3draw003.lvt
@@ -5,13 +5,13 @@
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
+\RequirePackage{l3draw}
\ExplSyntaxOn
-\debug_on:n { deprecation }
+\debug_on:n { check-declarations , deprecation , log-functions }
\ExplSyntaxOff
\AUTHOR{Joseph Wright}
-\RequirePackage{l3draw}
\ExplSyntaxOn
diff --git a/l3experimental/l3draw/testfiles/m3draw004.lvt b/l3experimental/l3draw/testfiles/m3draw004.lvt
index 932213e..7f0d279 100644
--- a/l3experimental/l3draw/testfiles/m3draw004.lvt
+++ b/l3experimental/l3draw/testfiles/m3draw004.lvt
@@ -5,13 +5,13 @@
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
+\RequirePackage{l3draw}
\ExplSyntaxOn
-\debug_on:n { deprecation }
+\debug_on:n { check-declarations , deprecation , log-functions }
\ExplSyntaxOff
\AUTHOR{Joseph Wright}
-\RequirePackage{l3draw}
\ExplSyntaxOn
diff --git a/l3experimental/l3draw/testfiles/m3draw005.lvt b/l3experimental/l3draw/testfiles/m3draw005.lvt
index 44c8ad0..5936a80 100644
--- a/l3experimental/l3draw/testfiles/m3draw005.lvt
+++ b/l3experimental/l3draw/testfiles/m3draw005.lvt
@@ -5,13 +5,13 @@
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
+\RequirePackage{l3draw}
\ExplSyntaxOn
-\debug_on:n { deprecation }
+\debug_on:n { check-declarations , deprecation , log-functions }
\ExplSyntaxOff
\AUTHOR{Joseph Wright}
-\RequirePackage{l3draw}
\ExplSyntaxOn
diff --git a/l3experimental/l3draw/testfiles/m3draw006.lvt b/l3experimental/l3draw/testfiles/m3draw006.lvt
index 24645ef..aed9064 100644
--- a/l3experimental/l3draw/testfiles/m3draw006.lvt
+++ b/l3experimental/l3draw/testfiles/m3draw006.lvt
@@ -5,13 +5,13 @@
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
+\RequirePackage{l3draw}
\ExplSyntaxOn
-\debug_on:n { deprecation }
+\debug_on:n { check-declarations , deprecation , log-functions }
\ExplSyntaxOff
\AUTHOR{Joseph Wright}
-\RequirePackage{l3draw}
\ExplSyntaxOn
diff --git a/l3experimental/l3str/testfiles/m3str-convert000.lvt b/l3experimental/l3str/testfiles/m3str-convert000.lvt
index 01c983c..11c0294 100644
--- a/l3experimental/l3str/testfiles/m3str-convert000.lvt
+++ b/l3experimental/l3str/testfiles/m3str-convert000.lvt
@@ -1,12 +1,12 @@
%
-% Copyright (C) 2017 LaTeX3 Project
+% Copyright (C) 2017,2018 LaTeX3 Project
%
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
\ExplSyntaxOn
-\debug_on:n { deprecation }
+\debug_on:n { check-declarations , deprecation }
\ExplSyntaxOff
\START
diff --git a/l3experimental/l3str/testfiles/m3str-convert002.lvt b/l3experimental/l3str/testfiles/m3str-convert002.lvt
index 57eb7e9..d6381bd 100644
--- a/l3experimental/l3str/testfiles/m3str-convert002.lvt
+++ b/l3experimental/l3str/testfiles/m3str-convert002.lvt
@@ -1,14 +1,14 @@
%
% Copyright (C) 2011, 2013, 2014, 2018 LaTeX3 Project
%
-
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
\RequirePackage{l3str-convert}
-
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
\begin{document}
-
\START
\AUTHOR{Bruno Le Floch}
\ExplSyntaxOn
diff --git a/l3experimental/l3str/testfiles/m3str-convert003.lvt b/l3experimental/l3str/testfiles/m3str-convert003.lvt
index db4f8d6..d335b27 100644
--- a/l3experimental/l3str/testfiles/m3str-convert003.lvt
+++ b/l3experimental/l3str/testfiles/m3str-convert003.lvt
@@ -1,11 +1,14 @@
%
-% Copyright (C) 2013 LaTeX3 Project
+% Copyright (C) 2013,2018 LaTeX3 Project
%
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[log-functions, check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
\RequirePackage{l3str-convert}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
\begin{document}
\START
diff --git a/l3experimental/l3str/testfiles/m3str-convert004.lvt b/l3experimental/l3str/testfiles/m3str-convert004.lvt
index 2fcfa9f..4088205 100644
--- a/l3experimental/l3str/testfiles/m3str-convert004.lvt
+++ b/l3experimental/l3str/testfiles/m3str-convert004.lvt
@@ -1,11 +1,15 @@
%
-% Copyright (C) 2012-2013 LaTeX3 Project
+% Copyright (C) 2012-2013,2018 LaTeX3 Project
%
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[log-functions, check-declarations]{expl3}
+
+\RequirePackage[enable-debug]{expl3}
\RequirePackage{l3str-convert}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
\begin{document}
diff --git a/l3experimental/l3str/testfiles/m3str-format000.lvt b/l3experimental/l3str/testfiles/m3str-format000.lvt
index ee0a71f..d776b9f 100644
--- a/l3experimental/l3str/testfiles/m3str-format000.lvt
+++ b/l3experimental/l3str/testfiles/m3str-format000.lvt
@@ -1,12 +1,12 @@
%
-% Copyright (C) 2017 LaTeX3 Project
+% Copyright (C) 2017,2018 LaTeX3 Project
%
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
\ExplSyntaxOn
-\debug_on:n { deprecation }
+\debug_on:n { check-declarations , deprecation }
\ExplSyntaxOff
\START
diff --git a/l3experimental/l3str/testfiles/m3str-format001.lvt b/l3experimental/l3str/testfiles/m3str-format001.lvt
index 801663c..052c71b 100644
--- a/l3experimental/l3str/testfiles/m3str-format001.lvt
+++ b/l3experimental/l3str/testfiles/m3str-format001.lvt
@@ -1,11 +1,14 @@
%
-% Copyright (C) 2012 LaTeX3 Project
+% Copyright (C) 2012,2018 LaTeX3 Project
%
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[log-functions, check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
\RequirePackage{l3str-format}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
\begin{document}
diff --git a/l3experimental/l3str/testfiles/m3str-format002.lvt b/l3experimental/l3str/testfiles/m3str-format002.lvt
index 2013de3..e445244 100644
--- a/l3experimental/l3str/testfiles/m3str-format002.lvt
+++ b/l3experimental/l3str/testfiles/m3str-format002.lvt
@@ -1,11 +1,14 @@
%
-% Copyright (C) 2012 LaTeX3 Project
+% Copyright (C) 2012,2018 LaTeX3 Project
%
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[log-functions, check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
\RequirePackage{l3str-format}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
\begin{document}
diff --git a/l3experimental/xcoffins/testfiles/xcoffins000.lvt b/l3experimental/xcoffins/testfiles/xcoffins000.lvt
index 3dd0f6a..c26987c 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins000.lvt
+++ b/l3experimental/xcoffins/testfiles/xcoffins000.lvt
@@ -1,13 +1,13 @@
%
-% Copyright (C) 2017 LaTeX3 Project
+% Copyright (C) 2017,2018 LaTeX3 Project
%
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
\RequirePackage{xtemplate,xparse}
\ExplSyntaxOn
-\debug_on:n { deprecation }
+\debug_on:n { check-declarations , deprecation }
\ExplSyntaxOff
\START
diff --git a/l3experimental/xcoffins/testfiles/xcoffins002.luatex.tlg b/l3experimental/xcoffins/testfiles/xcoffins002.luatex.tlg
index 75fd387..f6414e8 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins002.luatex.tlg
+++ b/l3experimental/xcoffins/testfiles/xcoffins002.luatex.tlg
@@ -4,7 +4,9 @@ Author: LaTeX3 Project
============================================================
TEST 1: 1: New coffins
============================================================
+Defining \aaa on line ...
\aaa=\box...
+Defining \bbb on line ...
\bbb=\box...
Size of coffin \aaa:
> ht = 0.0pt
diff --git a/l3experimental/xcoffins/testfiles/xcoffins002.lvt b/l3experimental/xcoffins/testfiles/xcoffins002.lvt
index dec8190..19710dd 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins002.lvt
+++ b/l3experimental/xcoffins/testfiles/xcoffins002.lvt
@@ -1,11 +1,14 @@
%
-% Copyright (C) 2010-2011,2017 LaTeX3 Project
+% Copyright (C) 2010-2011,2017,2018 LaTeX3 Project
%
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[native-drivers,check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
\RequirePackage{xcoffins}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
\begin{document}
\START
diff --git a/l3experimental/xcoffins/testfiles/xcoffins002.ptex.tlg b/l3experimental/xcoffins/testfiles/xcoffins002.ptex.tlg
index 793da5b..8814c7e 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins002.ptex.tlg
+++ b/l3experimental/xcoffins/testfiles/xcoffins002.ptex.tlg
@@ -4,7 +4,9 @@ Author: LaTeX3 Project
============================================================
TEST 1: 1: New coffins
============================================================
+Defining \aaa on line ...
\aaa=\box...
+Defining \bbb on line ...
\bbb=\box...
Size of coffin \aaa:
> ht = 0.0pt
diff --git a/l3experimental/xcoffins/testfiles/xcoffins002.tlg b/l3experimental/xcoffins/testfiles/xcoffins002.tlg
index 8a926fe..9bca8bb 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins002.tlg
+++ b/l3experimental/xcoffins/testfiles/xcoffins002.tlg
@@ -4,7 +4,9 @@ Author: LaTeX3 Project
============================================================
TEST 1: 1: New coffins
============================================================
+Defining \aaa on line ...
\aaa=\box...
+Defining \bbb on line ...
\bbb=\box...
Size of coffin \aaa:
> ht = 0.0pt
diff --git a/l3experimental/xcoffins/testfiles/xcoffins002.uptex.tlg b/l3experimental/xcoffins/testfiles/xcoffins002.uptex.tlg
index 793da5b..8814c7e 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins002.uptex.tlg
+++ b/l3experimental/xcoffins/testfiles/xcoffins002.uptex.tlg
@@ -4,7 +4,9 @@ Author: LaTeX3 Project
============================================================
TEST 1: 1: New coffins
============================================================
+Defining \aaa on line ...
\aaa=\box...
+Defining \bbb on line ...
\bbb=\box...
Size of coffin \aaa:
> ht = 0.0pt
diff --git a/l3experimental/xcoffins/testfiles/xcoffins002.xetex.tlg b/l3experimental/xcoffins/testfiles/xcoffins002.xetex.tlg
index 793da5b..8814c7e 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins002.xetex.tlg
+++ b/l3experimental/xcoffins/testfiles/xcoffins002.xetex.tlg
@@ -4,7 +4,9 @@ Author: LaTeX3 Project
============================================================
TEST 1: 1: New coffins
============================================================
+Defining \aaa on line ...
\aaa=\box...
+Defining \bbb on line ...
\bbb=\box...
Size of coffin \aaa:
> ht = 0.0pt
diff --git a/l3experimental/xcoffins/testfiles/xcoffins003.lvt b/l3experimental/xcoffins/testfiles/xcoffins003.lvt
index 17adc12..0376f04 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins003.lvt
+++ b/l3experimental/xcoffins/testfiles/xcoffins003.lvt
@@ -1,11 +1,14 @@
%
-% Copyright (C) 2010-2012,2014,2017 LaTeX3 Project
+% Copyright (C) 2010-2012,2014,2017,2018 LaTeX3 Project
%
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[native-drivers,check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
\RequirePackage{xcoffins}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
\begin{document}
\START
diff --git a/l3experimental/xgalley/testfiles/xgalley000.lvt b/l3experimental/xgalley/testfiles/xgalley000.lvt
index 70eda92..6465852 100644
--- a/l3experimental/xgalley/testfiles/xgalley000.lvt
+++ b/l3experimental/xgalley/testfiles/xgalley000.lvt
@@ -1,13 +1,13 @@
%
-% Copyright (C) 2017 LaTeX3 Project
+% Copyright (C) 2017,2018 LaTeX3 Project
%
\documentclass{minimal}
\input{regression-test}
-\RequirePackage[check-declarations]{expl3}
+\RequirePackage[enable-debug]{expl3}
\RequirePackage{xtemplate,xparse}
\ExplSyntaxOn
-\debug_on:n { deprecation }
+\debug_on:n { check-declarations , deprecation }
\ExplSyntaxOff
\START
More information about the latex3-commits
mailing list