summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rwxr-xr-xmeta/recipes-devtools/valgrind/valgrind/run-ptest4
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/taskset_nondeterministic_tests2
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.16.1.bb2
3 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/run-ptest b/meta/recipes-devtools/valgrind/valgrind/run-ptest
index b563eb3567..a19944f285 100755
--- a/meta/recipes-devtools/valgrind/valgrind/run-ptest
+++ b/meta/recipes-devtools/valgrind/valgrind/run-ptest
@@ -33,7 +33,7 @@ fi
33 33
34echo "Run flaky tests using taskset to limit them to a single core." 34echo "Run flaky tests using taskset to limit them to a single core."
35for i in `cat taskset_nondeterministic_tests`; do 35for i in `cat taskset_nondeterministic_tests`; do
36 taskset 0x00000001 perl tests/vg_regtest --valgrind=${VALGRIND_BIN} --valgrind-lib=${VALGRIND_LIBEXECDIR} --yocto-ptest $i 2>&1|tee ${LOG} 36 taskset 0x00000001 perl tests/vg_regtest --valgrind=${VALGRIND_BIN} --valgrind-lib=${VALGRIND_LIBEXECDIR} --yocto-ptest $i 2>&1|tee -a ${LOG}
37 mv $i.vgtest $i.IGNORE 37 mv $i.vgtest $i.IGNORE
38done 38done
39 39
@@ -43,7 +43,7 @@ cd ${VALGRIND_LIB}/ptest && ./tests/vg_regtest \
43 --valgrind-lib=${VALGRIND_LIB} \ 43 --valgrind-lib=${VALGRIND_LIB} \
44 --yocto-ptest \ 44 --yocto-ptest \
45 gdbserver_tests ${TOOLS} ${EXP_TOOLS} \ 45 gdbserver_tests ${TOOLS} ${EXP_TOOLS} \
46 2>&1|tee ${LOG} 46 2>&1|tee -a ${LOG}
47 47
48cd ${VALGRIND_LIB}/ptest && \ 48cd ${VALGRIND_LIB}/ptest && \
49 ./tests/post_regtest_checks $(pwd) \ 49 ./tests/post_regtest_checks $(pwd) \
diff --git a/meta/recipes-devtools/valgrind/valgrind/taskset_nondeterministic_tests b/meta/recipes-devtools/valgrind/valgrind/taskset_nondeterministic_tests
index cf073fa927..e15100ade7 100644
--- a/meta/recipes-devtools/valgrind/valgrind/taskset_nondeterministic_tests
+++ b/meta/recipes-devtools/valgrind/valgrind/taskset_nondeterministic_tests
@@ -1,4 +1,2 @@
1helgrind/tests/hg05_race2 1helgrind/tests/hg05_race2
2helgrind/tests/tc09_bad_unlock 2helgrind/tests/tc09_bad_unlock
3drd/tests/bar_bad
4drd/tests/bar_bad_xml
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb
index 3493745828..b48d96f8a3 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb
@@ -18,6 +18,7 @@ SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \
18 file://run-ptest \ 18 file://run-ptest \
19 file://remove-for-aarch64 \ 19 file://remove-for-aarch64 \
20 file://remove-for-all \ 20 file://remove-for-all \
21 file://taskset_nondeterministic_tests \
21 file://0004-Fix-out-of-tree-builds.patch \ 22 file://0004-Fix-out-of-tree-builds.patch \
22 file://0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch \ 23 file://0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch \
23 file://0001-Remove-tests-that-fail-to-build-on-some-PPC32-config.patch \ 24 file://0001-Remove-tests-that-fail-to-build-on-some-PPC32-config.patch \
@@ -189,6 +190,7 @@ do_install_ptest() {
189 cp ${B}/config.h ${D}${PTEST_PATH} 190 cp ${B}/config.h ${D}${PTEST_PATH}
190 install -D ${WORKDIR}/remove-for-aarch64 ${D}${PTEST_PATH} 191 install -D ${WORKDIR}/remove-for-aarch64 ${D}${PTEST_PATH}
191 install -D ${WORKDIR}/remove-for-all ${D}${PTEST_PATH} 192 install -D ${WORKDIR}/remove-for-all ${D}${PTEST_PATH}
193 install -D ${WORKDIR}/taskset_nondeterministic_tests ${D}${PTEST_PATH}
192 194
193 # Add an executable need by none/tests/bigcode 195 # Add an executable need by none/tests/bigcode
194 mkdir ${D}${PTEST_PATH}/perf 196 mkdir ${D}${PTEST_PATH}/perf