[OS-BUILD PATCH] Enable KUNIT tests for redhat kernel-modules-internal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Nico Pache <npache@xxxxxxxxxx>

Enable KUNIT tests for redhat kernel-modules-internal

This commit will enable KUNIT tests to be compiled as modules and
packaged into the kernel-modules-internal package.

Signed-off-by: Nico Pache <npache@xxxxxxxxxx>

diff --git a/redhat/configs/ark/debug/arm/aarch64/CONFIG_KASAN_KUNIT_TEST b/redhat/configs/ark/debug/arm/aarch64/CONFIG_KASAN_KUNIT_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/debug/arm/aarch64/CONFIG_KASAN_KUNIT_TEST
@@ -0,0 +1 @@
+CONFIG_KASAN_KUNIT_TEST=m
diff --git a/redhat/configs/common/debug/CONFIG_KASAN_KUNIT_TEST b/redhat/configs/common/debug/CONFIG_KASAN_KUNIT_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/debug/CONFIG_KASAN_KUNIT_TEST
@@ -0,0 +1 @@
+CONFIG_KASAN_KUNIT_TEST=m
diff --git a/redhat/configs/common/debug/CONFIG_TEST_LIST_SORT b/redhat/configs/common/debug/CONFIG_TEST_LIST_SORT
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/CONFIG_TEST_LIST_SORT
+++ b/redhat/configs/common/debug/CONFIG_TEST_LIST_SORT
@@ -1 +1 @@
-CONFIG_TEST_LIST_SORT=y
+CONFIG_TEST_LIST_SORT=m
diff --git a/redhat/configs/common/generic/CONFIG_BITFIELD_KUNIT b/redhat/configs/common/generic/CONFIG_BITFIELD_KUNIT
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_BITFIELD_KUNIT
@@ -0,0 +1 @@
+# CONFIG_BITFIELD_KUNIT is not set
diff --git a/redhat/configs/common/generic/CONFIG_BITS_TEST b/redhat/configs/common/generic/CONFIG_BITS_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_BITS_TEST
@@ -0,0 +1 @@
+# CONFIG_BITS_TEST is not set
diff --git a/redhat/configs/common/generic/CONFIG_CMDLINE_KUNIT_TEST b/redhat/configs/common/generic/CONFIG_CMDLINE_KUNIT_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_CMDLINE_KUNIT_TEST
@@ -0,0 +1 @@
+# CONFIG_CMDLINE_KUNIT_TEST is not set
diff --git a/redhat/configs/common/generic/CONFIG_EXT4_KUNIT_TESTS b/redhat/configs/common/generic/CONFIG_EXT4_KUNIT_TESTS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_EXT4_KUNIT_TESTS
@@ -0,0 +1 @@
+CONFIG_EXT4_KUNIT_TESTS=m
diff --git a/redhat/configs/common/generic/CONFIG_FAT_KUNIT_TEST b/redhat/configs/common/generic/CONFIG_FAT_KUNIT_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_FAT_KUNIT_TEST
@@ -0,0 +1 @@
+CONFIG_FAT_KUNIT_TEST=m
diff --git a/redhat/configs/common/generic/CONFIG_KFENCE_KUNIT_TEST b/redhat/configs/common/generic/CONFIG_KFENCE_KUNIT_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_KFENCE_KUNIT_TEST
@@ -0,0 +1 @@
+CONFIG_KFENCE_KUNIT_TEST=m
diff --git a/redhat/configs/common/generic/CONFIG_KUNIT b/redhat/configs/common/generic/CONFIG_KUNIT
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_KUNIT
+++ b/redhat/configs/common/generic/CONFIG_KUNIT
@@ -1 +1 @@
-# CONFIG_KUNIT is not set
+CONFIG_KUNIT=m
diff --git a/redhat/configs/common/generic/CONFIG_KUNIT_ALL_TESTS b/redhat/configs/common/generic/CONFIG_KUNIT_ALL_TESTS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_KUNIT_ALL_TESTS
@@ -0,0 +1 @@
+CONFIG_KUNIT_ALL_TESTS=m
diff --git a/redhat/configs/common/generic/CONFIG_KUNIT_DEBUGFS b/redhat/configs/common/generic/CONFIG_KUNIT_DEBUGFS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_KUNIT_DEBUGFS
@@ -0,0 +1 @@
+CONFIG_KUNIT_DEBUGFS=y
diff --git a/redhat/configs/common/generic/CONFIG_KUNIT_EXAMPLE_TEST b/redhat/configs/common/generic/CONFIG_KUNIT_EXAMPLE_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_KUNIT_EXAMPLE_TEST
@@ -0,0 +1 @@
+CONFIG_KUNIT_EXAMPLE_TEST=m
diff --git a/redhat/configs/common/generic/CONFIG_KUNIT_TEST b/redhat/configs/common/generic/CONFIG_KUNIT_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_KUNIT_TEST
@@ -0,0 +1 @@
+CONFIG_KUNIT_TEST=m
diff --git a/redhat/configs/common/generic/CONFIG_LINEAR_RANGES_TEST b/redhat/configs/common/generic/CONFIG_LINEAR_RANGES_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_LINEAR_RANGES_TEST
@@ -0,0 +1 @@
+# CONFIG_LINEAR_RANGES_TEST is not set
diff --git a/redhat/configs/common/generic/CONFIG_LIST_KUNIT_TEST b/redhat/configs/common/generic/CONFIG_LIST_KUNIT_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_LIST_KUNIT_TEST
@@ -0,0 +1 @@
+CONFIG_LIST_KUNIT_TEST=m
diff --git a/redhat/configs/common/generic/CONFIG_MPTCP_KUNIT_TEST b/redhat/configs/common/generic/CONFIG_MPTCP_KUNIT_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_MPTCP_KUNIT_TEST
@@ -0,0 +1 @@
+CONFIG_MPTCP_KUNIT_TEST=m
diff --git a/redhat/configs/common/generic/CONFIG_RATIONAL_KUNIT_TEST b/redhat/configs/common/generic/CONFIG_RATIONAL_KUNIT_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_RATIONAL_KUNIT_TEST
@@ -0,0 +1 @@
+CONFIG_RATIONAL_KUNIT_TEST=m
diff --git a/redhat/configs/common/generic/CONFIG_RESOURCE_KUNIT_TEST b/redhat/configs/common/generic/CONFIG_RESOURCE_KUNIT_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_RESOURCE_KUNIT_TEST
@@ -0,0 +1 @@
+# CONFIG_RESOURCE_KUNIT_TEST is not set
diff --git a/redhat/configs/common/generic/CONFIG_RTC_LIB_KUNIT_TEST b/redhat/configs/common/generic/CONFIG_RTC_LIB_KUNIT_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_RTC_LIB_KUNIT_TEST
@@ -0,0 +1 @@
+CONFIG_RTC_LIB_KUNIT_TEST=m

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1422
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux