summaryrefslogtreecommitdiff
path: root/tests/commonlib/Makefile.mk
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2024-01-18 18:16:12 -0700
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-01-26 12:43:08 +0000
commitba3a71966876aad1c720d7c385dd4058f844f5e8 (patch)
treedb7ab20a38b93e82cd4e04858a90bbc5cfe074eb /tests/commonlib/Makefile.mk
parent48169e80364b541b81620892a7cb51ad46ceb04a (diff)
tests: Rename Makefiles from .inc to .mk
The .inc suffix is confusing to various tools as it's not specific to Makefiles. This means that editors don't recognize the files, and don't open them with highlighting and any other specific editor functionality. This issue is also seen in the release notes generation script where Makefiles get renamed before running cloc. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: Id09eafd293a54198aab87281f529749325df8b07 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80122 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'tests/commonlib/Makefile.mk')
-rw-r--r--tests/commonlib/Makefile.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/commonlib/Makefile.mk b/tests/commonlib/Makefile.mk
new file mode 100644
index 0000000000..6df1db8fc5
--- /dev/null
+++ b/tests/commonlib/Makefile.mk
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+subdirs-y += bsd
+
+tests-y += rational-test
+tests-y += region-test
+
+rational-test-srcs += tests/commonlib/rational-test.c
+rational-test-srcs += src/commonlib/rational.c
+
+region-test-srcs += tests/commonlib/region-test.c
+region-test-srcs += src/commonlib/region.c