forked from DracoBlue/pp-nginx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
26 lines (17 loc) · 940 Bytes
/
Makefile
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
help:
@echo "Possible targets:"
@echo " test - build all test suites"
@exit 0
test-update-required-modules:
@make test-ensure-required-modules
@cd tests/modules/stdlib && git pull origin master
@cd tests/modules/concat && git pull origin master
test-ensure-required-modules:
@if [ ! -d tests/modules/stdlib ]; then cd tests/modules; wget -q https://forgeapi.puppetlabs.com/v3/files/puppetlabs-stdlib-4.1.0.tar.gz && tar -zxf puppetlabs-stdlib-* && rm puppetlabs-stdlib-*.tar.gz && mv puppetlabs-stdlib-* stdlib; cd ../../; fi
@if [ ! -d tests/modules/concat ]; then cd tests/modules; wget -q https://forgeapi.puppetlabs.com/v3/files/puppetlabs-concat-1.0.2.tar.gz && tar -zxf puppetlabs-concat-* && rm puppetlabs-concat-*.tar.gz && mv puppetlabs-concat-* concat; cd ../../; fi
test:
@echo "Execute all Tests"
@make test-ensure-required-modules
sudo ./bin/run_tests_unix
.PHONY: test help
# vim: ts=4:sw=4:noexpandtab!: