[latex3-commits] [git/LaTeX3-latex3-latex3] master: Remove debug checks from contrib tests (27c7897)
Bruno Le Floch
bruno at le-floch.fr
Sat May 5 18:23:30 CEST 2018
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/27c78974bc11484db0c523a35f74549f5f7b813a
>---------------------------------------------------------------
commit 27c78974bc11484db0c523a35f74549f5f7b813a
Author: Bruno Le Floch <bruno at le-floch.fr>
Date: Sat May 5 18:23:30 2018 +0200
Remove debug checks from contrib tests
These tests are not really meant for us to check quality of the contrib
packages, just whether we break them accidentally. Package authors are
very much encouraged to have a test of the form
\RequirePackage[enable-debug]{expl3}
\ExplSyntaxOn
\debug_on:n { all }
\ExplSyntaxOff
...
\RequirePackage{mypkg}
...
>---------------------------------------------------------------
27c78974bc11484db0c523a35f74549f5f7b813a
contrib/testfiles/chemformula001.lvt | 6 +-----
contrib/testfiles/ctex001.lvt | 4 ----
contrib/testfiles/ctex002.lvt | 4 ----
contrib/testfiles/fontspec001.lvt | 7 ++-----
contrib/testfiles/mhchem001.lvt | 6 +-----
contrib/testfiles/siunitx001.lvt | 6 +-----
contrib/testfiles/unicode-math001.lvt | 5 +----
7 files changed, 6 insertions(+), 32 deletions(-)
diff --git a/contrib/testfiles/chemformula001.lvt b/contrib/testfiles/chemformula001.lvt
index f2f8aa0..37b7c7e 100644
--- a/contrib/testfiles/chemformula001.lvt
+++ b/contrib/testfiles/chemformula001.lvt
@@ -1,5 +1,5 @@
%
-% Copyright (C) 2015-2017 The LaTeX3 Project
+% Copyright (C) 2015-2018 The LaTeX3 Project
%
\documentclass{article}
@@ -7,10 +7,6 @@
\AUTHOR{Joseph Wright}
% Avoid needing KOMA-Script
-\usepackage[enable-debug]{expl3}
-\ExplSyntaxOn
-\debug_on:n { deprecation }
-\ExplSyntaxOff
\usepackage{xparse}
\DeclareDocumentCommand\AfterPackage{smm}{}
\expandafter\def\csname ver at scrlfile.sty\endcsname{}
diff --git a/contrib/testfiles/ctex001.lvt b/contrib/testfiles/ctex001.lvt
index b902f02..438531c 100644
--- a/contrib/testfiles/ctex001.lvt
+++ b/contrib/testfiles/ctex001.lvt
@@ -23,10 +23,6 @@
\input{regression-test}
\AUTHOR{Qing Lee}
-\usepackage[enable-debug]{expl3}
-\ExplSyntaxOn
-\debug_on:n { deprecation }
-\ExplSyntaxOff
\usepackage{xparse}
\usepackage{xtemplate}
diff --git a/contrib/testfiles/ctex002.lvt b/contrib/testfiles/ctex002.lvt
index ba0c3c6..f6d5d96 100644
--- a/contrib/testfiles/ctex002.lvt
+++ b/contrib/testfiles/ctex002.lvt
@@ -23,10 +23,6 @@
\input{regression-test}
\AUTHOR{Qing Lee}
-\usepackage[enable-debug]{expl3}
-\ExplSyntaxOn
-\debug_on:n { deprecation }
-\ExplSyntaxOff
\usepackage{xparse}
\usepackage{xtemplate}
diff --git a/contrib/testfiles/fontspec001.lvt b/contrib/testfiles/fontspec001.lvt
index e9a1697..177b9d0 100644
--- a/contrib/testfiles/fontspec001.lvt
+++ b/contrib/testfiles/fontspec001.lvt
@@ -1,15 +1,12 @@
%
-% Copyright (C) 2015-2017 The LaTeX3 Project
+% Copyright (C) 2015-2018 The LaTeX3 Project
%
\documentclass{article}
\input{regression-test}
\AUTHOR{Joseph Wright}
-\usepackage[enable-debug]{expl3}
-\ExplSyntaxOn
-\debug_on:n { deprecation }
-\ExplSyntaxOff
+\usepackage{expl3}
\START
diff --git a/contrib/testfiles/mhchem001.lvt b/contrib/testfiles/mhchem001.lvt
index 9eff8b7..b8e44a2 100644
--- a/contrib/testfiles/mhchem001.lvt
+++ b/contrib/testfiles/mhchem001.lvt
@@ -1,15 +1,11 @@
%
-% Copyright (C) 2015-2017 The LaTeX3 Project
+% Copyright (C) 2015-2018 The LaTeX3 Project
%
\documentclass{article}
\input{regression-test}
\AUTHOR{Joseph Wright}
-\usepackage[enable-debug]{expl3}
-\ExplSyntaxOn
-\debug_on:n { deprecation }
-\ExplSyntaxOff
\usepackage{mhchem}
\begin{document}
diff --git a/contrib/testfiles/siunitx001.lvt b/contrib/testfiles/siunitx001.lvt
index b1b7a5d..cff01c3 100644
--- a/contrib/testfiles/siunitx001.lvt
+++ b/contrib/testfiles/siunitx001.lvt
@@ -1,15 +1,11 @@
%
-% Copyright (C) 2015-2017 The LaTeX3 Project
+% Copyright (C) 2015-2018 The LaTeX3 Project
%
\documentclass{article}
\input{regression-test}
\AUTHOR{Joseph Wright}
-\usepackage[enable-debug]{expl3}
-\ExplSyntaxOn
-\debug_on:n { deprecation }
-\ExplSyntaxOff
\usepackage{siunitx}
\begin{document}
diff --git a/contrib/testfiles/unicode-math001.lvt b/contrib/testfiles/unicode-math001.lvt
index 9d0de0e..f471cd4 100644
--- a/contrib/testfiles/unicode-math001.lvt
+++ b/contrib/testfiles/unicode-math001.lvt
@@ -6,10 +6,7 @@
\input{regression-test}
\AUTHOR{Joseph Wright}
-\usepackage[enable-debug]{expl3}
-\ExplSyntaxOn
-\debug_on:n { deprecation }
-\ExplSyntaxOff
+\usepackage{expl3}
\START
More information about the latex3-commits
mailing list