mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
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 (cherry picked from commit 83a1ee578c9d1ab7013e997289c7cd470c0e6902) |
||
|---|---|---|
| .. | ||
| context.cpp | ||
| context.hpp | ||
| context_fwd.hpp | ||
| context_test.cpp | ||
| exceptions.cpp | ||
| exceptions.hpp | ||
| exceptions_test.cpp | ||
| Kyuafile | ||
| Makefile.am.inc | ||
| metadata.cpp | ||
| metadata.hpp | ||
| metadata_fwd.hpp | ||
| metadata_test.cpp | ||
| README | ||
| test_case.cpp | ||
| test_case.hpp | ||
| test_case_fwd.hpp | ||
| test_case_test.cpp | ||
| test_program.cpp | ||
| test_program.hpp | ||
| test_program_fwd.hpp | ||
| test_program_test.cpp | ||
| test_result.cpp | ||
| test_result.hpp | ||
| test_result_fwd.hpp | ||
| test_result_test.cpp | ||
| types.hpp | ||
This directory contains the classes that form the data model of Kyua. The classes in this directory are intended to be pure data types without any complex logic. As such, they are simple containers and support the common operations you would expect from them: in particular, comparisons and formatting for debugging purposes. All the classes in the data model have to have an on-disk representation provided by the store module; if they don't, they don't belong in the model. Some of these classes may also have special behavior at run-time, and this is provided by the engine module.