OSDN Git Service

tests: add one to exercise the dos/gpt seg-faulting bug
[android-x86/external-parted.git] / tests / Makefile.am
1 TESTS = \
2   t0000-basic.sh \
3   t0100-print.sh \
4   t0200-gpt.sh \
5   t0201-gpt.sh \
6   t0202-gpt-pmbr.sh \
7   t0250-gpt.sh \
8   t0300-dos-on-gpt.sh \
9   t1000-mkpartfs.sh \
10   t1100-busy-label.sh \
11   t1500-small-ext2.sh \
12   t1700-ext-probe.sh \
13   t2000-mkfs.sh \
14   t2100-mkswap.sh \
15   t2200-dos-label-recog.sh \
16   t3000-constraints.sh \
17   t3100-resize-ext2-partion.sh \
18   t4000-sun-raid-type.sh \
19   t4100-msdos-partition-limits.sh \
20   t4100-dvh-partition-limits.sh \
21   t4100-msdos-starting-sector.sh \
22   t4200-partprobe.sh \
23   t5000-tags.sh \
24   t6000-dm.sh \
25   t6001-dm-ignoremd.sh \
26   t7000-scripting.sh \
27   t8000-loop.sh
28
29 EXTRA_DIST = \
30   $(TESTS) test-lib.sh lvm-utils.sh
31
32 parted_dir = $(abs_top_builddir)/parted
33 pp_dir = $(abs_top_builddir)/partprobe
34 sep = $(PATH_SEPARATOR)
35
36 CLEANFILES = init.sh
37 all: init.sh
38 init.sh: Makefile.in
39         rm -f $@-t $@
40         echo 'PARTED_USABLE_TEST_DIR="$(PARTED_USABLE_TEST_DIR)"' > $@-t
41         echo 'abs_top_srcdir="$(abs_top_srcdir)"' >> $@-t
42         echo 'PATH="$(parted_dir)$(sep)$(pp_dir)$(sep)$$PATH"' >> $@-t
43         echo 'export PATH' >> $@-t
44         chmod a-w $@-t
45         mv $@-t $@
46
47 TESTS_ENVIRONMENT =     \
48   srcdir='$(srcdir)'    \
49   ENABLE_DEVICE_MAPPER=$(ENABLE_DEVICE_MAPPER)