Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755050AbbHNNrF (ORCPT ); Fri, 14 Aug 2015 09:47:05 -0400 Received: from mail-ob0-f177.google.com ([209.85.214.177]:36024 "EHLO mail-ob0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751962AbbHNNrD (ORCPT ); Fri, 14 Aug 2015 09:47:03 -0400 From: Bamvor Jian Zhang To: linux-kernel@vger.kernel.org Cc: broonie@linaro.org, khilman@linaro.org, tyler.baker@linaro.org, bamvor.zhangjian@linaro.org, shuahkh@osg.samsung.com Subject: [PATCH 0/7] Improvement kselftest support for arm and arm64 Date: Fri, 14 Aug 2015 21:43:31 +0800 Message-Id: <1439559818-21666-1-git-send-email-bamvor.zhangjian@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: 2001 Lines: 51 This is my first attempt for improving the kselftest for arm/arm64 architecture. Eventually, we hope we could build(in an cross compile environment) and run all the kselftest cases automatically(successful of courses). I realize that there are lots of improvement for kselftest after the lastest pull request for kselftest. So, All my work is based on the lastest linux-next tree ("30b42f4 Add linux-next specific files for 20150813"). In this series, I try to make all the testcases compiling and installation successful. Patch 1 rename jumplabel target to static_keys in the Makefile. Patch 2 add CFLAGS_EXTRA to fix the cross comiling failure. Patch 3 fix the running the installation issue for exec testcase. Patch 4 check if there are files need to be installed. This is useful when such testcase is not built for specific architecture. E.g. x86 testcases for arm/arm64. Patch 5, 6 and 7 check the architecture before build and install. Bamvor Jian Zhang (7): selftests: rename jump label to static_keys selftests: add CFLAGS_EXTRA selftests: exec: fix for running and installing selftests: check before install selftests: disable seccomp for arm64 selftests: only compile userfaultfd for x86 and powperpc selftests: breakpoints: fix installing error on the architecture except x86 tools/testing/selftests/Makefile | 3 +-- tools/testing/selftests/breakpoints/Makefile | 16 +++------------- tools/testing/selftests/exec/Makefile | 14 +++++++++++--- tools/testing/selftests/lib.mk | 15 ++++++++++----- tools/testing/selftests/seccomp/Makefile | 6 ++++++ tools/testing/selftests/vm/Makefile | 12 ++++++++++++ 6 files changed, 43 insertions(+), 23 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/