xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/lttng/babeltrace2/run-ptest (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#!/bin/sh
2*4882a593Smuzhiyun# use target=recheck if you want to recheck failing tests
3*4882a593Smuzhiyun[ "$target" = "" ] && target=check
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun# Without --ignore-exit, the tap harness causes any FAILs within a
6*4882a593Smuzhiyun# test plan to raise ERRORs; this is just noise.
7*4882a593Smuzhiyunmakeargs="LOG_DRIVER_FLAGS=--ignore-exit abs_top_srcdir=$PWD abs_top_builddir=$PWD GREP=grep SED=sed PYTHON=python3"
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunexec make -C tests -k -s $makeargs $target 2>/dev/null
10