2015-04-21 22:50:12

by Tyler Baker

[permalink] [raw]
Subject: [PATCH v4 2/7] selftests/ftrace: install test.d

The ftrace test requires the directory test.d and all of it's contents to be
present during execution. Use TEST_DIRS to ensure this is copied to the
INSTALL_PATH.

Acked-by: Michael Ellerman <[email protected]>
Signed-off-by: Tyler Baker <[email protected]>
---
tools/testing/selftests/ftrace/Makefile | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/ftrace/Makefile b/tools/testing/selftests/ftrace/Makefile
index 3467206..0acbeca 100644
--- a/tools/testing/selftests/ftrace/Makefile
+++ b/tools/testing/selftests/ftrace/Makefile
@@ -1,6 +1,7 @@
all:

TEST_PROGS := ftracetest
+TEST_DIRS := test.d/

include ../lib.mk

--
2.1.4


2015-05-06 20:17:41

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH v4 2/7] selftests/ftrace: install test.d

On 04/21/2015 04:50 PM, Tyler Baker wrote:
> The ftrace test requires the directory test.d and all of it's contents to be
> present during execution. Use TEST_DIRS to ensure this is copied to the
> INSTALL_PATH.
>
> Acked-by: Michael Ellerman <[email protected]>
> Signed-off-by: Tyler Baker <[email protected]>
> ---
> tools/testing/selftests/ftrace/Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/testing/selftests/ftrace/Makefile b/tools/testing/selftests/ftrace/Makefile
> index 3467206..0acbeca 100644
> --- a/tools/testing/selftests/ftrace/Makefile
> +++ b/tools/testing/selftests/ftrace/Makefile
> @@ -1,6 +1,7 @@
> all:
>
> TEST_PROGS := ftracetest
> +TEST_DIRS := test.d/
>
> include ../lib.mk
>
>

Applied to linux-kselftest next for 4.2

thanks,
-- Shuah

--
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
[email protected] | (970) 217-8978