Where possible (for tests that don't require DPDK), run the unit tests under Valgrind to check for memory leaks and out-of-bounds accesses. Change-Id: Ic7b3cdd39a6d59f4e41b4a161be3363f6b076f65 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
15 lines
260 B
Bash
Executable File
15 lines
260 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -xe
|
|
|
|
testdir=$(readlink -f $(dirname $0))
|
|
rootdir=$testdir/../../..
|
|
source $rootdir/scripts/autotest_common.sh
|
|
|
|
timing_enter util
|
|
|
|
$valgrind $testdir/bit_array/bit_array_ut
|
|
$valgrind $testdir/io_channel/io_channel_ut
|
|
|
|
timing_exit util
|