From e7bfa4a4d665ecf35852aa978f385a2cf38feeec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= <mpg@elzevir.fr>
Date: Thu, 4 Nov 2010 21:25:45 +0100
Subject: Add a test file for base.

---
 luatexbase.dtx | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

(limited to 'luatexbase.dtx')

diff --git a/luatexbase.dtx b/luatexbase.dtx
index 991e137..3e14f4c 100644
--- a/luatexbase.dtx
+++ b/luatexbase.dtx
@@ -44,6 +44,12 @@ See source file '\inFileName' for details.
   \file{luatexbase.sty}{\from{luatexbase.dtx}{texpackage}}%
 }
 
+\generate{%
+  \usedir{doc/luatex/luatexbase}%
+  \file{test-base-plain.tex}{\from{luatexbase.dtx}{testplain}}%
+  \file{test-base-latex.tex}{\from{luatexbase.dtx}{testlatex}}%
+}
+
 \obeyspaces
 \Msg{************************************************************************}
 \Msg{*}
@@ -253,6 +259,17 @@ See source file '\inFileName' for details.
 %</texpackage>
 %    \end{macrocode}
 %
+%    \section{Test file}
+%
+%    Very minimal, just check that the package correctly loads.
+%
+%    \begin{macrocode}
+%<testplain>\input luatexbase.sty
+%<testlatex>\RequirePackage{luatexbase}
+%<testplain>\bye
+%<testlatex>\stop
+%    \end{macrocode}
+%
 %
 % \Finale
 \endinput
-- 
cgit v1.2.3

