Whamcloud - gitweb
LU-16763 kunit: consolidate kernel unit testing 97/52597/6
authorTimothy Day <timday@amazon.com>
Sun, 8 Oct 2023 22:50:41 +0000 (22:50 +0000)
committerOleg Drokin <green@whamcloud.com>
Fri, 23 Feb 2024 07:08:35 +0000 (07:08 +0000)
commit672c1432ed0f725ce71c99df9b3791cbc6f28839
tree89994587d9107304aad69cfbcc3e0bfcddf7bb88
parent8e8aba735c2973832be19e5b3e78975a63fade87
LU-16763 kunit: consolidate kernel unit testing

There are several kernel modules used for different
types of unit testing. Unify them all in one place.
This will make it easier to standardize them in the
future.

Also, ensure kinode.ko is in the right place on
Ubuntu.

Test-Parameters: trivial
Test-Parameters: testlist=sanity env=ONLY=55,ONLY_REPEAT=10 clientdistro=ubuntu2204
Test-Parameters: testlist=sanity env=ONLY=55,ONLY_REPEAT=10
Test-Parameters: testlist=sanity env=ONLY=410,ONLY_REPEAT=10
Test-Parameters: testlist=sanity env=ONLY=60a,ONLY_REPEAT=10
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I16e5fc3dfb570d88c7ed817eab74511a22e91ac6
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52597
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
17 files changed:
debian/lustre-tests.install.in
lustre/Makefile.in
lustre/autoMakefile.am
lustre/autoconf/lustre-core.m4
lustre/kunit/Makefile.in [new file with mode: 0644]
lustre/kunit/autoMakefile.am [new file with mode: 0644]
lustre/kunit/kinode.c [moved from lustre/tests/kernel/kinode.c with 78% similarity]
lustre/kunit/llog_test.c [moved from lustre/obdclass/llog_test.c with 98% similarity]
lustre/kunit/obd_test.c [moved from lustre/obdclass/obd_test.c with 98% similarity]
lustre/obdclass/Makefile.in
lustre/obdclass/autoMakefile.am
lustre/tests/kernel/Makefile.in [deleted file]
lustre/tests/kernel/autoMakefile.am [deleted file]
lustre/tests/lutf/python/tests-infra/utility_paths.py
lustre/tests/run-llog.sh
lustre/tests/sanity.sh
lustre/utils/debug.c