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
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