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 /CMakeLists.txt | |
| 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 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 72b5eb83..4c856491 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,3 +101,14 @@ if (BUILD_VLAN_MON_DRIVER) endif () CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h) + +include(CTest) + +if (BUILD_TESTING) + add_test( + NAME kernel-module-install + COMMAND sh + ${CMAKE_CURRENT_SOURCE_DIR}/tests/kernel-module-install/test.sh + ${CMAKE_COMMAND} + ) +endif () |
