Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751890AbbDQV6f (ORCPT ); Fri, 17 Apr 2015 17:58:35 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:34316 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751280AbbDQV6b (ORCPT ); Fri, 17 Apr 2015 17:58:31 -0400 From: Tyler Baker To: Shuah Khan Cc: Kevin Hilman , John Stultz , Darren Hart , David Herrmann , Michael Ellerman , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tyler Baker Subject: [PATCH v2 0/8] selftests: fixes for installation and cross compilation Date: Fri, 17 Apr 2015 14:58:21 -0700 Message-Id: <1429307901-412-1-git-send-email-tyler.baker@linaro.org> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2011 Lines: 49 This patch set fixes various issues observed when cross building and installing selftests. As I began investigating improving the test output format, I performed an audit of the current tests to ensure all tests were able to execute on various target architectures. I found that some tests did not install their binaries and others required directories to be installed to execute properly. There were also cases in which tests were being installed when they were never built. With this series applied all tests compile when appropriate and install their output properly. I have tested this series by building, installing and deploying all selftests to x86, arm and arm64 targets. Changes v1 -> v2: * Have no dependency on all when CROSS_COMPILE is set. (Andy Lutomirski) * Added Andy on CC for all x86 test patches. * Split up the x86 patches for better clarity. * Rebased onto next-20150415. This series is based on next-20150415. Tyler Baker (8): selftests: copy TEST_DIRS to INSTALL_PATH selftests/ftrace: install test.d selftests/breakpoints: emit skip and omit installation when tests are not compiled selftests/kdbus: install kdbus-test selftest/x86: build both bitnesses selftest/x86: have no dependency on all when cross building selftest/x86: install tests selftests/exec: do not install subdir as it is already created tools/testing/selftests/breakpoints/Makefile | 7 ++++++- tools/testing/selftests/exec/Makefile | 2 +- tools/testing/selftests/ftrace/Makefile | 1 + tools/testing/selftests/kdbus/Makefile | 2 ++ tools/testing/selftests/lib.mk | 3 +++ tools/testing/selftests/x86/Makefile | 21 +++++++++++++++++---- 6 files changed, 30 insertions(+), 6 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/