![Heidi Fahim](/assets/img/avatar_default.png)
Implemented the functionality to run all KUnit tests through kunit_tool by specifying an --alltests flag, which builds UML with allyesconfig enabled, and consequently runs every KUnit test. A new function was added to kunit_kernel: make_allyesconfig. Firstly, if --alltests is specified, kunit.py triggers build_um_kernel which call make_allyesconfig. This function calls the make command, disables the broken configs that would otherwise prevent UML from building, then starts the kernel with all possible configurations enabled. All stdout and stderr is sent to test.log and read from there then fed through kunit_parser to parse the tests to the user. Also added a signal_handler in case kunit is interrupted while running. Tested: Run under different conditions such as testing with --raw_output, testing program interrupt then immediately running kunit again without --alltests and making sure to clean the console. Signed-off-by: Heidi Fahim <heidifahim@google.com> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
# These are currently broken on UML and prevent allyesconfig from building
|
|
# CONFIG_STATIC_LINK is not set
|
|
# CONFIG_UML_NET_VECTOR is not set
|
|
# CONFIG_UML_NET_VDE is not set
|
|
# CONFIG_UML_NET_PCAP is not set
|
|
# CONFIG_NET_PTP_CLASSIFY is not set
|
|
# CONFIG_IP_VS is not set
|
|
# CONFIG_BRIDGE_EBT_BROUTE is not set
|
|
# CONFIG_BRIDGE_EBT_T_FILTER is not set
|
|
# CONFIG_BRIDGE_EBT_T_NAT is not set
|
|
# CONFIG_MTD_NAND_CADENCE is not set
|
|
# CONFIG_MTD_NAND_NANDSIM is not set
|
|
# CONFIG_BLK_DEV_NULL_BLK is not set
|
|
# CONFIG_BLK_DEV_RAM is not set
|
|
# CONFIG_SCSI_DEBUG is not set
|
|
# CONFIG_NET_VENDOR_XILINX is not set
|
|
# CONFIG_NULL_TTY is not set
|
|
# CONFIG_PTP_1588_CLOCK is not set
|
|
# CONFIG_PINCTRL_EQUILIBRIUM is not set
|
|
# CONFIG_DMABUF_SELFTESTS is not set
|
|
# CONFIG_COMEDI is not set
|
|
# CONFIG_XIL_AXIS_FIFO is not set
|
|
# CONFIG_EXFAT_FS is not set
|
|
# CONFIG_STM_DUMMY is not set
|
|
# CONFIG_FSI_MASTER_ASPEED is not set
|
|
# CONFIG_JFS_FS is not set
|
|
# CONFIG_UBIFS_FS is not set
|
|
# CONFIG_CRAMFS is not set
|
|
# CONFIG_CRYPTO_DEV_SAFEXCEL is not set
|
|
# CONFIG_CRYPTO_DEV_AMLOGIC_GXL is not set
|
|
# CONFIG_KCOV is not set
|
|
# CONFIG_LKDTM is not set
|
|
# CONFIG_REED_SOLOMON_TEST is not set
|
|
# CONFIG_TEST_RHASHTABLE is not set
|
|
# CONFIG_TEST_MEMINIT is not set
|
|
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
|
|
# CONFIG_DEBUG_INFO_BTF is not set
|
|
# CONFIG_PTP_1588_CLOCK_INES is not set
|
|
# CONFIG_QCOM_CPR is not set
|
|
# CONFIG_RESET_BRCMSTB_RESCAL is not set
|
|
# CONFIG_RESET_INTEL_GW is not set
|