diff options
author | Roy Li <rongqing.li@windriver.com> | 2015-08-06 09:14:06 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-08-24 13:54:02 +0200 |
commit | 5003c4cc2d42575beca97e22a31b2d275ad5c558 (patch) | |
tree | 64c12d682dc00c6657b9f9b8746a8ccc75e9a445 /meta-oe/recipes-support/numactl/numactl | |
parent | fe9d64dbf6a897de6813fe7a69ef305512c3d30b (diff) | |
download | meta-openembedded-contrib-5003c4cc2d42575beca97e22a31b2d275ad5c558.tar.gz |
numactl: fix the ptest building
after upgrade, binary files are installed into test/.libs/, so
fix the install ptest.
redesign test Makefile rule
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/numactl/numactl')
-rw-r--r-- | meta-oe/recipes-support/numactl/numactl/0001-define-run-test-target.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/numactl/numactl/0001-define-run-test-target.patch b/meta-oe/recipes-support/numactl/numactl/0001-define-run-test-target.patch new file mode 100644 index 0000000000..78ffb22f89 --- /dev/null +++ b/meta-oe/recipes-support/numactl/numactl/0001-define-run-test-target.patch @@ -0,0 +1,32 @@ +rename test target as run-test + +Upstream-Statue: Pending + +test target not only compile the test files, but also run them, which is +not suitable for cross-compile environment, so rename it as run-test. + +and define test target to compile the test files. + +Signed-off-by: Roy Li <rongqing.li@windriver.com> +--- + Makefile.am | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index b6db339..de176c4 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -124,7 +124,9 @@ regress2: $(check_PROGRAMS) + test_numademo: numademo + ./numademo -t -e 10M + +-test: all $(check_PROGRAMS) regress1 regress2 test_numademo ++test: all $(check_PROGRAMS) ++ ++run-test: all $(check_PROGRAMS) regress1 regress2 test_numademo + + TESTS_ENVIRONMENT = builddir='$(builddir)'; export builddir; + +-- +1.9.1 + |