summaryrefslogtreecommitdiffstats
path: root/cts/Makefile.am
blob: a2e67384e73eab04659994e7e42a4e69c214c4c1 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#
# Copyright 2001-2023 the Pacemaker project contributors
#
# The version control history for this file may have further details.
#
# This source code is licensed under the GNU General Public License version 2
# or later (GPLv2+) WITHOUT ANY WARRANTY.
#

MAINTAINERCLEANFILES    = Makefile.in

# Test commands and globally applicable test files should be in $(testdir),
# and command-specific test data should be in a command-specific subdirectory.
testdir			= $(datadir)/$(PACKAGE)/tests
test_SCRIPTS		= cts-attrd \
			  cts-cli		\
			  cts-exec		\
			  cts-fencing		\
			  cts-regression	\
			  cts-scheduler
dist_test_DATA		= README.md			\
			  valgrind-pcmk.suppressions

ctsdir		= 	$(testdir)/cts
cts_SCRIPTS		= lxc_autogen.sh

clidir		= $(testdir)/cli
dist_cli_DATA	= cli/constraints.xml 				\
		  cli/crmadmin-cluster-remote-guest-nodes.xml	\
		  cli/crm_diff_new.xml				\
		  cli/crm_diff_old.xml				\
		  cli/crm_mon.xml				\
		  cli/crm_mon-feature_set.xml			\
		  cli/crm_mon-partial.xml			\
		  cli/crm_mon-rsc-maint.xml			\
		  cli/crm_mon-T180.xml				\
		  cli/crm_mon-unmanaged.xml			\
		  cli/crm_resource_digests.xml			\
		  cli/regression.acls.exp			\
		  cli/regression.crm_mon.exp			\
		  cli/regression.daemons.exp			\
		  cli/regression.dates.exp			\
		  cli/regression.error_codes.exp		\
		  cli/regression.feature_set.exp		\
		  cli/regression.rules.exp			\
		  cli/regression.tools.exp			\
		  cli/regression.upgrade.exp			\
		  cli/regression.validity.exp			\
		  cli/regression.access_render.exp

scheduler-list:
	@for T in "$(srcdir)"/scheduler/xml/*.xml; do       \
		echo $$(basename $$T .xml);             \
	done

CLEANFILES	= $(builddir)/.regression.failed.diff

clean-local:
	rm -f scheduler/*/*.pe

SUBDIRS	= benchmark lab scheduler support

cts-support-install:
	$(MAKE) $(AM_MAKEFLAGS) -C support cts-support
	$(builddir)/support/cts-support install

cts-support-uninstall:
	$(MAKE) $(AM_MAKEFLAGS) -C support cts-support
	$(builddir)/support/cts-support uninstall