#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
# Depends on twisted, which is not Python 3 ready.
# Master test results are the same for all versions of Python, so override
# here, rather than create multiple identical master files.
# Use nawk to just extract lines:
# containing "[OK]" or "[ERROR]"
# starting with "Ran . tests in"
# starting with "FAILED" or "PASSED"
# and stripping out the random portions (like time to complete the tests).
COMPONENT_TEST_TRANSFORMS = "'/\[ERROR\]/ { print }; /\[OK\]/ { print }; /^Ran / { sub(\" tests in .+s\", \" tests in\"); print }; /^FAILED / { print }; /^PASSED / { print };'"
build: $(BUILD_NO_ARCH)
test: $(TEST_NO_ARCH)
system-test: $(SYSTEM_TEST_NO_ARCH)