Makefile revision 4078
341N/A# The contents of this file are subject to the terms of the 910N/A# Common Development and Distribution License (the "License"). 810N/A# You may not use this file except in compliance with the License. 919N/A# See the License for the specific language governing permissions 919N/A# and limitations under the License. 919N/A# When distributing Covered Code, include this CDDL HEADER in each 919N/A# If applicable, add the following below this CDDL HEADER, with the 919N/A# fields enclosed by brackets "[]" replaced with your own identifying 919N/A# information: Portions Copyright [yyyy] [name of copyright owner] 919N/A# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. 341N/A# Used to automatically run the Python 2.6 nose tests even though there was 392N/A# an error found when running one of the Python 2.7 ones. 812N/A# Save an original copy of the test script to be able to edit it correctly 688N/A# for each version of Python and build the tests once. 688N/A# We need to adjust the script that is used to run the tests, to pick the 688N/A# appropriate nose in the proto area depending upon which version of Python 688N/A# we are running the tests against. 688N/A $(GSED) -e
"s|'build', 'lib\*'|'..', 'build', 'prototype', '$(MACH)', 'usr', 'lib', 'python$(PYTHON_VERSION)', 'vendor-packages\*'|" \
688N/A# The test output can contain non-deterministic results because "chances are 688N/A# you will experience odd, intermittent and unexplainable failures and errors" 688N/A# when using the multiprocess plug. See: 688N/A# CR #20470423 has been filed to investigate these failures. 688N/A# Because of this we use nawk to just extract lines starting with: 688N/A# stripping out the random portions (like time to complete the tests). 851N/ACOMPONENT_TEST_TRANSFORMS =
"'/^ERROR: / { print }; /^Ran / { sub(\" tests in .+s\", \" tests in\"); print }; /^FAILED / { print }; /^OK / { print };'"