selftests: copy TEST_DIRS to INSTALL_PATH
authorTyler Baker <tyler.baker@linaro.org>
Tue, 21 Apr 2015 22:49:48 +0000 (15:49 -0700)
committerShuah Khan <shuahkh@osg.samsung.com>
Tue, 26 May 2015 21:58:06 +0000 (15:58 -0600)
commite8c1d7cdf13707a919f5a067c69d37b532cd09ab
treec03e41202e177a25dea04f75bc8436078352efe1
parentbd67d5c15cc190f52eb2f2a2f6f6b800ca33d9dd
selftests: copy TEST_DIRS to INSTALL_PATH

Loop over all TEST_DIRS and recursively copy them to the INSTALL_PATH. Tests
such as ftrace require a directory and all of it's contents to execute the
test properly, thus these directories and files need to be copied when we
perform an install.

Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/lib.mk