diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-10-06 02:17:37 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-06 02:17:37 +0300 |
| commit | d33028de8b8b520dfde12d9d9d01f4cd576f23b3 (patch) | |
| tree | 242dcc8c207dfa314a1a82890ca68536c51da7d9 /tests/README.md | |
| parent | 50c54c477624d5a9b668225fde2b9844d362760a (diff) | |
| parent | dbc9d0fb6863026b16f4805709acc7e4977d7e66 (diff) | |
| download | accel-ppp-d33028de8b8b520dfde12d9d9d01f4cd576f23b3.tar.gz accel-ppp-d33028de8b8b520dfde12d9d9d01f4cd576f23b3.zip | |
Merge pull request #358 from nuclearcat/fix/kernel-module-install
cmake: fix kernel module installation
Diffstat (limited to 'tests/README.md')
| -rw-r--r-- | tests/README.md | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/tests/README.md b/tests/README.md index 689a16d8..65afd254 100644 --- a/tests/README.md +++ b/tests/README.md @@ -2,6 +2,25 @@ These tests are done for Ubuntu and Debian distros. Please use latest stable Debian or Ubuntu to run the tests. +## Kernel module installation test + +The kernel module installation regression test is rootless and does not need +kernel headers. It uses a fake kernel build tree to verify that `ipoe`, +`vlan_mon`, and `ppposeq` are installed from their actual build directories, +honor `DESTDIR`, and make installation fail when `modules_install` fails. + +Run it through CTest after configuring the project: + +```bash +ctest --test-dir build --output-on-failure -R '^kernel-module-install$' +``` + +It can also be run directly from the repository root: + +```bash +sh tests/kernel-module-install/test.sh cmake +``` + ## Preparations Install pytest @@ -100,4 +119,4 @@ If you want to re-run tests 'from scratch', you may want to remove coverage data # from root dir (parent for this dir) sudo gcovr -d # build report and delete sudo gcovr -d # check that data is deleted (any coverage = 0%) -```
\ No newline at end of file +``` |
