From a995c792280db558f994c253c1c3c3a55977d529 Mon Sep 17 00:00:00 2001 From: Akinobu Mita Date: Sat, 3 Aug 2013 18:52:08 +0900 Subject: [PATCH] mtd: tests: rename sources in order to link a helper object Each mtd test module have a single source whose name is the same as the module name. In order to link a single object including helper functions to every test module, this rename these sources to the different names. Signed-off-by: Akinobu Mita Cc: Brian Norris Cc: Vikram Narayanan Cc: Adrian Hunter Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- drivers/mtd/tests/Makefile | 9 +++++++++ drivers/mtd/tests/{mtd_nandbiterrs.c => nandbiterrs.c} | 0 drivers/mtd/tests/{mtd_oobtest.c => oobtest.c} | 0 drivers/mtd/tests/{mtd_pagetest.c => pagetest.c} | 0 drivers/mtd/tests/{mtd_readtest.c => readtest.c} | 0 drivers/mtd/tests/{mtd_speedtest.c => speedtest.c} | 0 drivers/mtd/tests/{mtd_stresstest.c => stresstest.c} | 0 drivers/mtd/tests/{mtd_subpagetest.c => subpagetest.c} | 0 drivers/mtd/tests/{mtd_torturetest.c => torturetest.c} | 0 9 files changed, 9 insertions(+) rename drivers/mtd/tests/{mtd_nandbiterrs.c => nandbiterrs.c} (100%) rename drivers/mtd/tests/{mtd_oobtest.c => oobtest.c} (100%) rename drivers/mtd/tests/{mtd_pagetest.c => pagetest.c} (100%) rename drivers/mtd/tests/{mtd_readtest.c => readtest.c} (100%) rename drivers/mtd/tests/{mtd_speedtest.c => speedtest.c} (100%) rename drivers/mtd/tests/{mtd_stresstest.c => stresstest.c} (100%) rename drivers/mtd/tests/{mtd_subpagetest.c => subpagetest.c} (100%) rename drivers/mtd/tests/{mtd_torturetest.c => torturetest.c} (100%) diff --git a/drivers/mtd/tests/Makefile b/drivers/mtd/tests/Makefile index bd0065c0d359..937a829bb701 100644 --- a/drivers/mtd/tests/Makefile +++ b/drivers/mtd/tests/Makefile @@ -7,3 +7,12 @@ obj-$(CONFIG_MTD_TESTS) += mtd_subpagetest.o obj-$(CONFIG_MTD_TESTS) += mtd_torturetest.o obj-$(CONFIG_MTD_TESTS) += mtd_nandecctest.o obj-$(CONFIG_MTD_TESTS) += mtd_nandbiterrs.o + +mtd_oobtest-objs := oobtest.o mtd_test.o +mtd_pagetest-objs := pagetest.o mtd_test.o +mtd_readtest-objs := readtest.o mtd_test.o +mtd_speedtest-objs := speedtest.o mtd_test.o +mtd_stresstest-objs := stresstest.o mtd_test.o +mtd_subpagetest-objs := subpagetest.o mtd_test.o +mtd_torturetest-objs := torturetest.o mtd_test.o +mtd_nandbiterrs-objs := nandbiterrs.o mtd_test.o diff --git a/drivers/mtd/tests/mtd_nandbiterrs.c b/drivers/mtd/tests/nandbiterrs.c similarity index 100% rename from drivers/mtd/tests/mtd_nandbiterrs.c rename to drivers/mtd/tests/nandbiterrs.c diff --git a/drivers/mtd/tests/mtd_oobtest.c b/drivers/mtd/tests/oobtest.c similarity index 100% rename from drivers/mtd/tests/mtd_oobtest.c rename to drivers/mtd/tests/oobtest.c diff --git a/drivers/mtd/tests/mtd_pagetest.c b/drivers/mtd/tests/pagetest.c similarity index 100% rename from drivers/mtd/tests/mtd_pagetest.c rename to drivers/mtd/tests/pagetest.c diff --git a/drivers/mtd/tests/mtd_readtest.c b/drivers/mtd/tests/readtest.c similarity index 100% rename from drivers/mtd/tests/mtd_readtest.c rename to drivers/mtd/tests/readtest.c diff --git a/drivers/mtd/tests/mtd_speedtest.c b/drivers/mtd/tests/speedtest.c similarity index 100% rename from drivers/mtd/tests/mtd_speedtest.c rename to drivers/mtd/tests/speedtest.c diff --git a/drivers/mtd/tests/mtd_stresstest.c b/drivers/mtd/tests/stresstest.c similarity index 100% rename from drivers/mtd/tests/mtd_stresstest.c rename to drivers/mtd/tests/stresstest.c diff --git a/drivers/mtd/tests/mtd_subpagetest.c b/drivers/mtd/tests/subpagetest.c similarity index 100% rename from drivers/mtd/tests/mtd_subpagetest.c rename to drivers/mtd/tests/subpagetest.c diff --git a/drivers/mtd/tests/mtd_torturetest.c b/drivers/mtd/tests/torturetest.c similarity index 100% rename from drivers/mtd/tests/mtd_torturetest.c rename to drivers/mtd/tests/torturetest.c -- 2.30.2