Blame smoke/Makefile

7f89380
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7f89380
#
7f89380
#   Makefile of /CoreOS/bash/Sanity/smoke
7f89380
#   Description: Basic sanity smoke test
7f89380
#   Author: Miroslav Hradilek <mhradile@redhat.com>
7f89380
#
7f89380
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7f89380
#
7f89380
#   Copyright (c) 2012 Red Hat, Inc.
7f89380
#
7f89380
#   This program is free software: you can redistribute it and/or
7f89380
#   modify it under the terms of the GNU General Public License as
7f89380
#   published by the Free Software Foundation, either version 2 of
7f89380
#   the License, or (at your option) any later version.
7f89380
#
7f89380
#   This program is distributed in the hope that it will be
7f89380
#   useful, but WITHOUT ANY WARRANTY; without even the implied
7f89380
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
7f89380
#   PURPOSE.  See the GNU General Public License for more details.
7f89380
#
7f89380
#   You should have received a copy of the GNU General Public License
7f89380
#   along with this program. If not, see http://www.gnu.org/licenses/.
7f89380
#
7f89380
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7f89380
7f89380
export TEST=/CoreOS/bash/Sanity/smoke
7f89380
export TESTVERSION=1.0
7f89380
7f89380
BUILT_FILES=
7f89380
7f89380
FILES=$(METADATA) runtest.sh Makefile PURPOSE t_alias t_conditionals t_variables
7f89380
7f89380
.PHONY: all install download clean
7f89380
7f89380
run: $(FILES) build
7f89380
	./runtest.sh
7f89380
7f89380
build: $(BUILT_FILES)
7f89380
	test -x runtest.sh || chmod a+x runtest.sh
7f89380
7f89380
clean:
7f89380
	rm -f *~ $(BUILT_FILES)
7f89380
7f89380
7f89380
include /usr/share/rhts/lib/rhts-make.include
7f89380
7f89380
$(METADATA): Makefile
7f89380
	@echo "Owner:           Miroslav Hradilek <mhradile@redhat.com>" > $(METADATA)
7f89380
	@echo "Name:            $(TEST)" >> $(METADATA)
7f89380
	@echo "TestVersion:     $(TESTVERSION)" >> $(METADATA)
7f89380
	@echo "Path:            $(TEST_DIR)" >> $(METADATA)
7f89380
	@echo "Description:     Basic sanity smoke test" >> $(METADATA)
7f89380
	@echo "Type:            Sanity" >> $(METADATA)
7f89380
	@echo "TestTime:        5m" >> $(METADATA)
7f89380
	@echo "RunFor:          bash" >> $(METADATA)
7f89380
	@echo "Requires:        bash" >> $(METADATA)
7f89380
	@echo "Priority:        Normal" >> $(METADATA)
7f89380
	@echo "License:         GPLv2" >> $(METADATA)
7f89380
	@echo "Confidential:    no" >> $(METADATA)
7f89380
	@echo "Destructive:     no" >> $(METADATA)
7f89380
7f89380
	rhts-lint $(METADATA)