test/unit: move event tests under single run_test
Change-Id: I1794d84546b9b479192677d2e6a97db47fbf3bac Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478525 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
38cde5bc4c
commit
41c30a72d3
@ -34,6 +34,12 @@ function unittest_blob {
|
||||
$valgrind $testdir/lib/blobfs/blobfs_bdev.c/blobfs_bdev_ut
|
||||
}
|
||||
|
||||
function unittest_event {
|
||||
$valgrind $testdir/lib/event/subsystem.c/subsystem_ut
|
||||
$valgrind $testdir/lib/event/app.c/app_ut
|
||||
$valgrind $testdir/lib/event/reactor.c/reactor_ut
|
||||
}
|
||||
|
||||
# if ASAN is enabled, use it. If not use valgrind if installed but allow
|
||||
# the env variable to override the default shown below.
|
||||
if [ -z ${valgrind+x} ]; then
|
||||
@ -90,10 +96,7 @@ if grep -q '#define SPDK_CONFIG_PMDK 1' $rootdir/include/spdk/config.h; then
|
||||
fi
|
||||
|
||||
run_test "unittest_blob_blobfs" unittest_blob
|
||||
|
||||
$valgrind $testdir/lib/event/subsystem.c/subsystem_ut
|
||||
$valgrind $testdir/lib/event/app.c/app_ut
|
||||
$valgrind $testdir/lib/event/reactor.c/reactor_ut
|
||||
run_test "unittest_event" unittest_event
|
||||
|
||||
$valgrind $testdir/lib/sock/sock.c/sock_ut
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user