File: Makefile.am

package info (click to toggle)
cfengine3 3.24.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 37,552 kB
  • sloc: ansic: 163,161; sh: 10,296; python: 2,950; makefile: 1,744; lex: 784; yacc: 633; perl: 211; pascal: 157; xml: 21; sed: 13
file content (39 lines) | stat: -rw-r--r-- 1,166 bytes parent folder | download | duplicates (3)
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
ENV_FILE=testall.env

copy:
	cp $(core_dir)/tests/acceptance/*.cf.sub .

env:
	echo export CORE=\"$(core_dir)\" > $(ENV_FILE)
if HAVE_ENTERPRISE
	echo export ENTERPRISE=\"$(enterprise_dir)\" >> $(ENV_FILE)
	echo export CFENGINE_TEST_OVERRIDE_EXTENSION_LIBRARY_DIR=\"$(enterprise_dir)/enterprise-plugin/.libs\" >> $(ENV_FILE)
endif

create-env: copy env


clean-local:
	rm -rf workdir


check-local: create-env
	MAKE=$(MAKE) ./testall

CLEANFILES  = testall.env summary.log test.log test.xml Makefile.testall
#These are created by running the submakefile
CLEANFILES += dcs.cf.sub default.cf.sub plucked.cf.sub


EXTRA_DIST  = README.md
# Distribute library subdirectory (besides .cf files)
EXTRA_DIST += lib
# Distribute all custom test packages and related files
EXTRA_DIST += 17_packages
# Distribute custom promise type tests
EXTRA_DIST += 30_custom_promise_types
# Also distribute the '.cf*' files and the testall script itself.
# TODO this should be set as a dependency to check-local, e.g. with
# check-local_SOURCE. Unfortunately I couldn't find a way so that
# automake would include these files in the dist tarball.
EXTRA_DIST += testall @MASTERFILES_TESTS@