summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2014-05-08 14:17:07 -0400
committerBill Peck <bpeck@redhat.com>2014-05-08 14:17:07 -0400
commitcf30141c3787138d99feaefc981db48a518e6f1d (patch)
treebe7a1879791f0921c98c335c693e20ce5710427b
parent64218eda5f5ff105995b9451610fe221b4b513cf (diff)
downloadtests-cf30141c3787138d99feaefc981db48a518e6f1d.tar.gz
tests-cf30141c3787138d99feaefc981db48a518e6f1d.tar.xz
tests-cf30141c3787138d99feaefc981db48a518e6f1d.zip
Add Makefile so I can add it to beaker
-rw-r--r--distribution/reservesys/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/distribution/reservesys/Makefile b/distribution/reservesys/Makefile
new file mode 100644
index 0000000..d08b142
--- /dev/null
+++ b/distribution/reservesys/Makefile
@@ -0,0 +1,42 @@
+# Include global Makefile targets
+include /usr/share/rhts/lib/rhts-make.include
+
+# The toplevel namespace within which the test lives.
+TOPLEVEL_NAMESPACE=/restraint
+
+# The path of the test below the package:
+RELATIVE_PATH=reservesys
+
+export TESTVERSION=4.0
+
+export TEST=$(TOPLEVEL_NAMESPACE)/$(RELATIVE_PATH)
+
+METADATA=testinfo.desc
+
+# built executables should be added here
+BUILT_FILES=$(METADATA)
+
+FILES=$(BUILT_FILES) \
+ reservesys.sh \
+ recipe_status \
+ metadata
+
+clean:
+ rm -rf ./mnt
+ rm -f *~ $(BUILT_FILES)
+
+# Generate the testinfo.desc here:
+$(METADATA): Makefile
+ @touch $(METADATA)
+ @echo "Owner: Bill Peck <bpeck@redhat.com>" > $(METADATA)
+ @echo "Name: $(TEST)" >> $(METADATA)
+ @echo "Path: $(TEST_DIR)" >> $(METADATA)
+ @echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
+ @echo "Description: Reserves system for specific time frame" >> $(METADATA)
+ @echo "TestTime: 24h" >> $(METADATA)
+ @echo "Priority: Manual" >> $(METADATA)
+ @echo "Requires: emacs" >> $(METADATA)
+ @echo "Requires: vim-enhanced" >> $(METADATA)
+ @echo "Requires: sendmail" >> $(METADATA)
+ @echo "Requires: psmisc" >> $(METADATA)
+ @echo "License: GPLv2+" >> $(METADATA)