blob: 4c12a1d54443ebf87720b8c4c22bf89748177e6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
|
%%
%% This is file `regression-test.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% l3build.dtx (with options: `package')
%%
%% Copyright (C) 2014-2016 The LaTeX3 Project
%%
%% It may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License (LPPL), either version 1.3c of
%% this license or (at your option) any later version. The latest
%% version of this license is in the file:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% This file is part of the "l3build bundle" (The Work in LPPL)
%% and all files in that bundle must be distributed together.
%%
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname eTeXversion\endcsname\relax
\errmessage{e-TeX is required to use regression-test.tex}%
\expandafter\endinput
\fi
\ifx\unprotect\undefined
\expandafter\edef\csname reset\string @catcodes\endcsname{%
\catcode`\noexpand\@=\the\catcode`\@\relax
}%
\catcode`\@=11 %
\else
\unprotect
\def\reset@catcodes{\protect}%
\fi
\ifnum\interactionmode>1 \scrollmode\fi
\errorcontextlines=-1 %
\showboxbreadth=\maxdimen
\showboxdepth=\maxdimen
\def\loggingoutput{%
\tracingoutput=1 %
\showboxbreadth=\maxdimen
\showboxdepth=\maxdimen
}
\newlinechar=`\^^J
\long\def\LONGTYPEOUT#1{%
\begingroup
\long\def\TYPE##1{##1}%
\immediate\write128{#1}%
\endgroup
}
\let\TYPE\LONGTYPEOUT
\def\STARTMESSAGE{This is a generated file for the l3build validation system.}
\def\START{%
\LONGTYPEOUT{^^JSTART-TEST-LOG^^J}%
\LONGTYPEOUT{^^J%
\STARTMESSAGE%
^^J^^JDon't change this file in any respect.%
^^J^^J%
}%
}
\ifx\@@end\@undefined
\let\@@@end\end
\else
\let\@@@end\@@end
\fi
\def\END{%
\ifnum\currentgrouplevel>0 %
\LONGTYPEOUT{Bad grouping: \the\currentgrouplevel!}%
\fi
\ifnum\currentiflevel>2 %
\LONGTYPEOUT{Bad conditionals: \the\numexpr\currentiflevel-2!}%
\fi
\LONGTYPEOUT{^^JEND-TEST-LOG^^J}%
\@@@end
}
\ifx\@@end\@undefined
\let\end\END
\else
\let\@@end\END
\fi
\def\OMIT{\LONGTYPEOUT{OMIT}}
\def\TIMO{\LONGTYPEOUT{TIMO}}
\ifx\InputIfFileExists\@undefined
\newread\@inputcheck
\long\def\InputIfFileExists#1#2#3{%
\openin\@inputcheck#1\relax
\ifeof\@inputcheck
\def\reserved@a{#3}%
\else
\def\reserved@a{#2\input #1\relax}%
\fi
\closein\@inputcheck
\reserved@a
}%
\fi
\InputIfFileExists{regression-test.cfg}
{\LONGTYPEOUT{^^J***^^Jregression-test.cfg in operation^^J***^^J}}{}
\newcount\gTESTint
\def\SEPARATOR{%
\TYPE{%
============================================================%
}%
}
\protected\long\def\BEGINTEST#1{%
\global\advance\gTESTint by 1 %
\SEPARATOR
\LONGTYPEOUT{TEST \the\gTESTint: \detokenize{#1}}%
\SEPARATOR
\begingroup
\let\TYPE\LONGTYPEOUT
}
\protected\long\def\ENDTEST{%
\endgroup
\SEPARATOR
\LONGTYPEOUT{}%
}
\long\def\TEST#1#2{%
\BEGINTEST{#1}%
#2%
\ENDTEST
}
\long\def\TESTEXP#1#2{%
\BEGINTEST{#1}%
\LONGTYPEOUT{#2}%
\ENDTEST
}
\def \TRUE {\TYPE{TRUE}}
\def \FALSE {\TYPE{FALSE}}
\def \YES {\TYPE{YES}}
\def \NO {\TYPE{NO}}
\def \NEWLINE {\TYPE{^^J}}
\ifx\pdfoutput\@undefined
\ifx\outputmode\@undefined
\else
\ifnum\outputmode>0 %
\pdfextension mapfile{pdftex.map}%
\fi
\fi
\else
\ifnum\pdfoutput>0 %
\pdfmapfile{pdftex.map}%
\fi
\fi
\ifnum 0%
\ifx\pdfoutput\@undefined\else\ifnum\pdfoutput>0 1\fi\fi
\ifx\outputmode\@undefined\else\ifnum\outputmode>0 1\fi\fi
>0 %
\ifx\pdfvariable\@undefined
\pdfinfo{/Producer (\ifx\directlua\@undefined pdf\else Lua\fi TeX)}
\ifx\pdfinfoomitdate\@undefined\else
\pdfinfoomitdate = 1 %
\pdfsuppressptexinfo = 1 %
\pdftrailerid{}
\fi
\else
\pdfextension info{/Producer (LuaTeX)}
\pdfvariable suppressoptionalinfo \numexpr
0
+ 1 % PTEX.Fullbanner
+ 32 % CreationDate
+ 64 % ModDate
\relax
\fi
\else
\special{%
pdf: docinfo
<<
/Creator (TeX)
/CreationDate ()
/ModDate ()
/Producer (\ifx\XeTeXversion\@undefined\else x\fi dvipdfmx)
>>
}
\fi
\reset@catcodes
%%
%%
%% End of file `regression-test.tex'.
|