summaryrefslogtreecommitdiffstats
path: root/lib/check.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/check.mk')
-rw-r--r--lib/check.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/check.mk b/lib/check.mk
new file mode 100644
index 0000000..32269ff
--- /dev/null
+++ b/lib/check.mk
@@ -0,0 +1,17 @@
+# Copyright 2022 Alejandro Colomar <alx@kernel.org>
+# SPDX-License-Identifier: LGPL-3.0-or-later WITH LGPL-3.0-linking-exception
+
+
+ifndef LIB_CHECK_MK_
+LIB_CHECK_MK_ := 1
+
+
+include $(srcdir)/lib/src.mk
+
+
+.PHONY: check
+check:
+ $(MAKE) -C $(TESTSDIR)
+
+
+endif # include guard