generic-poky/meta/recipes-kernel/lttng
Nathan Lynch 206ad10eaa lttng-tools: fix ptest
Since the upgrade to 2.8, lttng-tools' test harness silently succeeds
but doesn't actually run the tests.  This is because upstream made
some changes in their test harness:

83666813ca

Updates to address this include:
- drop now-irrelevant patch
- change the ptest-run make target
- remove indiscriminate search/replace commands from do_install_ptest
- copy entire build directory into PTEST_PATH and then remove unneeded files
- use lttng binaries installed on the system for the tests
- add lttng-tools-ptest runtime dependencies
  - lttng-tools itself
  - babeltrace, used by the test harness to process traces
  - perl modules required by babelstats.pl test script
  - procps (for pgrep, pidof)
  - gawk
- remove unnecessary chmod and munging of utils.sh script library
- remove checkpatch from ptest installation tree
- avoid path-munging of libtool artifacts altogether
- use more efficient find+sed patterns to munge Makefiles
- reduce test harness output to conform to ptest rules

On qemux86-64 and qemuarm I get relatively stable results, with
PASS/FAIL varying by +-1 on successive runs.

TOTAL: 2345
PASS:  1735
SKIP:  311
XFAIL: 0
FAIL:  292
XPASS: 0
ERROR: 7

There are some ERRORs worth looking into further but this should be a
useful basis for future work.

(From OE-Core rev: 9e9875fc19df6b924aa7f9d06e7b4e07222d0799)

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-28 10:16:04 +01:00
..
lttng-modules lttng-modules: Do not fail if CONFIG_TRACEPOINTS is not enabled 2016-09-06 10:24:04 +01:00
lttng-tools lttng-tools: fix ptest 2016-09-28 10:16:04 +01:00
lttng-ust lttng-ust: Update 2.7.1 -> 2.8.1 2016-09-03 09:58:39 +01:00
babeltrace_1.4.0.bb babeltrace: remove unnecessary SRCREV 2016-07-26 08:56:32 +01:00
lttng-modules_git.bb lttng-modules: Do not fail if CONFIG_TRACEPOINTS is not enabled 2016-09-06 10:24:04 +01:00
lttng-tools_git.bb lttng-tools: fix ptest 2016-09-28 10:16:04 +01:00
lttng-ust_git.bb lttng-ust: Update 2.7.1 -> 2.8.1 2016-09-03 09:58:39 +01:00