4063N/A#
4063N/A# CDDL HEADER START
4063N/A#
4063N/A# The contents of this file are subject to the terms of the
4063N/A# Common Development and Distribution License (the "License").
4063N/A# You may not use this file except in compliance with the License.
4063N/A#
4063N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4063N/A# or http://www.opensolaris.org/os/licensing.
4063N/A# See the License for the specific language governing permissions
4063N/A# and limitations under the License.
4063N/A#
4063N/A# When distributing Covered Code, include this CDDL HEADER in each
4063N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4063N/A# If applicable, add the following below this CDDL HEADER, with the
4063N/A# fields enclosed by brackets "[]" replaced with your own identifying
4063N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4063N/A#
4063N/A# CDDL HEADER END
4063N/A#
4063N/A
4063N/A#
5680N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
4063N/A#
5680N/ABUILD_BITS= 64_and_32
4063N/Ainclude ../../make-rules/shared-macros.mk
4063N/A
4063N/ACOMPONENT_NAME= check
5963N/ACOMPONENT_VERSION= 0.10.0
5963N/ACOMPONENT_PROJECT_URL= https://libcheck.github.io/check
4063N/ACOMPONENT_ARCHIVE_HASH= \
5963N/A sha256:f5f50766aa6f8fe5a2df752666ca01a950add45079aa06416b83765b1cf71052
5963N/ACOMPONENT_ARCHIVE_URL= https://github.com/libcheck/$(COMPONENT_NAME)/files/71408/$(COMPONENT_ARCHIVE)
4063N/A
5963N/ATPNO= 28147
4063N/A
5680N/ASYSTEM_TEST_TARGET= configure $(SYSTEM_TEST_32_and_64)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
4063N/A
4063N/A# Several tests fail when the Studio compiler is used.
4063N/ACOMPILER = gcc
4063N/A
5177N/A# Override tests in m4/acx_pthread.m4 that try to set obsolete/incompatible
5177N/A# flags for linking threaded code on Solaris.
5177N/APTHREAD_CFLAGS = -D__EXTENSIONS__
5177N/Aifeq ($(BUILD_TYPE), evaluation)
5177N/A# No longer needed on S12 due to PSARC/2014/019, but still needed on S11
5177N/APTHREAD_CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
5177N/Aendif
5177N/ACONFIGURE_OPTIONS += PTHREAD_CFLAGS="$(PTHREAD_CFLAGS)"
5177N/ACONFIGURE_OPTIONS += PTHREAD_LIBS="-lc"
5177N/A
4063N/A# Master test results are the same for 32-bit and 64-bit, so override
4063N/A# here, rather than create multiple identical master files.
4063N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
4063N/A
4745N/ACOMPONENT_TEST_TRANSFORMS += \
4745N/A '-n ' \
4745N/A '-e "/passed/p" ' \
4745N/A '-e "/failed/p" ' \
4745N/A '-e "/Checks:/p" ' \
4745N/A '-e "/Total:/p" ' \
4745N/A '-e "/Passed/p" ' \
4745N/A '-e "/Failed/p" ' \
4745N/A '-e "/Failure expected/p" ' \
4745N/A '-e "/SKIP/p" ' \
4745N/A '-e "/PASS/p" ' \
4745N/A '-e "/FAIL/p" '
4745N/A
5680N/ACOMPONENT_SYSTEM_TEST_ENV = CHECKMK_SCRIPT=$(USRBINDIR)/checkmk
4745N/A
4063N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
4063N/A
4063N/AREQUIRED_PACKAGES += system/library/math
4063N/AREQUIRED_PACKAGES += text/gawk