summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-05-10 14:08:04 +0200
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-05-10 14:08:04 +0200
commit8fd9e7b8a4f2b27593ab5846cee40f0f525f9ef4 (patch)
tree8d0c58da05443b54f254e4d3c9731847e8c90771
parent95074d360fd857922415123ecf9ec4141d30daff (diff)
downloadluatexbase-8fd9e7b8a4f2b27593ab5846cee40f0f525f9ef4.tar.gz
Add a check for the previous bug in loader.
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 263875f..54fb88a 100644
--- a/Makefile
+++ b/Makefile
@@ -21,9 +21,10 @@ UNPACKED_ATTR = luatexbase-attr.sty attr.lua \
test-attr-plain.tex test-attr-latex.tex
UNPACKED_CCTB = luatexbase-cctb.sty cctb.lua \
test-cctb-plain.tex test-cctb-latex.tex
+TMP_LOADER = test-loader # temporary file for testing
UNPACKED_LOADER = $(LOADER_RUN) \
test-loader-plain.tex test-loader-latex.tex \
- test-loader.lua test-loader.sub.lua
+ $(TMP_LOADER).lua test-loader.sub.lua
UNPACKED_MODUTILS = $(MOD_RUN) test-modutils.lua \
test-modutils-plain.tex test-modutils-latex.tex
UNPACKED_COMPAT = $(COMPAT_RUN) \
@@ -111,6 +112,7 @@ check-cctb: $(UNPACKED_CCTB) $(LOADER_RUN) $(LINKS) $(COMPAT_RUN)
lualatex --interaction=batchmode test-cctb-latex.tex >/dev/null
check-loader: $(UNPACKED_LOADER) $(COMPAT_RUN)
+ echo "this is no lua code" > $(TMP_LOADER).tex
luatex --interaction=batchmode test-loader-plain.tex >/dev/null
lualatex --interaction=batchmode test-loader-latex.tex >/dev/null
@@ -162,5 +164,5 @@ clean:
@$(RM) -- *.log *.aux *.toc *.idx *.ind *.ilg *.out test-*.pdf
mrproper: clean
- @$(RM) -- $(GENERATED) $(ZIPS) $(LINKS)
+ @$(RM) -- $(GENERATED) $(ZIPS) $(LINKS) $(TMP_LOADER).tex