diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:16:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:16:34 +0000 |
commit | a398d2c2b5fd6ab0545d8bb019f9a970b2309404 (patch) | |
tree | 272fc7ab226258d7ceddee12c8c682c8e711c2b0 /libparted/tests/Makefile.am | |
parent | Initial commit. (diff) | |
download | parted-a398d2c2b5fd6ab0545d8bb019f9a970b2309404.tar.xz parted-a398d2c2b5fd6ab0545d8bb019f9a970b2309404.zip |
Adding upstream version 3.6.upstream/3.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libparted/tests/Makefile.am')
-rw-r--r-- | libparted/tests/Makefile.am | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libparted/tests/Makefile.am b/libparted/tests/Makefile.am new file mode 100644 index 0000000..1097743 --- /dev/null +++ b/libparted/tests/Makefile.am @@ -0,0 +1,40 @@ +# This file is part of GNU Parted +# Copyright (C) 1999-2001, 2007-2014, 2019-2023 Free Software Foundation, Inc. +# +# This file may be modified and/or distributed without restriction. + +TESTS = t1000-label.sh t1001-flags.sh t2000-disk.sh t2100-zerolen.sh \ + t3000-symlink.sh t4000-volser.sh +EXTRA_DIST = $(TESTS) +check_PROGRAMS = label disk zerolen symlink volser flags +AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) + +LDADD = \ + $(top_builddir)/libparted/libparted.la \ + $(CHECK_LIBS) \ + -lpthread + +AM_CPPFLAGS = \ + $(CHECK_CFLAGS) \ + -I$(top_srcdir)/lib \ + -I$(top_builddir)/include \ + -I$(top_srcdir)/include + +label_SOURCES = common.h common.c label.c +disk_SOURCES = common.h common.c disk.c +zerolen_SOURCES = common.h common.c zerolen.c +symlink_SOURCES = common.h common.c symlink.c +volser_SOURCES = common.h common.c volser.c +flags_SOURCES = common.h common.c flags.c + +# Arrange to symlink to tests/init.sh. +CLEANFILES = init.sh +.PHONY: prereq +prereq: + $(AM_V_GEN)ln -sf $(abs_top_srcdir)/tests/init.sh . +$(TEST_LOGS): prereq + +TESTS_ENVIRONMENT = \ + top_srcdir='$(top_srcdir)' \ + abs_top_srcdir='$(abs_top_srcdir)' \ + ENABLE_DEVICE_MAPPER=$(ENABLE_DEVICE_MAPPER) |