From: Shuah Khan Date: Tue, 13 Sep 2016 18:52:24 +0000 (-0600) Subject: selftests: move ia64 tests from Documentation/ia64 X-Git-Tag: v4.9-rc1~9^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b6ebbac51bedf9e98e837688bc838f400196da5e;p=thirdparty%2Fkernel%2Flinux.git selftests: move ia64 tests from Documentation/ia64 Remove ia64 from Makefile to move the test to selftests. Update ia64 Makefile to work under selftests. ia64 will not be run as part of selftests suite and will not be included in install targets. They can be built separately for now. The original Makefile built this test on all archirectures and this update doesn't change that. Acked-by: Jonathan Corbet Signed-off-by: Shuah Khan --- diff --git a/Documentation/Makefile b/Documentation/Makefile index 085b917b46953..572e9b7f37584 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -1,3 +1,3 @@ subdir-y := accounting auxdisplay blackfin \ - ia64 laptops mic misc-devices \ + laptops mic misc-devices \ networking pcmcia timers watchdog diff --git a/Documentation/ia64/Makefile b/Documentation/ia64/Makefile deleted file mode 100644 index d493163affe70..0000000000000 --- a/Documentation/ia64/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -# List of programs to build -hostprogs-y := aliasing-test - -# Tell kbuild to always build the programs -always := $(hostprogs-y) diff --git a/Documentation/ia64/.gitignore b/tools/testing/selftests/ia64/.gitignore similarity index 100% rename from Documentation/ia64/.gitignore rename to tools/testing/selftests/ia64/.gitignore diff --git a/tools/testing/selftests/ia64/Makefile b/tools/testing/selftests/ia64/Makefile new file mode 100644 index 0000000000000..2b3de2d3e9459 --- /dev/null +++ b/tools/testing/selftests/ia64/Makefile @@ -0,0 +1,8 @@ +TEST_PROGS := aliasing-test + +all: $(TEST_PROGS) + +include ../lib.mk + +clean: + rm -fr $(TEST_PROGS) diff --git a/Documentation/ia64/aliasing-test.c b/tools/testing/selftests/ia64/aliasing-test.c similarity index 100% rename from Documentation/ia64/aliasing-test.c rename to tools/testing/selftests/ia64/aliasing-test.c