commit | a995c792280db558f994c253c1c3c3a55977d529 | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Sat Aug 03 18:52:08 2013 +0900 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Fri Aug 30 21:34:06 2013 +0100 |
tree | 7555f07ffad35a5dbb216a4a03eb11efdc5e35a3 | |
parent | 084db4b020c7bb7f4169ae74fb9a685c30a2939d [diff] |
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 <akinobu.mita@gmail.com> Cc: Brian Norris <computersforpeace@gmail.com> Cc: Vikram Narayanan <vikram186@gmail.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
diff --git a/drivers/mtd/tests/Makefile b/drivers/mtd/tests/Makefile index bd0065c0..937a829 100644 --- a/drivers/mtd/tests/Makefile +++ b/drivers/mtd/tests/Makefile
@@ -7,3 +7,12 @@ 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