xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/lttng/lttng-tools/run-ptest (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#!/bin/sh
2*4882a593Smuzhiyun# Without --ignore-exit, the tap harness causes any FAILs within a
3*4882a593Smuzhiyun# test plan to raise ERRORs; this is just noise.
4*4882a593Smuzhiyunexport LD_LIBRARY_PATH=FIXMEPTESTPATH/tests/utils/testapp/userspace-probe-elf-binary/.libs
5*4882a593Smuzhiyunmakeargs="LOG_DRIVER_FLAGS=--ignore-exit top_srcdir=$PWD top_builddir=$PWD"
6*4882a593Smuzhiyunmake -k -t all >/dev/null 2>&1
7*4882a593Smuzhiyunexec make -k -s $makeargs check 2>/dev/null | sed -e 's#/tmp/tmp\...........#/tmp/tmp.XXXXXXXXXX#g'
8