Blame gettext-tests/Makefile

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