e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# CDDL HEADER START
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# The contents of this file are subject to the terms of the
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Common Development and Distribution License (the "License").
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# You may not use this file except in compliance with the License.
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt#
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt# or http://www.opensolaris.org/os/licensing.
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt# See the License for the specific language governing permissions
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt# and limitations under the License.
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt#
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt# When distributing Covered Code, include this CDDL HEADER in each
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt# If applicable, add the following below this CDDL HEADER, with the
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt# fields enclosed by brackets "[]" replaced with your own identifying
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt#
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt# CDDL HEADER END
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt#
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt#
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt#
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Huntinclude ../../../make-rules/shared-macros.mk
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan HuntCOMPONENT_NAME= fixtures
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan HuntCOMPONENT_VERSION= 1.4.0
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan HuntCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan HuntCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan HuntCOMPONENT_ARCHIVE_HASH= \
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan Hunt sha256:3e1c61753d0fafc1429591d33ad6b828a0673a200eae63dd6ac0685479db5d36
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan HuntCOMPONENT_ARCHIVE_URL= $(call pypi_url)
e4d524bd91af1083f111d3d6f3ffce61fd904425Evan HuntCOMPONENT_PROJECT_URL= https://github.com/testing-cabal/fixtures
COMPONENT_BUGDB= python-mod/fixtures
TPNO= 28000
include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/setup.py.mk
include $(WS_MAKE_RULES)/ips.mk
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
# common targets
build: $(BUILD_NO_ARCH)
install: $(INSTALL_NO_ARCH)
# Run the tests in the build directory so as not to touch the source directory.
# The tests are copied over during the build, so we don't have to do that now.
COMPONENT_TEST_DIR = $(@D)
COMPONENT_TEST_CMD = py.test-$(PYTHON_VERSION)
COMPONENT_TEST_ARGS = --result-log=$(COMPONENT_TEST_OUTPUT)
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
test: $(TEST_NO_ARCH)
system-test: $(NO_TESTS)