Received: by 10.223.185.116 with SMTP id b49csp6658535wrg; Wed, 28 Feb 2018 13:11:38 -0800 (PST) X-Google-Smtp-Source: AH8x2271ySLgYeh0WdAunc6iQrJiBYlnARt4+isD0OAN3dMmBEGJ3TU+ep0SSp3FVIhAoE/A476j X-Received: by 10.98.170.13 with SMTP id e13mr19089199pff.113.1519852298676; Wed, 28 Feb 2018 13:11:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519852298; cv=none; d=google.com; s=arc-20160816; b=IHeaNM66gp88EjMCVjIG4iWyAQIKhkIlKjO0MgIT/WaSExdXMzUOaSh3SNqDSwNFZc py8UcC3ewoJ3fyVzToIz1GElluxRqcY+DYj1ppb7t5itHsMaRWJfA/j4BhTnqIjn1xwe GnY2wmztzmICdoC3OJCu4i3O7LhbPqwq6hWYJxAl7xK7sYkH58XEJainEnfFRxDn/h/X htmE3NoingBR0PaQ6jPsWXe4KmhyPra/n1WDWVzIwVzvATgUJQisZ5xSMad9KPJFxjdl SFSUaHPqNtGBkAnOOb6gYiWFgfejoKszoTIJWcMuda59XcxYrnu2m8Y9iK6fRRxZbWwQ gdlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language:mime-version:user-agent :date:message-id:subject:from:cc:to:arc-authentication-results; bh=zqwZfo+zFMJKidi315NpDffHdNkzGmsSCOIJNPU3Y4I=; b=oBFnafqbq9hAeQ2e2bM5zK9/UrEwq9WEsmMwvIk5yCqygdN+OWHFbe6M5t8Gu3DDZc sP6eTIfDc1UfJGJqf6BqtD0Tt8LaM4m+L307DpVVbgA5XiryVST5GzlyYlRWEaUPQomD HWccVB9NSztXEnojbDJhPkZctUEA5LGyjucVY2NbulSzVocu/sktRqjwCfwZieF74nWT D6mOTBCBi9SB7v4/7bl7XVqiDx+DNYz7u6EiMXFLKax8pDSRXHJ0r1SInexutvQvpApL YmviIiadfmKqEb8s3KY7yK/M7T0JCFREzjC2DAsC3309db3MtK/sMmJpNu/UMDdYngSZ OF6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m37-v6si1799701plg.372.2018.02.28.13.11.21; Wed, 28 Feb 2018 13:11:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933227AbeB1VKi (ORCPT + 99 others); Wed, 28 Feb 2018 16:10:38 -0500 Received: from osg.samsung.com ([64.30.133.232]:40431 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932400AbeB1VKh (ORCPT ); Wed, 28 Feb 2018 16:10:37 -0500 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id 8A35F2D7F0; Wed, 28 Feb 2018 13:10:36 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com Received: from osg.samsung.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QHcjufdv3kfA; Wed, 28 Feb 2018 13:10:30 -0800 (PST) Received: from [192.168.1.87] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) by osg.samsung.com (Postfix) with ESMTPSA id 85D7A2D7DE; Wed, 28 Feb 2018 13:10:30 -0800 (PST) To: Linus Torvalds Cc: "linux-kselftest@vger.kernel.org" , LKML , Shuah Khan , Shuah Khan From: Shuah Khan Subject: [GIT PULL] kselftest fixes update for 4.16-rc4 Message-ID: <9f1d717e-f968-feb6-5fe7-9bfb7c304743@osg.samsung.com> Date: Wed, 28 Feb 2018 14:10:23 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------4471A8F75628C17655391D4D" Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------4471A8F75628C17655391D4D Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hi Linus, Please pull the following Kselftest update for 4.16-rc4. This kselftest fixes update for 4.16-rc4 consists of of fixes for various problems in test output, compile errors, and missing configs. Diff for the update is attached. thanks, -- Shuah ----------------------------------------------------------------------------------- The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Linux 4.16-rc1 (2018-02-11 15:04:29 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-4.16-rc4 for you to fetch changes up to f6869826de700bce59e2cef14974f99836e34e4f: selftests: vm: update .gitignore with new test (2018-02-26 16:09:50 -0700) ---------------------------------------------------------------- linux-kselftest-4.16-rc4 This kselftest fixes update for 4.16-rc4 consists of of fixes for various problems in test output, compile errors, and missing configs. ---------------------------------------------------------------- Anders Roxell (2): selftests: sync: missing CFLAGS while compiling selftests: memfd: add config fragment for fuse Daniel Díaz (2): selftests/android: Fix line continuation in Makefile selftests/futex: Fix line continuation in Makefile Dominik Brodowski (1): selftest/vDSO: fix O= Naresh Kamboju (1): selftests: pstore: Adding config fragment CONFIG_PSTORE_RAM=m Shuah Khan (2): selftests: memory-hotplug: silence test command echo selftests: vm: update .gitignore with new test tools/testing/selftests/android/Makefile | 8 ++++---- tools/testing/selftests/futex/Makefile | 6 +++--- tools/testing/selftests/memfd/config | 1 + tools/testing/selftests/memory-hotplug/Makefile | 2 +- tools/testing/selftests/pstore/config | 1 + tools/testing/selftests/sync/Makefile | 2 +- tools/testing/selftests/vDSO/Makefile | 14 +++++++------- tools/testing/selftests/vm/.gitignore | 1 + 8 files changed, 19 insertions(+), 16 deletions(-) create mode 100644 tools/testing/selftests/memfd/config ----------------------------------------------------------------------------------- --------------4471A8F75628C17655391D4D Content-Type: text/x-patch; name="linux-kselftest-4.16-rc4.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="linux-kselftest-4.16-rc4.diff" diff --git a/tools/testing/selftests/android/Makefile b/tools/testing/sel= ftests/android/Makefile index 1a7492268993..f6304d2be90c 100644 --- a/tools/testing/selftests/android/Makefile +++ b/tools/testing/selftests/android/Makefile @@ -11,11 +11,11 @@ all: BUILD_TARGET=3D$(OUTPUT)/$$DIR; \ mkdir $$BUILD_TARGET -p; \ make OUTPUT=3D$$BUILD_TARGET -C $$DIR $@;\ - #SUBDIR test prog name should be in the form: SUBDIR_test.sh + #SUBDIR test prog name should be in the form: SUBDIR_test.sh \ TEST=3D$$DIR"_test.sh"; \ - if [ -e $$DIR/$$TEST ]; then - rsync -a $$DIR/$$TEST $$BUILD_TARGET/; - fi + if [ -e $$DIR/$$TEST ]; then \ + rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \ + fi \ done =20 override define RUN_TESTS diff --git a/tools/testing/selftests/futex/Makefile b/tools/testing/selft= ests/futex/Makefile index cea4adcd42b8..a63e8453984d 100644 --- a/tools/testing/selftests/futex/Makefile +++ b/tools/testing/selftests/futex/Makefile @@ -12,9 +12,9 @@ all: BUILD_TARGET=3D$(OUTPUT)/$$DIR; \ mkdir $$BUILD_TARGET -p; \ make OUTPUT=3D$$BUILD_TARGET -C $$DIR $@;\ - if [ -e $$DIR/$(TEST_PROGS) ]; then - rsync -a $$DIR/$(TEST_PROGS) $$BUILD_TARGET/; - fi + if [ -e $$DIR/$(TEST_PROGS) ]; then \ + rsync -a $$DIR/$(TEST_PROGS) $$BUILD_TARGET/; \ + fi \ done =20 override define RUN_TESTS diff --git a/tools/testing/selftests/memfd/config b/tools/testing/selftes= ts/memfd/config new file mode 100644 index 000000000000..835c7f4dadcd --- /dev/null +++ b/tools/testing/selftests/memfd/config @@ -0,0 +1 @@ +CONFIG_FUSE_FS=3Dm diff --git a/tools/testing/selftests/memory-hotplug/Makefile b/tools/test= ing/selftests/memory-hotplug/Makefile index 86636d207adf..183b46883875 100644 --- a/tools/testing/selftests/memory-hotplug/Makefile +++ b/tools/testing/selftests/memory-hotplug/Makefile @@ -4,7 +4,7 @@ all: include ../lib.mk =20 TEST_PROGS :=3D mem-on-off-test.sh -override RUN_TESTS :=3D ./mem-on-off-test.sh -r 2 && echo "selftests: me= mory-hotplug [PASS]" || echo "selftests: memory-hotplug [FAIL]" +override RUN_TESTS :=3D @./mem-on-off-test.sh -r 2 && echo "selftests: m= emory-hotplug [PASS]" || echo "selftests: memory-hotplug [FAIL]" override EMIT_TESTS :=3D echo "$(RUN_TESTS)" =20 run_full_test: diff --git a/tools/testing/selftests/pstore/config b/tools/testing/selfte= sts/pstore/config index 6a8e5a9bfc10..d148f9f89fb6 100644 --- a/tools/testing/selftests/pstore/config +++ b/tools/testing/selftests/pstore/config @@ -2,3 +2,4 @@ CONFIG_MISC_FILESYSTEMS=3Dy CONFIG_PSTORE=3Dy CONFIG_PSTORE_PMSG=3Dy CONFIG_PSTORE_CONSOLE=3Dy +CONFIG_PSTORE_RAM=3Dm diff --git a/tools/testing/selftests/sync/Makefile b/tools/testing/selfte= sts/sync/Makefile index b3c8ba3cb668..d0121a8a3523 100644 --- a/tools/testing/selftests/sync/Makefile +++ b/tools/testing/selftests/sync/Makefile @@ -30,7 +30,7 @@ $(TEST_CUSTOM_PROGS): $(TESTS) $(OBJS) $(CC) -o $(TEST_CUSTOM_PROGS) $(OBJS) $(TESTS) $(CFLAGS) $(LDFLAGS) =20 $(OBJS): $(OUTPUT)/%.o: %.c - $(CC) -c $^ -o $@ + $(CC) -c $^ -o $@ $(CFLAGS) =20 $(TESTS): $(OUTPUT)/%.o: %.c $(CC) -c $^ -o $@ diff --git a/tools/testing/selftests/vDSO/Makefile b/tools/testing/selfte= sts/vDSO/Makefile index 3d5a62ff7d31..f5d7a7851e21 100644 --- a/tools/testing/selftests/vDSO/Makefile +++ b/tools/testing/selftests/vDSO/Makefile @@ -1,4 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 +include ../lib.mk + ifndef CROSS_COMPILE CFLAGS :=3D -std=3Dgnu99 CFLAGS_vdso_standalone_test_x86 :=3D -nostdlib -fno-asynchronous-unwind-= tables -fno-stack-protector @@ -6,16 +8,14 @@ ifeq ($(CONFIG_X86_32),y) LDLIBS +=3D -lgcc_s endif =20 -TEST_PROGS :=3D vdso_test vdso_standalone_test_x86 +TEST_PROGS :=3D $(OUTPUT)/vdso_test $(OUTPUT)/vdso_standalone_test_x86 =20 all: $(TEST_PROGS) -vdso_test: parse_vdso.c vdso_test.c -vdso_standalone_test_x86: vdso_standalone_test_x86.c parse_vdso.c +$(OUTPUT)/vdso_test: parse_vdso.c vdso_test.c +$(OUTPUT)/vdso_standalone_test_x86: vdso_standalone_test_x86.c parse_vds= o.c $(CC) $(CFLAGS) $(CFLAGS_vdso_standalone_test_x86) \ vdso_standalone_test_x86.c parse_vdso.c \ - -o vdso_standalone_test_x86 + -o $@ =20 -include ../lib.mk -clean: - rm -fr $(TEST_PROGS) +EXTRA_CLEAN :=3D $(TEST_PROGS) endif diff --git a/tools/testing/selftests/vm/.gitignore b/tools/testing/selfte= sts/vm/.gitignore index 63c94d776e89..342c7bc9dc8c 100644 --- a/tools/testing/selftests/vm/.gitignore +++ b/tools/testing/selftests/vm/.gitignore @@ -11,3 +11,4 @@ mlock-intersect-test mlock-random-test virtual_address_range gup_benchmark +va_128TBswitch --------------4471A8F75628C17655391D4D--