diff options
| author | Anders Wallin <wallinux@gmail.com> | 2020-02-20 06:23:44 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-21 09:39:00 +0000 |
| commit | e663d093150926f6b46bb0682cf918fe4d9c460e (patch) | |
| tree | d5fd48aa1ff0c1429366c9a93f3bd3de18a9e8a6 /meta/recipes-kernel/lttng/babeltrace | |
| parent | 791e0f5d1c645909793db608c76bb730af1fcf78 (diff) | |
| download | poky-e663d093150926f6b46bb0682cf918fe4d9c460e.tar.gz | |
babeltrace: added ptest
(From OE-Core rev: b266a1ac662405e5bab98657c30b1a13cd86d046)
Signed-off-by: Anders Wallin <wallinux@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng/babeltrace')
| -rwxr-xr-x | meta/recipes-kernel/lttng/babeltrace/run-ptest | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/babeltrace/run-ptest b/meta/recipes-kernel/lttng/babeltrace/run-ptest new file mode 100755 index 0000000000..f4b7ce11e2 --- /dev/null +++ b/meta/recipes-kernel/lttng/babeltrace/run-ptest | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | # use target=recheck if you want to recheck failing tests | ||
| 3 | [ "$target" = "" ] && target=check | ||
| 4 | |||
| 5 | # Without --ignore-exit, the tap harness causes any FAILs within a | ||
| 6 | # test plan to raise ERRORs; this is just noise. | ||
| 7 | makeargs="LOG_DRIVER_FLAGS=--ignore-exit top_srcdir=$PWD top_builddir=$PWD" | ||
| 8 | |||
| 9 | exec make -C tests -k -s $makeargs $target 2>/dev/null | ||
