]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mtd: tests: rename sources in order to link a helper object
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 3 Aug 2013 09:52:08 +0000 (18:52 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:34:06 +0000 (21:34 +0100)
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>
drivers/mtd/tests/Makefile
drivers/mtd/tests/nandbiterrs.c [moved from drivers/mtd/tests/mtd_nandbiterrs.c with 100% similarity]
drivers/mtd/tests/oobtest.c [moved from drivers/mtd/tests/mtd_oobtest.c with 100% similarity]
drivers/mtd/tests/pagetest.c [moved from drivers/mtd/tests/mtd_pagetest.c with 100% similarity]
drivers/mtd/tests/readtest.c [moved from drivers/mtd/tests/mtd_readtest.c with 100% similarity]
drivers/mtd/tests/speedtest.c [moved from drivers/mtd/tests/mtd_speedtest.c with 100% similarity]
drivers/mtd/tests/stresstest.c [moved from drivers/mtd/tests/mtd_stresstest.c with 100% similarity]
drivers/mtd/tests/subpagetest.c [moved from drivers/mtd/tests/mtd_subpagetest.c with 100% similarity]
drivers/mtd/tests/torturetest.c [moved from drivers/mtd/tests/mtd_torturetest.c with 100% similarity]

index bd0065c0d359f7e207523ca06f2aa0221dc78fad..937a829bb70111c4e44ad110b9d9dc029f0b8d94 100644 (file)
@@ -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