diff options
author | Dave Lerner <dave.lerner@windriver.com> | 2014-02-15 09:27:31 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-21 16:09:07 +0000 |
commit | dc9f7d7c4908a4bc32d4e1e03ab3367a3d3f1441 (patch) | |
tree | 27c2e40cb6aec1afe6cf8e6cd7b2d16b7fc69e10 /meta/recipes-devtools/valgrind/valgrind/run-ptest | |
parent | bb0c26960d3b05070346cdfdfd05d6fd4ad0a7b1 (diff) | |
download | poky-dc9f7d7c4908a4bc32d4e1e03ab3367a3d3f1441.tar.gz |
valgrind: integration of regression tests to ptest
Modifies valgrind's regression test framework to be compatible
with the yocto PTEST framework as follows:
* existing recipe valgrind*bb adds new methods: do_compile_ptest and
do_install_ptest.
* new file run-ptest adds the wrapper interface to the valgrind
regression test script vg_regtest.
* existing valgrind regression test script 'vg_regtest' changes
to report the status of the valgrind component tests in the
format that PTEST expects, instead of the valgrind formats, but only
when vg_regtest is invoked with an optional --yocto-ptest argument
* four new patches disable building tests that don't compile with
the yocto compiler and default options. See the patches for details.
(From OE-Core rev: d4438e421f448cdb7e25c038d657bbebc1b6486e)
Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind/run-ptest')
-rwxr-xr-x | meta/recipes-devtools/valgrind/valgrind/run-ptest | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/run-ptest b/meta/recipes-devtools/valgrind/valgrind/run-ptest new file mode 100755 index 0000000000..7d0584ada9 --- /dev/null +++ b/meta/recipes-devtools/valgrind/valgrind/run-ptest | |||
@@ -0,0 +1,11 @@ | |||
1 | #!/bin/bash | ||
2 | # run-ptest - 'ptest' test infrastructure shell script that | ||
3 | # wraps the valgrind regression script vg_regtest. | ||
4 | # Must be run in the /usr/lib/valgrind/ptest directory. | ||
5 | # | ||
6 | # Dave Lerner <dave.lerner@windriver.com> | ||
7 | ############################################################### | ||
8 | VALGRINDLIB=@libdir@/valgrind | ||
9 | tests/vg_regtest --all \ | ||
10 | --valgrind=/usr/bin/valgrind --valgrind-lib=$VALGRINDLIB \ | ||
11 | --yocto-ptest | ||