summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-06-21 08:55:09 -0700
committerEryu Guan <guaneryu@gmail.com>2021-06-27 22:50:06 +0800
commit17f6ac8eccb4d3f974aa74350b63e186c092ea16 (patch)
tree24d0c8b836ba3f00f6709de7e38a5c1d1c60fca9 /include
parent7e98d41a6e009f348cd328e4b3bda2fd4352b94e (diff)
fstests: automatically generate group files
Now that we've moved the group membership details into the test case files themselves, automatically generate the group files during build. The autogenerated files are named "group.list" instead of "group" to avoid conflicts between generated and (stale) SCM files as everyone rebases. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com> Reviewed-by: Allison Henderson <allison.henderson@oracle.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/buildgrouplist8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/buildgrouplist b/include/buildgrouplist
new file mode 100644
index 00000000..d898efa3
--- /dev/null
+++ b/include/buildgrouplist
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2021 Oracle, Inc. All Rights Reserved.
+#
+.PHONY: group.list
+
+group.list:
+ @echo " [GROUP] $$PWD/$@"
+ $(Q)$(TOPDIR)/tools/mkgroupfile $@