[latex3-commits] [latex3/l3build] main: Add test for ConTeXt (8c19ec8)
github at latex-project.org
github at latex-project.org
Mon Jul 17 08:49:06 CEST 2023
Repository : https://github.com/latex3/l3build
On branch : main
Link : https://github.com/latex3/l3build/commit/8c19ec80a5a4083d330f6624ab262c36ef0752b8
>---------------------------------------------------------------
commit 8c19ec80a5a4083d330f6624ab262c36ef0752b8
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Jul 17 07:49:06 2023 +0100
Add test for ConTeXt
>---------------------------------------------------------------
8c19ec80a5a4083d330f6624ab262c36ef0752b8
build.lua | 2 +-
config-context.lua | 4 ++++
testfiles-context/context.lvt | 7 +++++++
testfiles-context/context.tlg | 2 ++
4 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/build.lua b/build.lua
index 212408d..b8ac3ba 100644
--- a/build.lua
+++ b/build.lua
@@ -5,7 +5,7 @@ module = "l3build"
bundle = ""
-- Non-standard settings
-checkconfigs = {"build", "config-pdf", "config-plain"}
+checkconfigs = {"build", "config-pdf", "config-plain","config-context"}
checkdeps = { }
checkengines = {"pdftex", "xetex", "luatex", "ptex", "uptex"}
cleanfiles = {"*.pdf", "*.tex", "*.zip"}
diff --git a/config-context.lua b/config-context.lua
new file mode 100644
index 0000000..1708717
--- /dev/null
+++ b/config-context.lua
@@ -0,0 +1,4 @@
+stdengine = "luametatex"
+checkengines = {"luametatex","luatex"}
+checkformat = "context"
+testfiledir = "testfiles-context"
diff --git a/testfiles-context/context.lvt b/testfiles-context/context.lvt
new file mode 100644
index 0000000..0e11947
--- /dev/null
+++ b/testfiles-context/context.lvt
@@ -0,0 +1,7 @@
+\starttext
+\input{regression-test}
+\START
+ Hello!
+ \wlog{Hello}
+\OMIT
+\stoptext
diff --git a/testfiles-context/context.tlg b/testfiles-context/context.tlg
new file mode 100644
index 0000000..bfbef44
--- /dev/null
+++ b/testfiles-context/context.tlg
@@ -0,0 +1,2 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
More information about the latex3-commits
mailing list.