summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/diffutils
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2019-06-13 04:06:24 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-14 22:48:22 +0100
commit26780cbde13d1d60932ca0dc01ee688fd7014a38 (patch)
tree3599c64e4195a7127014868da99fbe85b1376c2e /meta/recipes-extended/diffutils
parentca9c738053090b410f71b0e4e483220f678f90ad (diff)
downloadpoky-26780cbde13d1d60932ca0dc01ee688fd7014a38.tar.gz
diffutils/run-ptest: support to run at arbitrary path
1. Run run-ptest at arbitrary path 2. Fix large-subopt.in1 not found ... |diff: /lib32-diffutils/3.7-r0/build/../diffutils-3.7/tests/large-subopt.in1: No such file or directory |diff: /lib32-diffutils/3.7-r0/build/../diffutils-3.7/tests/large-subopt.in2: No such file or directory ... (From OE-Core rev: 0f7ada89ef8ed65eee8ada5e766999af7771c2c8) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/diffutils')
-rw-r--r--meta/recipes-extended/diffutils/diffutils/run-ptest3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/diffutils/diffutils/run-ptest b/meta/recipes-extended/diffutils/diffutils/run-ptest
index 695c5e8a7b..ad467d9bd0 100644
--- a/meta/recipes-extended/diffutils/diffutils/run-ptest
+++ b/meta/recipes-extended/diffutils/diffutils/run-ptest
@@ -1,3 +1,4 @@
1#!/bin/sh 1#!/bin/sh
2 2
3make -C tests check-TESTS 3abs_ptestdir=`echo "$(cd "$(dirname "$0")"; pwd)"`
4make -C $abs_ptestdir/tests check-TESTS abs_top_srcdir="$abs_ptestdir"