* How to run tests ?
@ 2025-06-15 12:20 PF
0 siblings, 0 replies; only message in thread
From: PF @ 2025-06-15 12:20 UTC (permalink / raw)
To: linux-modules
Hello,
I'm trying to run tests on Debian 12 ou Fedora 38.
Following command runs without any error:
meson setup --native-file build-dev.ini builddir/
But following command always fails (here on Debian 12 but on Fedora 38 I
get similar error)
$ ninja -C builddir test
ninja: Entering directory `builddir'
[0/68] Generating testsuite/build-module-playground with a custom command
make: Entering directory
'/home/pierre/kmod/builddir/testsuite/module-playground'
make -C /lib/modules/$(uname -r)/build M=$PWD modules
make[1]: Entering directory '/usr/lib/modules/6.1.0-37-amd64/build'
make[1]: *** No rule to make target 'modules'. Stop.
make[1]: Leaving directory '/usr/lib/modules/6.1.0-37-amd64/build'
make: *** [Makefile:23: modules] Error 2
make: Leaving directory
'/home/pierre/kmod/builddir/testsuite/module-playground'
[0/68] Linking target testsuite/delete_module.so
FAILED: testsuite/bb-rootfs
/home/pierre/kmod/scripts/setup-modules.sh /home/pierre/kmod
testsuite/module-playground
[3/68] Linking target kmod
ninja: build stopped: subcommand failed.
(First run says that the directory "build" does not exist. But creating
the directory does not help)
What am I doing wrong ?
Thanks.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-15 12:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-15 12:20 How to run tests ? PF
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).