| |
@@ -1,34 +0,0 @@
|
| |
- export TESTVERSION=1.0
|
| |
-
|
| |
- BUILT_FILES=
|
| |
-
|
| |
- FILES=$(METADATA) runtest.sh Makefile
|
| |
-
|
| |
- .PHONY: all install clean
|
| |
-
|
| |
- run: $(FILES) build
|
| |
- ./runtest.sh
|
| |
-
|
| |
- build: $(BUILT_FILES)
|
| |
- test -x runtest.sh || chmod a+x runtest.sh
|
| |
-
|
| |
- clean:
|
| |
- rm -f *~ $(BUILT_FILES)
|
| |
-
|
| |
-
|
| |
- include /usr/share/rhts/lib/rhts-make.include
|
| |
-
|
| |
- $(METADATA): Makefile
|
| |
- @echo "Owner: Bruno Goncalves <bgoncalv@redhat.com>" > $(METADATA)
|
| |
- @echo "Name: $(TEST)" >> $(METADATA)
|
| |
- @echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
| |
- @echo "Path: $(TEST_DIR)" >> $(METADATA)
|
| |
- @echo "Description: simple rhts test role" >> $(METADATA)
|
| |
- @echo "Type: Sanity" >> $(METADATA)
|
| |
- @echo "TestTime: 10m" >> $(METADATA)
|
| |
- @echo "Priority: Normal" >> $(METADATA)
|
| |
- @echo "License: GPLv2" >> $(METADATA)
|
| |
- @echo "Confidential: no" >> $(METADATA)
|
| |
- @echo "Destructive: no" >> $(METADATA)
|
| |
-
|
| |
- rhts-lint $(METADATA)
|
| |
Instead of all the tests living in this repository, execute
them from the sourcesc tarball instead.
In order to do this, we must extract the source tarball before
we invoke the playbook. This is done by way of a local inventory
script. That inventory prepares the local host to be executing
the playbooks on the local host.