[freebsd/kyua] e4b552: atf, kyua: Implement require.kmods.

1 view
Skip to first unread message

Enji Cooper

unread,
Aug 12, 2025, 8:11:46 PMAug 12
to kyua...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/freebsd/kyua
Commit: e4b5523ea1abb767f4e391263a96ec8f55eb9bb1
https://github.com/freebsd/kyua/commit/e4b5523ea1abb767f4e391263a96ec8f55eb9bb1
Author: Dag-Erling Smørgrav <d...@FreeBSD.org>
Date: 2025-05-31 (Sat, 31 May 2025)

Changed paths:
M engine/Makefile.am.inc
M engine/atf_list.cpp
M engine/requirements.cpp
M model/metadata.cpp
M model/metadata.hpp

Log Message:
-----------
atf, kyua: Implement require.kmods.

This adds a metadata variable, require.kmods, and corresponding functions
or methods in C, C++, and shell, which allow a test to specify that it
requires particular kernel modules to run. If the kernel modules are not
present, the test is skipped. One might want to consider a kyua option
which makes it attempt to load the modules instead.

Differential Revision: https://reviews.freebsd.org/D47470


Commit: 748e27bbad2e42f27cb9a7428e97593144b027e4
https://github.com/freebsd/kyua/commit/748e27bbad2e42f27cb9a7428e97593144b027e4
Author: Igor Ostapenko <p...@igoro.pro>
Date: 2025-08-10 (Sun, 10 Aug 2025)

Changed paths:
M doc/kyuafile.5.in
M drivers/report_junit_test.cpp
M engine/Makefile.am.inc
M engine/atf_list.cpp
M engine/requirements.cpp
M engine/requirements.hpp
M integration/cmd_report_junit_test.sh
M integration/cmd_report_test.sh
M model/metadata.cpp
M model/metadata.hpp
M model/metadata_test.cpp
M model/test_case_test.cpp
M model/test_program_test.cpp
M os/freebsd/Makefile.am.inc
M os/freebsd/main.cpp
A os/freebsd/reqs_checker_kmods.cpp
A os/freebsd/reqs_checker_kmods.hpp

Log Message:
-----------
Make required_kmods metadata platform agnostic

- Extracted FreeBSD related code
- Fixed tests
- Made it report all non-loaded modules instead of the first occurrence
- Updated kyuafile.5 man page


Commit: f86bce440f69101ee72f7202c4e1f77d1e6fcfd2
https://github.com/freebsd/kyua/commit/f86bce440f69101ee72f7202c4e1f77d1e6fcfd2
Author: Enji Cooper <ng...@FreeBSD.org>
Date: 2025-08-12 (Tue, 12 Aug 2025)

Changed paths:
M doc/kyuafile.5.in
M drivers/report_junit_test.cpp
M engine/atf_list.cpp
M engine/requirements.cpp
M engine/requirements.hpp
M integration/cmd_report_junit_test.sh
M integration/cmd_report_test.sh
M model/metadata.cpp
M model/metadata.hpp
M model/metadata_test.cpp
M model/test_case_test.cpp
M model/test_program_test.cpp
M os/freebsd/Makefile.am.inc
M os/freebsd/main.cpp
A os/freebsd/reqs_checker_kmods.cpp
A os/freebsd/reqs_checker_kmods.hpp

Log Message:
-----------
Merge pull request #270 from ihoro/required_kmods_metadata

Add required_kmods metadata


Compare: https://github.com/freebsd/kyua/compare/4ad42f14677c...f86bce440f69

To unsubscribe from these emails, change your notification settings at https://github.com/freebsd/kyua/settings/notifications
Reply all
Reply to author
Forward
0 new messages