OSDN Git Service

maint: remove now-unused fat-related functions
[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   t0203-gpt-shortened-device-primary-valid.sh \
19   t0205-gpt-list-clobbers-pmbr.sh \
20   t0206-gpt-print-with-corrupt-primary-clobbers-pmbr.sh \
21   t0207-IEC-binary-notation.sh \
22   t0208-mkpart-end-in-IEC.sh \
23   t0209-gpt-pmbr_boot.sh \
24   t0210-gpt-resized-partition-entry-array.sh \
25   t0211-gpt-rewrite-header.sh \
26   t0212-gpt-many-partitions.sh \
27   t0220-gpt-msftres.sh \
28   t0250-gpt.sh \
29   t0280-gpt-corrupt.sh \
30   t0300-dos-on-gpt.sh \
31   t0400-loop-clobber-infloop.sh \
32   t0500-dup-clobber.sh \
33   t0501-duplicate.sh \
34   t1100-busy-label.sh \
35   t1101-busy-partition.sh \
36   t1700-probe-fs.sh \
37   t2200-dos-label-recog.sh \
38   t2201-pc98-label-recog.sh \
39   t2300-dos-label-extended-bootcode.sh \
40   t2310-dos-extended-2-sector-min-offset.sh \
41   t2400-dos-hfs-partition-type.sh \
42   t2500-probe-corrupt-hfs.sh \
43   t3200-type-change.sh \
44   t3300-palo-prep.sh \
45   t3310-flags.sh \
46   t3400-whole-disk-FAT-partition.sh \
47   t4000-sun-raid-type.sh \
48   t4001-sun-vtoc.sh \
49   t4100-msdos-partition-limits.sh \
50   t4100-dvh-partition-limits.sh \
51   t4100-msdos-starting-sector.sh \
52   t4200-partprobe.sh \
53   t4300-nilfs2-tiny.sh \
54   t5000-tags.sh \
55   t6000-dm.sh \
56   t6001-psep.sh \
57   t6100-mdraid-partitions.sh \
58   t7000-scripting.sh \
59   t8000-loop.sh \
60   t8001-loop-blkpg.sh \
61   t9010-big-sector.sh \
62   t9020-alignment.sh \
63   t9021-maxima.sh \
64   t9022-one-unit-snap.sh \
65   t9023-value-lt-one.sh \
66   t9030-align-check.sh \
67   t9040-many-partitions.sh \
68   t9041-undetected-in-use-16th-partition.sh \
69   t9042-dos-partition-limit.sh \
70   t9050-partition-table-types.sh
71
72 EXTRA_DIST = \
73   $(TESTS) lvm-utils.sh t-local.sh t-lvm.sh \
74   init.cfg init.sh t-lib-helpers.sh gpt-header-munge
75
76 check_PROGRAMS = print-align print-max dup-clobber duplicate
77 LDADD = \
78   $(top_builddir)/libparted/libparted.la
79 AM_CPPFLAGS = \
80   -I$(top_srcdir)/lib \
81   -I$(top_builddir)/include \
82   -I$(top_srcdir)/include
83 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
84
85 parted_dir = $(abs_top_builddir)/parted
86 pp_dir = $(abs_top_builddir)/partprobe
87 sep = $(PATH_SEPARATOR)
88
89 # Note that the first lines are statements.  They ensure that environment
90 # variables that can perturb tests are unset or set to expected values.
91 # The rest are envvar settings that propagate build-related Makefile
92 # variables to test scripts.
93 TESTS_ENVIRONMENT =                             \
94   tmp__=$$TMPDIR; test -d "$$tmp__" || tmp__=.; \
95   TMPDIR=$$tmp__; export TMPDIR;                \
96   export                                        \
97   abs_top_builddir='$(abs_top_builddir)'        \
98   abs_top_srcdir='$(abs_top_srcdir)'            \
99   abs_srcdir='$(abs_srcdir)'                    \
100   built_programs=parted                         \
101   srcdir='$(srcdir)'                            \
102   top_srcdir='$(top_srcdir)'                    \
103   AWK='$(AWK)'                                  \
104   CC='$(CC)'                                    \
105   MAKE=$(MAKE)                                  \
106   PACKAGE_BUGREPORT='$(PACKAGE_BUGREPORT)'      \
107   PACKAGE_VERSION=$(PACKAGE_VERSION)            \
108   CONFIG_HEADER='$(abs_top_builddir)/lib/config.h' \
109   ENABLE_DEVICE_MAPPER=$(ENABLE_DEVICE_MAPPER)  \
110   PARTED_TEST_NAME=`basename '$(abs_srcdir)'`,`echo $$tst|sed 's,^\./,,;s,/,-,g'`\
111   PERL='$(PERL)'                                \
112   PREFERABLY_POSIX_SHELL='$(PREFERABLY_POSIX_SHELL)' \
113   REPLACE_GETCWD=$(REPLACE_GETCWD)              \
114   PATH='$(abs_top_builddir)/parted$(PATH_SEPARATOR)'"$$PATH" \
115   VERSION=$(VERSION)                            \
116   ; 9>&2
117
118 VERBOSE = yes