OSDN Git Service

Add partition separator only when required
[android-x86/external-parted.git] / tests / Makefile.am
1 XFAIL_TESTS = \
2   t3200-type-change.sh
3
4 TEST_EXTENSIONS = .sh
5 SH_LOG_COMPILER = $(SHELL)
6
7 TESTS = \
8   help-version.sh \
9   t0000-basic.sh \
10   t0001-tiny.sh \
11   t0010-script-no-ctrl-chars.sh \
12   t0100-print.sh \
13   t0101-print-empty.sh \
14   t0200-gpt.sh \
15   t0201-gpt.sh \
16   t0202-gpt-pmbr.sh \
17   t0203-gpt-tiny-device-abort.sh \
18   t0205-gpt-list-clobbers-pmbr.sh \
19   t0206-gpt-print-with-corrupt-primary-clobbers-pmbr.sh \
20   t0207-IEC-binary-notation.sh \
21   t0208-mkpart-end-in-IEC.sh \
22   t0210-gpt-resized-partition-entry-array.sh \
23   t0220-gpt-msftres.sh \
24   t0250-gpt.sh \
25   t0280-gpt-corrupt.sh \
26   t0300-dos-on-gpt.sh \
27   t0400-loop-clobber-infloop.sh \
28   t0500-dup-clobber.sh \
29   t0501-duplicate.sh \
30   t1100-busy-label.sh \
31   t1101-busy-partition.sh \
32   t1700-probe-fs.sh \
33   t2200-dos-label-recog.sh \
34   t2201-pc98-label-recog.sh \
35   t2300-dos-label-extended-bootcode.sh \
36   t2310-dos-extended-2-sector-min-offset.sh \
37   t2400-dos-hfs-partition-type.sh \
38   t2500-probe-corrupt-hfs.sh \
39   t3200-type-change.sh \
40   t3300-palo-prep.sh \
41   t3310-flags.sh \
42   t3400-whole-disk-FAT-partition.sh \
43   t4000-sun-raid-type.sh \
44   t4001-sun-vtoc.sh \
45   t4100-msdos-partition-limits.sh \
46   t4100-dvh-partition-limits.sh \
47   t4100-msdos-starting-sector.sh \
48   t4200-partprobe.sh \
49   t4300-nilfs2-tiny.sh \
50   t5000-tags.sh \
51   t6000-dm.sh \
52   t6001-psep.sh \
53   t6100-mdraid-partitions.sh \
54   t7000-scripting.sh \
55   t8000-loop.sh \
56   t8001-loop-blkpg.sh \
57   t9010-big-sector.sh \
58   t9020-alignment.sh \
59   t9021-maxima.sh \
60   t9022-one-unit-snap.sh \
61   t9023-value-lt-one.sh \
62   t9030-align-check.sh \
63   t9040-many-partitions.sh \
64   t9041-undetected-in-use-16th-partition.sh \
65   t9050-partition-table-types.sh
66
67 EXTRA_DIST = \
68   $(TESTS) lvm-utils.sh t-local.sh t-lvm.sh \
69   init.cfg init.sh t-lib-helpers.sh gpt-header-munge
70
71 check_PROGRAMS = print-align print-max dup-clobber duplicate
72 LDADD = \
73   $(top_builddir)/libparted/libparted.la
74 AM_CPPFLAGS = \
75   -I$(top_srcdir)/lib \
76   -I$(top_srcdir)/include
77 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
78
79 parted_dir = $(abs_top_builddir)/parted
80 pp_dir = $(abs_top_builddir)/partprobe
81 sep = $(PATH_SEPARATOR)
82
83 # Note that the first lines are statements.  They ensure that environment
84 # variables that can perturb tests are unset or set to expected values.
85 # The rest are envvar settings that propagate build-related Makefile
86 # variables to test scripts.
87 TESTS_ENVIRONMENT =                             \
88   tmp__=$$TMPDIR; test -d "$$tmp__" || tmp__=.; \
89   TMPDIR=$$tmp__; export TMPDIR;                \
90   export                                        \
91   abs_top_builddir='$(abs_top_builddir)'        \
92   abs_top_srcdir='$(abs_top_srcdir)'            \
93   abs_srcdir='$(abs_srcdir)'                    \
94   built_programs=parted                         \
95   srcdir='$(srcdir)'                            \
96   top_srcdir='$(top_srcdir)'                    \
97   AWK='$(AWK)'                                  \
98   CC='$(CC)'                                    \
99   MAKE=$(MAKE)                                  \
100   PACKAGE_BUGREPORT='$(PACKAGE_BUGREPORT)'      \
101   PACKAGE_VERSION=$(PACKAGE_VERSION)            \
102   CONFIG_HEADER='$(abs_top_builddir)/lib/config.h' \
103   ENABLE_DEVICE_MAPPER=$(ENABLE_DEVICE_MAPPER)  \
104   PERL='$(PERL)'                                \
105   PREFERABLY_POSIX_SHELL='$(PREFERABLY_POSIX_SHELL)' \
106   REPLACE_GETCWD=$(REPLACE_GETCWD)              \
107   PATH='$(abs_top_builddir)/parted$(PATH_SEPARATOR)'"$$PATH" \
108   VERSION=$(VERSION)                            \
109   ; 9>&2
110
111 VERBOSE = yes