summaryrefslogtreecommitdiff
path: root/tests/mtd-tests/Makemodule.am
blob: d02e9e486e99c5fa96f04fa7a16cd98ab1b0e2f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
flash_torture_SOURCES = tests/mtd-tests/flash_torture.c
flash_torture_LDADD = libmtd.a
flash_torture_CPPFLAGS = $(AM_CPPFLAGS)

flash_stress_SOURCES = tests/mtd-tests/flash_stress.c
flash_stress_LDADD = libmtd.a
flash_stress_CPPFLAGS = $(AM_CPPFLAGS)

flash_speed_SOURCES = tests/mtd-tests/flash_speed.c
flash_speed_LDADD = libmtd.a $(PTHREAD_LIBS)
flash_speed_CPPFLAGS = $(AM_CPPFLAGS)

flash_speed_LDADD += $(PTHREAD_CFLAGS)
flash_speed_CPPFLAGS += $(PTHREAD_CFLAGS)

nandbiterrs_SOURCES = tests/mtd-tests/nandbiterrs.c
nandbiterrs_LDADD = libmtd.a
nandbiterrs_CPPFLAGS = $(AM_CPPFLAGS)

flash_readtest_SOURCES = tests/mtd-tests/flash_readtest.c
flash_readtest_LDADD = libmtd.a
flash_readtest_CPPFLAGS = $(AM_CPPFLAGS)

nandpagetest_SOURCES = tests/mtd-tests/nandpagetest.c
nandpagetest_LDADD = libmtd.a
nandpagetest_CPPFLAGS = $(AM_CPPFLAGS)

nandsubpagetest_SOURCES = tests/mtd-tests/nandsubpagetest.c
nandsubpagetest_LDADD = libmtd.a
nandsubpagetest_CPPFLAGS = $(AM_CPPFLAGS)

test_PROGRAMS += \
	flash_torture flash_stress flash_speed nandbiterrs flash_readtest \
	nandpagetest nandsubpagetest