summaryrefslogtreecommitdiffstats
path: root/tests/eof_cont.mk
diff options
context:
space:
mode:
authorThomas Oltmann <thomas.oltmann.hhg@gmail.com>2022-01-09 15:25:15 +0100
committerMattias Andrée <maandree@kth.se>2022-01-18 22:12:50 +0100
commitb424a2eebbbbf19e253d9098317de378f3dc7d4b (patch)
tree38431af1269434da1cd3242664dfbaf1955526f8 /tests/eof_cont.mk
parentFixed line continuation checks. (diff)
downloadmakel-b424a2eebbbbf19e253d9098317de378f3dc7d4b.tar.gz
makel-b424a2eebbbbf19e253d9098317de378f3dc7d4b.tar.bz2
makel-b424a2eebbbbf19e253d9098317de378f3dc7d4b.tar.xz
Implemented a simple test suite
The test suite simply runs makel in turn on all Makefiles in tests/, and compares makel's exit codes with the expected exit codes that are written in the Makefiles themselves. This system could be improved by comparing warning classes instead, and using text identifiers instead of numerical codes which might be subject to change. Revision 2 of this patch: Make target to run the test suite is now called 'check' to avoid confusion.
Diffstat (limited to '')
-rw-r--r--tests/eof_cont.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/eof_cont.mk b/tests/eof_cont.mk
new file mode 100644
index 0000000..989d6fd
--- /dev/null
+++ b/tests/eof_cont.mk
@@ -0,0 +1,3 @@
+#:4:
+# Continuation to end-of-file
+OBJS=\