From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760720AbcIMUS6 (ORCPT ); Tue, 13 Sep 2016 16:18:58 -0400 Received: from resqmta-po-10v.sys.comcast.net ([96.114.154.169]:48528 "EHLO resqmta-po-10v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760622AbcIMUSz (ORCPT ); Tue, 13 Sep 2016 16:18:55 -0400 From: Shuah Khan To: corbet@lwn.net, richardcochran@gmail.com, wim@iguana.be, linux@roeck-us.net, nab@linux-iscsi.org, maheshkhanwalkar@gmail.com, timur@codeaurora.org, arnd@arndb.de, ghackmann@google.com, ben@decadent.org.uk, thuth@redhat.com, christopher.s.hall@intel.com, john.stultz@linaro.org, sergei.shtylyov@cogentembedded.com, mpe@ellerman.id.au, jani.nikula@linux.intel.com Cc: Shuah Khan , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH v2 0/6] Move runnable code (tests) from Documentation to selftests Date: Tue, 13 Sep 2016 14:18:39 -0600 Message-Id: X-Mailer: git-send-email 2.7.4 X-CMAE-Envelope: MS4wfNNd8bfolQPfcX0PXSd8eBJI4K8C1Xy7yYRe9vEYjP4PMJ7Tow0g7WOqX8iC3/paTTehqryxqsUW0aNiX1y799Jm6cM+FKKa89bC2vl29soY8xJOfAEn Yt/6QU5DJzL3+kxZrRPCmfIfzTxWkqSdnOlUCeBJsNi/fJeNO8KeDRDiCt03b7sOALpm4RjTkeyGufYM3fPZTcmhkXKbRKW/joxWj/uXhThpUuzvarewkpOM XCbQRhw6Z/JQpXthlT7AepZunQ10JMX3hpwgVe0gIhTFOoyWjM9u3oZ19G38QVuOFV06IVdhf+6mZ51zhgjEQV1ldz06cR6WtAZRu1JKk92MnUz1UYq3TWi7 1cQy2F2lnWbParRIeuQjIY3joDPN1Dn5wTdrTo+irRUKJiYq6/Zy+BqT4dIao6wXTYufw2uw/t5cj7wWmTRf1YcT9qwwQjH6NpZVZtMXcFP0sKmAdIqTkak7 mIx9m5Akoxd5+a1YE+i5ssA06yuRwvc05Z237FMnErIWzqeH5GrYfdTbtrxQIKPQkAl60Cm4sMWNMEMvsi8WneIOobQ7EkpHSttsruduyyOvFlmIrBlFnVgB yQ8V5kzUbael9poiqcBQyfdvWouJet2XgNnovv14GoiZchYsUBq1mf7W+sHh9HRUMADFz5lFj7DB41oartlxUPME6B0EHWYqa+awpprJM6k53TqsRUCXFP3l x4OZydocKPKZIYU79ClbJ4THgP8sURXUt95jEFToLWX87Mk3VSWNcEFnB3GS0Lbz9GLg/ae1KOCogpYVHBNtOMgeU5F+0WSNxFpCrSDJQCUXI2+vwRdW9S6K U2xfhXvHM/10P599HFa76fCvV/AA9NTN0rHt7FaH2WXPBvkt+CN6oxsYLA7fEWPtMXqfoEMror8Dz0v/OlJgu2ePiO1UY1maHv1QAwZj Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move runnable code (tests) from Documentation to selftests and update Makefiles to work under selftests. Jon Corbet and I discussed this in an email thread and as per that discussion, this patch series moves all the tests that are under the Documentation directory to selftests. There is more runnable code in the form of examples and utils and that is going to be another patch series. I moved just the tests and left the documentation files as is. Checkpatch isn't happy with a few of the patches as some of the renamed files have existing checkpatch errors and warnings. I am working another patch series that will address those. Changes since v1: - Changes to Documentation/Makefile to remove test targets as the tests get moved. - Combined patches based on Michael Ellerman's comments. - Fixed change log errors based on Sergei Shtylyov's comments. - Expanded to list to wider audience and people that responded with comments and ideas. - Included ia64 and watchdog which I missed in the v1 series. Shuah Khan (6): selftests: move dnotify_test from Documentation/filesystems selftests: move prctl tests from Documentation/prctl selftests: move ptp tests from Documentation/ptp selftests: move vDSO tests from Documentation/vDSO selftests: move ia64 tests from Documentation/ia64 selftests: move watchdog tests from Documentation/watchdog Documentation/Makefile | 4 +- Documentation/filesystems/.gitignore | 1 - Documentation/filesystems/Makefile | 5 - Documentation/filesystems/dnotify_test.c | 34 -- Documentation/ia64/.gitignore | 1 - Documentation/ia64/Makefile | 5 - Documentation/ia64/aliasing-test.c | 263 ----------- Documentation/prctl/.gitignore | 3 - Documentation/prctl/Makefile | 10 - .../prctl/disable-tsc-ctxt-sw-stress-test.c | 97 ---- .../prctl/disable-tsc-on-off-stress-test.c | 96 ---- Documentation/prctl/disable-tsc-test.c | 95 ---- Documentation/ptp/.gitignore | 1 - Documentation/ptp/Makefile | 8 - Documentation/ptp/testptp.c | 523 --------------------- Documentation/ptp/testptp.mk | 33 -- Documentation/vDSO/.gitignore | 2 - Documentation/vDSO/Makefile | 17 - Documentation/vDSO/parse_vdso.c | 269 ----------- Documentation/vDSO/vdso_standalone_test_x86.c | 128 ----- Documentation/vDSO/vdso_test.c | 52 -- Documentation/watchdog/src/.gitignore | 1 - Documentation/watchdog/src/Makefile | 2 +- Documentation/watchdog/src/watchdog-test.c | 105 ----- tools/testing/selftests/filesystems/.gitignore | 1 + tools/testing/selftests/filesystems/Makefile | 7 + tools/testing/selftests/filesystems/dnotify_test.c | 34 ++ tools/testing/selftests/ia64/.gitignore | 1 + tools/testing/selftests/ia64/Makefile | 8 + tools/testing/selftests/ia64/aliasing-test.c | 263 +++++++++++ tools/testing/selftests/prctl/.gitignore | 3 + tools/testing/selftests/prctl/Makefile | 15 + .../prctl/disable-tsc-ctxt-sw-stress-test.c | 97 ++++ .../prctl/disable-tsc-on-off-stress-test.c | 96 ++++ tools/testing/selftests/prctl/disable-tsc-test.c | 95 ++++ tools/testing/selftests/ptp/.gitignore | 1 + tools/testing/selftests/ptp/Makefile | 8 + tools/testing/selftests/ptp/testptp.c | 523 +++++++++++++++++++++ tools/testing/selftests/ptp/testptp.mk | 33 ++ tools/testing/selftests/vDSO/.gitignore | 2 + tools/testing/selftests/vDSO/Makefile | 20 + tools/testing/selftests/vDSO/parse_vdso.c | 269 +++++++++++ .../selftests/vDSO/vdso_standalone_test_x86.c | 128 +++++ tools/testing/selftests/vDSO/vdso_test.c | 52 ++ tools/testing/selftests/watchdog/.gitignore | 1 + tools/testing/selftests/watchdog/Makefile | 8 + tools/testing/selftests/watchdog/watchdog-test.c | 105 +++++ 47 files changed, 1773 insertions(+), 1752 deletions(-) delete mode 100644 Documentation/filesystems/.gitignore delete mode 100644 Documentation/filesystems/Makefile delete mode 100644 Documentation/filesystems/dnotify_test.c delete mode 100644 Documentation/ia64/.gitignore delete mode 100644 Documentation/ia64/Makefile delete mode 100644 Documentation/ia64/aliasing-test.c delete mode 100644 Documentation/prctl/.gitignore delete mode 100644 Documentation/prctl/Makefile delete mode 100644 Documentation/prctl/disable-tsc-ctxt-sw-stress-test.c delete mode 100644 Documentation/prctl/disable-tsc-on-off-stress-test.c delete mode 100644 Documentation/prctl/disable-tsc-test.c delete mode 100644 Documentation/ptp/.gitignore delete mode 100644 Documentation/ptp/Makefile delete mode 100644 Documentation/ptp/testptp.c delete mode 100644 Documentation/ptp/testptp.mk delete mode 100644 Documentation/vDSO/.gitignore delete mode 100644 Documentation/vDSO/Makefile delete mode 100644 Documentation/vDSO/parse_vdso.c delete mode 100644 Documentation/vDSO/vdso_standalone_test_x86.c delete mode 100644 Documentation/vDSO/vdso_test.c delete mode 100644 Documentation/watchdog/src/watchdog-test.c create mode 100644 tools/testing/selftests/filesystems/.gitignore create mode 100644 tools/testing/selftests/filesystems/Makefile create mode 100644 tools/testing/selftests/filesystems/dnotify_test.c create mode 100644 tools/testing/selftests/ia64/.gitignore create mode 100644 tools/testing/selftests/ia64/Makefile create mode 100644 tools/testing/selftests/ia64/aliasing-test.c create mode 100644 tools/testing/selftests/prctl/.gitignore create mode 100644 tools/testing/selftests/prctl/Makefile create mode 100644 tools/testing/selftests/prctl/disable-tsc-ctxt-sw-stress-test.c create mode 100644 tools/testing/selftests/prctl/disable-tsc-on-off-stress-test.c create mode 100644 tools/testing/selftests/prctl/disable-tsc-test.c create mode 100644 tools/testing/selftests/ptp/.gitignore create mode 100644 tools/testing/selftests/ptp/Makefile create mode 100644 tools/testing/selftests/ptp/testptp.c create mode 100644 tools/testing/selftests/ptp/testptp.mk create mode 100644 tools/testing/selftests/vDSO/.gitignore create mode 100644 tools/testing/selftests/vDSO/Makefile create mode 100644 tools/testing/selftests/vDSO/parse_vdso.c create mode 100644 tools/testing/selftests/vDSO/vdso_standalone_test_x86.c create mode 100644 tools/testing/selftests/vDSO/vdso_test.c create mode 100644 tools/testing/selftests/watchdog/.gitignore create mode 100644 tools/testing/selftests/watchdog/Makefile create mode 100644 tools/testing/selftests/watchdog/watchdog-test.c -- 2.7.4